Hello,
I just installed the Orocos toolchain via ROS. I'm looking at the first exercise in the toolchain tutorial (in Eclipse). If I refer to the include paths in the project it seems like the includes e.g. rtt/os/main.h should be in usr/include or user/local/include but they are not. Instead I find them in home/ros_workspace/orocos/orocos_toolchain/. Is this a consequence of installing through ROS? Should I just add the paths manually?
Also, when trying to generate an orocos package using "rosrun ocl orocreate-pkg orocosworld", I get the following error:
[rospack] Error: stack/package ocl not found
I'm starting to think something went wrong during installation. Any help would be appreciated.
Thanks,
JML
Jason Michel Lambert
Agent de Recherche/Research Officer
Centre de Technologies de Fabrication Aérospatiale/
Aerospace Manufacturing Technology Center
Conseil National de Recherche du Canada/
National Research Council Canada
5145 Avenue Decelles
Campus de l'Université de Montréal
Montréal, Quebec, H3T-2B2
Tel: 514-283-9175
Fax: 514-283-9604
<mailto:michel [dot] lambert [..] ...>
Validating Orocos toolchain install
On Mon, Jan 28, 2013 at 10:06 PM, Lambert, Michel
<JasonMichel [dot] Lambert [..] ...> wrote:
> Hello,
>
>
>
> I just installed the Orocos toolchain via ROS. I’m looking at the first
> exercise in the toolchain tutorial (in Eclipse). If I refer to the include
> paths in the project it seems like the includes e.g. rtt/os/main.h should be
> in usr/include or user/local/include but they are not.
This is only the case if you install the Debian packages if you
generated + installed them manually from RTT and OCL.
> Instead I find them
> in home/ros_workspace/orocos/orocos_toolchain/. Is this a consequence of
> installing through ROS? Should I just add the paths manually?
Normally not. In case of ROS, use a 'make eclipse-project' in your
package to generate the eclipse project files. Then import this
project instead of the existing ones.
>
>
>
> Also, when trying to generate an orocos package using “rosrun ocl
> orocreate-pkg orocosworld”, I get the following error:
>
>
>
> [rospack] Error: stack/package ocl not found
>
>
>
> I’m starting to think something went wrong during installation. Any help
> would be appreciated.
That's theoretically impossible OCL is an unseparable part of the
Orocos Toolchain.
Which ROS release and which Ubuntu version ?
Peter
Validating Orocos toolchain install
-----Original Message-----
From: Peter Soetens [mailto:peter [..] ...]
Sent: January-28-13 4:34 PM
To: Lambert, Michel
Cc: orocos-users [..] ...
Subject: Re: [Orocos-users] Validating Orocos toolchain install
On Mon, Jan 28, 2013 at 10:06 PM, Lambert, Michel <JasonMichel [dot] Lambert [..] ...> wrote:
> Hello,
>
>
>
> I just installed the Orocos toolchain via ROS. I’m looking at the
> first exercise in the toolchain tutorial (in Eclipse). If I refer to
> the include paths in the project it seems like the includes e.g.
> rtt/os/main.h should be in usr/include or user/local/include but they are not.
This is only the case if you install the Debian packages if you generated + installed them manually from RTT and OCL.
O.k., thought so, thanks
> Instead I find them
> in home/ros_workspace/orocos/orocos_toolchain/. Is this a consequence
> of installing through ROS? Should I just add the paths manually?
Normally not. In case of ROS, use a 'make eclipse-project' in your package to generate the eclipse project files. Then import this project instead of the existing ones.
This is what I was trying to do using the command below.
>
>
>
> Also, when trying to generate an orocos package using “rosrun ocl
> orocreate-pkg orocosworld”, I get the following error:
>
>
>
> [rospack] Error: stack/package ocl not found
>
>
>
> I’m starting to think something went wrong during installation. Any
> help would be appreciated.
That's theoretically impossible OCL is an unseparable part of the Orocos Toolchain.
Which ROS release and which Ubuntu version ?
I'm running Fuerte under Ubuntu 12.04. Actually, if I run "source env.sh", the following packages are listed as "not found": utilrb, orogen, orocos_toolchain. As an aside, I noticed the command I used was taken from the RTT documentation , not from the Orocos_toolchain doc. Is this the correct command to use for creating an orocos package that can be used with ROS?
Peter
Validating Orocos toolchain install
On Tue, Jan 29, 2013 at 5:41 PM, Lambert, Michel
<JasonMichel [dot] Lambert [..] ...> wrote:
>
>
> -----Original Message-----
> From: Peter Soetens [mailto:peter [..] ...]
> Sent: January-28-13 4:34 PM
> To: Lambert, Michel
> Cc: orocos-users [..] ...
> Subject: Re: [Orocos-users] Validating Orocos toolchain install
>
> On Mon, Jan 28, 2013 at 10:06 PM, Lambert, Michel <JasonMichel [dot] Lambert [..] ...> wrote:
>> Hello,
>>
>>
>>
>> I just installed the Orocos toolchain via ROS. I’m looking at the
>> first exercise in the toolchain tutorial (in Eclipse). If I refer to
>> the include paths in the project it seems like the includes e.g.
>> rtt/os/main.h should be in usr/include or user/local/include but they are not.
>
> This is only the case if you install the Debian packages if you generated + installed them manually from RTT and OCL.
>
> O.k., thought so, thanks
>
>> Instead I find them
>> in home/ros_workspace/orocos/orocos_toolchain/. Is this a consequence
>> of installing through ROS? Should I just add the paths manually?
>
> Normally not. In case of ROS, use a 'make eclipse-project' in your package to generate the eclipse project files. Then import this project instead of the existing ones.
>
> This is what I was trying to do using the command below.
>
>>
>>
>>
>> Also, when trying to generate an orocos package using “rosrun ocl
>> orocreate-pkg orocosworld”, I get the following error:
>>
>>
>>
>> [rospack] Error: stack/package ocl not found
>>
>>
>>
>> I’m starting to think something went wrong during installation. Any
>> help would be appreciated.
>
> That's theoretically impossible OCL is an unseparable part of the Orocos Toolchain.
> Which ROS release and which Ubuntu version ?
>
> I'm running Fuerte under Ubuntu 12.04. Actually, if I run "source env.sh", the following packages are listed as "not found": utilrb, orogen, orocos_toolchain. As an aside, I noticed the command I used was taken from the RTT documentation , not from the Orocos_toolchain doc. Is this the correct command to use for creating an orocos package that can be used with ROS?
Yes.
You probably have a broken system. Could you check this:
$ ls /opt/ros/fuerte/stacks/orocos_toolchain/
CMakeLists.txt env.mk env.sh install log4cpp Makefile ocl
orogen rtt rtt_typelib stack.xml typelib utilmm utilrb
Peter
Validating Orocos toolchain install
Hello,
/opt/ros/fuerte/stacks/orocos_toolchain/ does not exist. Instead, everything is installed in the ROS workspace. I went through the installation procedure once again and I was able to do "source env.sh". Now I can generate the package using “rosrun ocl orocreate-pkg orocosworld”, and generate the eclipse project. However, when I import the project into eclipse, I get the following error:
-------------------------------------------------------------------------
Error processing changed links in project description file.
Cannot create a link to '/home/jml/fuerte_wksp/sandbox/orocosworld' because it overlaps the location of the project that contains the linked resource.
-------------------------------------------------------------------------
Incidentally, the correct include paths are in the project i.e.:
/home/jml/fuerte_wksp/orocos/orocos_toolchain/install/include
/home/jml/fuerte_wksp/orocos/orocos_toolchain/install/include/orocos
/home/jml/fuerte_wksp/orocos/orocos_toolchain/install/include/rtt/transports/corba
So apart from the error, everything seems to work fine. The tutorial exercises also seem to compile and the correct include paths are inserted after running "make eclipse-project" for them.
Thanks very much,
JML
-----Original Message-----
From: Peter Soetens [mailto:peter [..] ...]
Sent: January-29-13 3:27 PM
To: Lambert, Michel
Cc: orocos-users [..] ...
Subject: Re: [Orocos-users] Validating Orocos toolchain install
On Tue, Jan 29, 2013 at 5:41 PM, Lambert, Michel <JasonMichel [dot] Lambert [..] ...> wrote:
>
>
> -----Original Message-----
> From: Peter Soetens [mailto:peter [..] ...]
> Sent: January-28-13 4:34 PM
> To: Lambert, Michel
> Cc: orocos-users [..] ...
> Subject: Re: [Orocos-users] Validating Orocos toolchain install
>
> On Mon, Jan 28, 2013 at 10:06 PM, Lambert, Michel <JasonMichel [dot] Lambert [..] ...> wrote:
>> Hello,
>>
>>
>>
>> I just installed the Orocos toolchain via ROS. I’m looking at the
>> first exercise in the toolchain tutorial (in Eclipse). If I refer to
>> the include paths in the project it seems like the includes e.g.
>> rtt/os/main.h should be in usr/include or user/local/include but they are not.
>
> This is only the case if you install the Debian packages if you generated + installed them manually from RTT and OCL.
>
> O.k., thought so, thanks
>
>> Instead I find them
>> in home/ros_workspace/orocos/orocos_toolchain/. Is this a consequence
>> of installing through ROS? Should I just add the paths manually?
>
> Normally not. In case of ROS, use a 'make eclipse-project' in your package to generate the eclipse project files. Then import this project instead of the existing ones.
>
> This is what I was trying to do using the command below.
>
>>
>>
>>
>> Also, when trying to generate an orocos package using “rosrun ocl
>> orocreate-pkg orocosworld”, I get the following error:
>>
>>
>>
>> [rospack] Error: stack/package ocl not found
>>
>>
>>
>> I’m starting to think something went wrong during installation. Any
>> help would be appreciated.
>
> That's theoretically impossible OCL is an unseparable part of the Orocos Toolchain.
> Which ROS release and which Ubuntu version ?
>
> I'm running Fuerte under Ubuntu 12.04. Actually, if I run "source env.sh", the following packages are listed as "not found": utilrb, orogen, orocos_toolchain. As an aside, I noticed the command I used was taken from the RTT documentation , not from the Orocos_toolchain doc. Is this the correct command to use for creating an orocos package that can be used with ROS?
Yes.
You probably have a broken system. Could you check this:
$ ls /opt/ros/fuerte/stacks/orocos_toolchain/
CMakeLists.txt env.mk env.sh install log4cpp Makefile ocl orogen rtt rtt_typelib stack.xml typelib utilmm utilrb
Peter