ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rxtools not found in Groovy

asked 2013-04-15 03:10:18 -0500

updated 2014-01-28 17:16:11 -0500

ngrennan gravatar image

In order to use RosoutPanel in C++ I include rxtools/rosout_panel.h in my class and depend on rxtools in manifest.xml. In Fuerte this works fine, but in Groovy I get a compile error because it cannot find rosout_panel.h:

fatal error: rxtools/rosout_panel.h: No such file or directory

The .h-file is present on the file system (/opt/ros/groovy/share/rxtools/src/rxtools), so why is it not found?

edit retag flag offensive close merge delete

Comments

I believe it's just your typo but rosout_panel.h not rosoutpanel.h ok?

130s gravatar image 130s  ( 2013-04-15 07:47:18 -0500 )edit

Sorry about that, I am including rosout_panel.h in the code :-)

Ola Ringdahl gravatar image Ola Ringdahl  ( 2013-04-15 08:04:00 -0500 )edit

And I assume you're using rosbuild via rosmake? If so, can you share CMakeLists.txt?

130s gravatar image 130s  ( 2013-04-15 18:59:21 -0500 )edit

I made a very simple example that works in Fuerte but not Groovy: http://www8.cs.umu.se/~ringdahl/ros/rxtest.tar.gz

Ola Ringdahl gravatar image Ola Ringdahl  ( 2013-04-15 21:04:42 -0500 )edit

2 Answers

Sort by » oldest newest most voted
4

answered 2013-04-15 18:16:43 -0500

kalectro gravatar image

rxtools is deprecated and replaced by rqt_common_plugins in groovy

edit flag offensive delete link more

Comments

But since the package (and the h-file) is still there it should still work right?

Ola Ringdahl gravatar image Ola Ringdahl  ( 2013-04-15 21:01:11 -0500 )edit

does roscd rxtools work for you in groovy? It does not for me, so I can see why it does not find the file. Just having the .h file in your fuerte workspace will not help your groovy compilation

kalectro gravatar image kalectro  ( 2013-04-17 05:38:30 -0500 )edit

Yes I can roscd to it and the h-files are present in the Groovy workspace as well. You have to install rxtools separately in Groovy, so that may be why why you cannot roscd to it. I used apt-get to install it.

Ola Ringdahl gravatar image Ola Ringdahl  ( 2013-04-17 05:48:16 -0500 )edit

The problem is that the .h files are not inside /opt/ros/groovy/include/rxtools but in /opt/ros/groovy/share/rxtools/src/rxtools. You could fix that by just copying the files into the right folder or use rqt which would be the nicer solution

kalectro gravatar image kalectro  ( 2013-04-17 12:54:16 -0500 )edit

They are in the share folder in Fuerte as well. Is this something that has changed in Groovy that they have to be in the include folder?

Ola Ringdahl gravatar image Ola Ringdahl  ( 2013-04-17 20:23:23 -0500 )edit
1

answered 2013-04-15 19:04:58 -0500

130s gravatar image

I haven't tested it on my own, but the phenomenon reported sounds strange.

Meanwhile, @kalectro is right. Functionality of rxtools/rosout_panel.h should be found in rqt_console -- Since its API isn't exactly the same, you have to find the equivalent.

A problem for you if you need to stick to C++ may be that it's written in python. One (boring) workaround is to have 2 pkgs, one for python to utilize rqt_console's API and the other in C++.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-15 03:10:18 -0500

Seen: 873 times

Last updated: Apr 15 '13