Building RTT msgs from catkin package in ROS Groovy

Hello,

We are working on using the ar_pose package for tracking an AR_marker in real-time.
The ar_pose package part of a catkin stack ar_tools (https://github.com/ar-tools/ar_tools.git ) and is installed in a catkin workspace, is compiled and works fine. It creates a ROS topic \ar_pose_marker with the pose of the AR_marker with the correct data.

We want to make a RTT msgs of this ar_pose package to be used in an Orocos component which is in a rosbuild environment.
We are using Ubuntu 12.04, ROS Groovy and orocos toolchain 2.6 in the rosbuild environment.

We tried:

rosrun rtt_rosnode create_rtt_msgs ar_pose

which works fine.

But when we build it using (ros)make, we get the following error:

.
.
.
[rosmake-0] Finished <<< image_transport ROS_NOBUILD in package image_transport
No Makefile in package image_transport
[rosmake-2] Finished <<< tf ROS_NOBUILD in package tf
No Makefile in package tf
[rosmake-2] Starting >>> ar_pose [ make ]
[rosmake-2] Finished <<< ar_pose ROS_NOBUILD in package ar_pose
No Makefile in package ar_pose
[rosmake-2] Starting >>> rtt_ar_pose [ make ]
[ rosmake ] Last 40 linest_ar_pose: 7.2 sec ] [ 1 Active 53/54 Complete ]
{-------------------------------------------------------------------------------
CMake Error at /opt/ros/groovy/stacks/orocos_toolchain/install/lib/cmake/orocos-rtt/UseOROCOS-RTT-helpers.cmake:171 (message):
In package >>>ar_pose<<< : could not find library ar_pose in directory
/home/jon/catkin_ws/devel/lib;/opt/ros/groovy/lib, although its .pc file
says it should be there.

Try to do 'make clean; rm -rf lib' and then 'make' in the package >>>ar_pose<<<.

Call Stack (most recent call first):
/opt/ros/groovy/stacks/orocos_toolchain/install/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:143 (orocos_use_package)
/opt/ros/groovy/stacks/rtt_ros_integration/rtt_rosnode/cmake/GenerateRTTtypekit.cmake:8 (include)
/opt/ros/groovy/share/ros/core/rosbuild/public.cmake:1138 (include)
CMakeLists.txt:14 (rosbuild_include)

[UseOrocos] Linking all targets with libraries from package 'ar_pose'.

Building RTT msgs from catkin package in ROS Groovy

Hi Jon,

Mostof us are now working on Catkin + Indigo + 14.04. Your issue could be
caused by the arpose containing both msgs and a regular arpose library. You
could try to create an arpose_msg package with only the .msg file +
manifest.xml for which you create the RTT typekits using the script you
used. This simple case should always work.

Peter

On Wed, Jun 10, 2015 at 4:00 PM, Jon Verbeke <jon [dot] verbeke [..] ...>
wrote:

> Hello,
>
> We are working on using the ar_pose package for tracking an AR_marker in
> real-time.
> The ar_pose package part of a catkin stack ar_tools (
> https://github.com/ar-tools/ar_tools.git ) and is installed in a catkin
> workspace, is compiled and works fine. It creates a ROS topic
> \ar_pose_marker with the pose of the AR_marker with the correct data.
>
> We want to make a RTT msgs of this ar_pose package to be used in an Orocos
> component which is in a rosbuild environment.
> We are using Ubuntu 12.04, ROS Groovy and orocos toolchain 2.6 in the
> rosbuild environment.
>
> We tried:
>
> rosrun rtt_rosnode create_rtt_msgs ar_pose
>
> which works fine.
>
> But when we build it using (ros)make, we get the following error:
>
>
> .
> .
> .
>
> [rosmake-0] Finished <<< image_transport ROS_NOBUILD in package
> image_transport
> No Makefile in package
> image_transport
> [rosmake-2] Finished <<< tf ROS_NOBUILD in package tf
> No Makefile in package
> tf
>
> [rosmake-2] Starting >>> ar_pose [ make
> ]
>
> [rosmake-2] Finished <<< ar_pose ROS_NOBUILD in package ar_pose
> No Makefile in package
> ar_pose
> [rosmake-2] Starting >>> rtt_ar_pose [ make
> ]
>
> [ rosmake ] Last 40 linest_ar_pose: 7.2 sec
> ]
> [ 1 Active 53/54 Complete ]
>
> {-------------------------------------------------------------------------------
> CMake Error at
> /opt/ros/groovy/stacks/orocos_toolchain/install/lib/cmake/orocos-rtt/UseOROCOS-RTT-helpers.cmake:171
> (message):
> In package >>>ar_pose<<< : could not find library ar_pose in directory
> /home/jon/catkin_ws/devel/lib;/opt/ros/groovy/lib, although its .pc
> file
> says it should be there.
>
>
>
> Try to do 'make clean; rm -rf lib' and then 'make' in the package
> >>>ar_pose<<<.
>
>
>
> Call Stack (most recent call first):
>
> /opt/ros/groovy/stacks/orocos_toolchain/install/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:143
> (orocos_use_package)
>
> /opt/ros/groovy/stacks/rtt_ros_integration/rtt_rosnode/cmake/GenerateRTTtypekit.cmake:8
> (include)
> /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:1138 (include)
> CMakeLists.txt:14 (rosbuild_include)
>
>
> [UseOrocos] Linking all targets with libraries from package 'ar_pose'.
> -- checking for one of the modules 'rtt_std_msgs;rtt_std_msgs-gnulinux'
> [UseOrocos] Linking all targets with libraries from package
> 'rtt_std_msgs'.
> -- checking for one of the modules
> 'rtt_rosgraph_msgs;rtt_rosgraph_msgs-gnulinux'
> [UseOrocos] Linking all targets with libraries from package
> 'rtt_rosgraph_msgs'.
> -- checking for one of the modules
> 'rtt_geometry_msgs;rtt_geometry_msgs-gnulinux'
> [UseOrocos] Linking all targets with libraries from package
> 'rtt_geometry_msgs'.
> -- checking for one of the modules
> 'rtt_visualization_msgs;rtt_visualization_msgs-gnulinux'
> [UseOrocos] Linking all targets with libraries from package
> 'rtt_visualization_msgs'.
> -- checking for one of the modules
> 'rtt_sensor_msgs;rtt_sensor_msgs-gnulinux'
> [UseOrocos] Linking all targets with libraries from package
> 'rtt_sensor_msgs'.
> [UseOrocos] Building typekit library rtt-ar_pose-typekit
> [UseOrocos] Building typekit library rtt-ar_pose-ros-transport
> [UseOrocos] Generating package version 1.0 (default version).
> CMake Error: The following variables are used in this project, but they
> are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the
> CMake files:
> ar_pose_ar_pose_LIBRARY
> linked by target "rtt-ar_pose-ros-transport" in directory
> /home/jon/catkin_ws/src/ar_tools/rtt_ar_pose
> linked by target "rtt-ar_pose-typekit" in directory
> /home/jon/catkin_ws/src/ar_tools/rtt_ar_pose
>
> -- Configuring incomplete, errors occurred!
>
> -------------------------------------------------------------------------------}
> [ rosmake ] Output from build of package rtt_ar_pose written to:
> [ rosmake ]
> /home/jon/.ros/rosmake/rosmake_output-20150610-155216/rtt_ar_pose/build_output.log
> [rosmake-2] Finished <<< rtt_ar_pose [FAIL] [ 7.21 seconds
> ]
>
> [ rosmake ] Halting due to failure in package rtt_ar_pose.
> [ rosmake ] Waiting for other threads to
> complete.
> [ rosmake ]
> Results:
>
> [ rosmake ] Built 54 packages with 1
> failures.
>
> [ rosmake ] Summary output to directory
>
>
> Any help would be appreciated!
>
> Kind regards,
>
> Jon
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>

Building RTT msgs from catkin package in ROS Groovy

Hi Peter,

Finally had time to try it. It works! Thanks!

Kind regards,

Jon
________________________________
Van: Peter Soetens [peter [..] ...]
Verzonden: vrijdag 12 juni 2015 17:55
Aan: Jon Verbeke
CC: orocos-users [..] ...
Onderwerp: Re: [Orocos-users] Building RTT msgs from catkin package
in ROS Groovy

Hi Jon,

Mostof us are now working on Catkin + Indigo + 14.04. Your issue could be caused by the arpose containing both msgs and a regular arpose library. You could try to create an arpose_msg package with only the .msg file + manifest.xml for which you create the RTT typekits using the script you used. This simple case should always work.

Peter

On Wed, Jun 10, 2015 at 4:00 PM, Jon Verbeke <jon [dot] verbeke [..] ...jon [dot] verbeke [..] ...>> wrote:
Hello,

We are working on using the ar_pose package for tracking an AR_marker in real-time.
The ar_pose package part of a catkin stack ar_tools (https://github.com/ar-tools/ar_tools.git ) and is installed in a catkin workspace, is compiled and works fine. It creates a ROS topic \ar_pose_marker with the pose of the AR_marker with the correct data.

We want to make a RTT msgs of this ar_pose package to be used in an Orocos component which is in a rosbuild environment.
We are using Ubuntu 12.04, ROS Groovy and orocos toolchain 2.6 in the rosbuild environment.

We tried:

rosrun rtt_rosnode create_rtt_msgs ar_pose

which works fine.

But when we build it using (ros)make, we get the following error:

.
.
.
[rosmake-0] Finished <<< image_transport ROS_NOBUILD in package image_transport
No Makefile in package image_transport
[rosmake-2] Finished <<< tf ROS_NOBUILD in package tf
No Makefile in package tf
[rosmake-2] Starting >>> ar_pose [ make ]
[rosmake-2] Finished <<< ar_pose ROS_NOBUILD in package ar_pose
No Makefile in package ar_pose
[rosmake-2] Starting >>> rtt_ar_pose [ make ]
[ rosmake ] Last 40 linest_ar_pose: 7.2 sec ] [ 1 Active 53/54 Complete ]
{-------------------------------------------------------------------------------
CMake Error at /opt/ros/groovy/stacks/orocos_toolchain/install/lib/cmake/orocos-rtt/UseOROCOS-RTT-helpers.cmake:171 (message):
In package >>>ar_pose<<< : could not find library ar_pose in directory
/home/jon/catkin_ws/devel/lib;/opt/ros/groovy/lib, although its .pc file
says it should be there.

Try to do 'make clean; rm -rf lib' and then 'make' in the package >>>ar_pose<<<.

Call Stack (most recent call first):
/opt/ros/groovy/stacks/orocos_toolchain/install/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:143 (orocos_use_package)
/opt/ros/groovy/stacks/rtt_ros_integration/rtt_rosnode/cmake/GenerateRTTtypekit.cmake:8 (include)
/opt/ros/groovy/share/ros/core/rosbuild/public.cmake:1138 (include)
CMakeLists.txt:14 (rosbuild_include)

[UseOrocos] Linking all targets with libraries from package 'ar_pose'.