orocos_toolchain (bootstrap) + ROS rtt: building issues

Hello.

I know this has been asked before, e.g.
here<http://www.orocos.org/forum/orocos/orocos-users/xenomai-ros-and-orocos>,
but I'm bumping into some problems.

I downloaded the bootstrap.sh and build the orocos_toolchain without
issues, both for gnulinux and xenomai. I even managed to port and compile
some of my old Orocos 1.12.1 components against the new toolchain and
deploy them for both systems without problems.

Now I'm interested in trying out the ROS rtt stuff. According to the link
mentioned above this should be possible. Following the instructions:

1. orocos_toolchain path was added to ROS_PACKAGE_PATH
2. source the env.sh
3. checked out rtt_ros_integration

The problem is that when rosmaking rtt_ros_integration for some reason
rosmake skips all targets and does nothing. It founds the packages
all right (orocos_toolchain and rtt_ros_integration). However if I navigate
to the individual build directories, targets can be compiled without
problems.

Here is the output for the rtt_rospack package:

Using rosmake...
~$rosmake rtt_rospack
[ rosmake ] rosmake starting...

[ rosmake ] Packages requested are: ['rtt_rospack']

[ rosmake ] Logging to directory
/home/jordanpalacios/.ros/rosmake/rosmake_output-20130222-121919

[ rosmake ] Expanded args ['rtt_rospack'] to:
['rtt_rospack']

[rosmake-0] Starting >>> roslib [ make ]

[rosmake-1] Starting >>> rtt [ make ]

[rosmake-0] Finished <<< roslib No Makefile in package roslib

[rosmake-1] Finished <<< rtt ROS_NOBUILD in package rtt

[rosmake-1] Starting >>> rtt_rospack [ make ]

[rosmake-1] Finished <<< rtt_rospack [SKIP] No rule to make target None

[ rosmake ] Results:

[ rosmake ] Built 3 packages with 0 failures.

Building the target directly...
~$ cd rtt/rtt_ros_integration/rtt_rospack/build/
~/rtt/rtt_ros_integration/rtt_rospack/build$ make
Scanning dependencies of target rospack_genmsg_libexe
[ 0%] Built target rospack_genmsg_libexe
Scanning dependencies of target rosbuild_precompile
[ 0%] Built target rosbuild_precompile
Scanning dependencies of target rtt_rospack
[100%] Building CXX object
CMakeFiles/rtt_rospack.dir/src/rtt_rospack_service.o
Linking CXX shared library
../lib/orocos/xenomai/plugins/librtt_rospack-xenomai.so
[100%] Built target rtt_rospack

Any ideas that explain this behaviour?

Additional notes:
- I also needed to create a stack.xml file in the orocos_toochain
directory. Otherwise ROS could not locate the packages (rtt, ocl, typelib,
etc.)
- I added the ROS_NOBUILD files to the orocos_toolchain packages since they
do not need to be rebuild... right?

Thanks for your time.

Jordán.

AttachmentSize
image001.png10.15 KB

orocos_toolchain (bootstrap) + ROS rtt: building issues

On 02/22/2013 12:25 PM, Jordan Palacios wrote:
> Hello.
>
> I know this has been asked before, e.g. here
> <http://www.orocos.org/forum/orocos/orocos-users/xenomai-ros-and-orocos>,
> but I'm bumping into some problems.
>
> I downloaded the bootstrap.sh and build the orocos_toolchain without
> issues, both for gnulinux and xenomai. I even managed to port and
> compile some of my old Orocos 1.12.1 components against the new
> toolchain and deploy them for both systems without problems.
>
> Now I'm interested in trying out the ROS rtt stuff. According to the
> link mentioned above this should be possible. Following the instructions:
>
> 1. orocos_toolchain path was added to ROS_PACKAGE_PATH
> 2. source the env.sh
> 3. checked out rtt_ros_integration
>
> The problem is that when rosmaking rtt_ros_integration for some reason
> rosmake skips all targets and does nothing. It founds the packages
> all right (orocos_toolchain and rtt_ros_integration). However if I
> navigate to the individual build directories, targets can be compiled
> without problems.
>
> Here is the output for the rtt_rospack package:
>
> Using rosmake...
> ~$rosmake rtt_rospack
> [ rosmake ] rosmake starting...
> [ rosmake ] Packages requested are: ['rtt_rospack']
> [ rosmake ] Logging to directory
> /home/jordanpalacios/.ros/rosmake/rosmake_output-20130222-121919
> [ rosmake ] Expanded args ['rtt_rospack'] to:
> ['rtt_rospack']
> [rosmake-0] Starting >>> roslib [ make ]
> [rosmake-1] Starting >>> rtt [ make ]
> [rosmake-0] Finished <<< roslib No Makefile in package roslib
> [rosmake-1] Finished <<< rtt ROS_NOBUILD in package rtt
> [rosmake-1] Starting >>> rtt_rospack [ make ]
> [rosmake-1] Finished <<< rtt_rospack [SKIP] No rule to make target None
> [ rosmake ] Results:
> [ rosmake ] Built 3 packages with 0 failures.
>
> Building the target directly...
> ~$ cd rtt/rtt_ros_integration/rtt_rospack/build/
> ~/rtt/rtt_ros_integration/rtt_rospack/build$ make
> Scanning dependencies of target rospack_genmsg_libexe
> [ 0%] Built target rospack_genmsg_libexe
> Scanning dependencies of target rosbuild_precompile
> [ 0%] Built target rosbuild_precompile
> Scanning dependencies of target rtt_rospack
> [100%] Building CXX object
> CMakeFiles/rtt_rospack.dir/src/rtt_rospack_service.o
> Linking CXX shared library
> ../lib/orocos/xenomai/plugins/librtt_rospack-xenomai.so
> [100%] Built target rtt_rospack
>
>
> Any ideas that explain this behaviour?
>
> Additional notes:
> - I also needed to create a stack.xml file in the orocos_toochain
> directory. Otherwise ROS could not locate the packages (rtt, ocl,
> typelib, etc.)
> - I added the ROS_NOBUILD files to the orocos_toolchain packages since
> they do not need to be rebuild... right?
>
>

