Help needed with the tutorial (code generation section)

4 posts / 0 new
Last post
gjuhasz86
Offline
Last seen: 11 years 1 week ago
Joined: 2013-03-18 02:47
Help needed with the tutorial (code generation section)

Hi,

I'm trying to get started with OpenRTM, and started with the tutorials (c++, ubuntu 11.10). But after code generation ( http://openrtm.org/openrtm/en/node/5125 ) I couldn't continue.

Well first I couldn't generate the code at all, because the tutorial is missing a step where you set the output project. I figured that out, but the project structure is nowhere near the one on the screenshot. Which wouldn't necessarily be a problem, but the next tutorial about CMake ( http://openrtm.org/openrtm/en/node/5128 ) assumes that I have a CmakeLists.txt file, which I don't, because the code generator didn't generate one for me.

Could you help me set up the code generator to generate CMakeLists.txt file too? Or just point me to a step-by-step tutorial on creating my first project?

Ultimately I would like to be able to edit the code in eclipse (with auto-complete and all the goodies), and compile the source with cmake.

Thanks

English
gbiggs
Offline
Last seen: 6 years 9 months ago
Joined: 2010-08-02 07:51
[openrtm-beginners:00416] Tutoral

On Mar 18, 2013, at 3:23 AM, jaysicks.reg@gmail.com wrote:
> Hi, I'm trying to get started with OpenRTM, and started with the tutorials
> (c++, ubuntu 11.10). But after code generation (
> http://openrtm.org/openrtm/en/node/5125 ) I couldn't continue. Well first I
> couldn't generate the code at all, because the tutorial is missing a step
> where you set the output project. I figured that out, but the project
> structure is nowhere near the one on the screenshot. Which wouldn't
> necessarily be a problem, but the next tutorial about CMake (
> http://openrtm.org/openrtm/en/node/5128 ) assumes that I have a
> CmakeLists.txt file, which I don't, because the code generator didn't
> generate one for me. Could you help me set up the code generator to generate
> CMakeLists.txt file too? Or just point me to a step-by-step tutorial on
> creating my first project? Ultimately I would like to be able to edit the
> code in eclipse (with auto-complete and all the goodies), and compile the
> source with cmake. Thanks

Did the code generation produce any errors? Is there a CMakeLists.txt in the project's directory? Perhaps it got generated but didn't get added to the Eclipse project.

Geoff
_______________________________________________
openrtm-beginners mailing list
openrtm-beginners@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-beginners

gjuhasz86
Offline
Last seen: 11 years 1 week ago
Joined: 2013-03-18 02:47
[openrtm-beginners:00416] Tutoral

Oh.. it seems I downloaded the eclipse bundle for the 1.0.0 version.

I was following multiple tutorials, because some of the links are broken. (The install scripts on this page for example: http://openrtm.org/openrtm/en/content/110-release#toc7 ) And I didn't notice that this tutorial ( http://openrtm.org/openrtm/en/content/testing-operation-linux ) is actually for the 1.0.0 version. (It says 1.x at the top)

It might worth fixing these to avoid confusion. (If I may suggest)

But it works for me now, thank you.

Gabor

Ando Noriaki
Offline
Last seen: 1 year 9 months ago
Joined: 2011-09-04 17:20
[openrtm-beginners:00418] (無題)

Links to install scripts have been modified to correct URLs. Thanks.

2013/3/19 :
> Oh.. it seems I downloaded the eclipse bundle for the 1.0.0 version. I was
> following multiple tutorials, because some of the links are broken. (The
> install scripts on this page for example:
> http://openrtm.org/openrtm/en/content/110-release#toc7 ) And I didn't notice
> that this tutorial (
> http://openrtm.org/openrtm/en/content/testing-operation-linux ) is actually
> for the 1.0.0 version. (It says 1.x at the top) It might worth fixing these
> to avoid confusion. (If I may suggest) But it works for me now, thank you.
> Gabor
>
> _______________________________________________
> openrtm-beginners mailing list
> openrtm-beginners@openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-beginners

Log in or register to post comments

Download

latest Releases : 2.0.0-RELESE

2.0.0-RELESE Download page

Number of Projects

Choreonoid

Motion editor/Dynamics simulator

OpenHRP3

Dynamics simulator

OpenRTP

Integrated Development Platform

AIST RTC collection

RT-Components collection by AIST

TORK

Tokyo Opensource Robotics Association

DAQ-Middleware

Middleware for DAQ (Data Aquisition) by KEK