Is there a reason why you are not using the ros orocos toolchain debian
packages? Do you have an ubuntu system? Which version? Which ros release
do you have?

Tinne

orocos_toolchain (bootstrap) + ROS rtt: building issues

On 22 February 2013 14:35, Tinne De Laet <tinne [dot] delaet [..] ...>wrote:

> On 02/22/2013 12:25 PM, Jordan Palacios wrote:
> > Hello.
> >
> > I know this has been asked before, e.g. here
> > <http://www.orocos.org/forum/orocos/orocos-users/xenomai-ros-and-orocos
> >,
> > but I'm bumping into some problems.
> >
> > I downloaded the bootstrap.sh and build the orocos_toolchain without
> > issues, both for gnulinux and xenomai. I even managed to port and
> > compile some of my old Orocos 1.12.1 components against the new
> > toolchain and deploy them for both systems without problems.
> >
> > Now I'm interested in trying out the ROS rtt stuff. According to the
> > link mentioned above this should be possible. Following the instructions:
> >
> > 1. orocos_toolchain path was added to ROS_PACKAGE_PATH
> > 2. source the env.sh
> > 3. checked out rtt_ros_integration
> >
> > The problem is that when rosmaking rtt_ros_integration for some reason
> > rosmake skips all targets and does nothing. It founds the packages
> > all right (orocos_toolchain and rtt_ros_integration). However if I
> > navigate to the individual build directories, targets can be compiled
> > without problems.
> >
> > Here is the output for the rtt_rospack package:
> >
> > Using rosmake...
> > ~$rosmake rtt_rospack
> > [ rosmake ] rosmake starting...
> > [ rosmake ] Packages requested are: ['rtt_rospack']
> > [ rosmake ] Logging to directory
> > /home/jordanpalacios/.ros/rosmake/rosmake_output-20130222-121919
> > [ rosmake ] Expanded args ['rtt_rospack'] to:
> > ['rtt_rospack']
> > [rosmake-0] Starting >>> roslib [ make ]
> > [rosmake-1] Starting >>> rtt [ make ]
> > [rosmake-0] Finished <<< roslib No Makefile in package roslib
> > [rosmake-1] Finished <<< rtt ROS_NOBUILD in package rtt
> > [rosmake-1] Starting >>> rtt_rospack [ make ]
> > [rosmake-1] Finished <<< rtt_rospack [SKIP] No rule to make target None
> > [ rosmake ] Results:
> > [ rosmake ] Built 3 packages with 0 failures.
> >
> > Building the target directly...
> > ~$ cd rtt/rtt_ros_integration/rtt_rospack/build/
> > ~/rtt/rtt_ros_integration/rtt_rospack/build$ make
> > Scanning dependencies of target rospack_genmsg_libexe
> > [ 0%] Built target rospack_genmsg_libexe
> > Scanning dependencies of target rosbuild_precompile
> > [ 0%] Built target rosbuild_precompile
> > Scanning dependencies of target rtt_rospack
> > [100%] Building CXX object
> > CMakeFiles/rtt_rospack.dir/src/rtt_rospack_service.o
> > Linking CXX shared library
> > ../lib/orocos/xenomai/plugins/librtt_rospack-xenomai.so
> > [100%] Built target rtt_rospack
> >
> >
> > Any ideas that explain this behaviour?
> >
> > Additional notes:
> > - I also needed to create a stack.xml file in the orocos_toochain
> > directory. Otherwise ROS could not locate the packages (rtt, ocl,
> > typelib, etc.)
> > - I added the ROS_NOBUILD files to the orocos_toolchain packages since
> > they do not need to be rebuild... right?
> >
> >
>

Disregard the issue. Turns out the problem was in my ros build system...

Thanks any ways.

>
> Is there a reason why you are not using the ros orocos toolchain debian
> packages?

Hello Tinne.

It is my understanding that the ros orocos toolchain debian packages are
build for gnulinux only and I need xenomai too. And in any case, I wanted
to start with a set of libraries agnostic to ROS and work from there. I'm a
bit new to ROS as this issue has already proven. =P

> Do you have an ubuntu system? Which version? Which ros release
> do you have?

Ubuntu 12.04. Xenomai 2.6.2.1. ROS Fuerte.

Thanks again.

>
> Tinne
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>