Ask Your Question

rxtools not found in Groovy

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

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

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


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

130s gravatar image130s ( 2013-04-15 07:47:18 -0600 )edit

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

Ola Ringdahl gravatar imageOla Ringdahl ( 2013-04-15 08:04:00 -0600 )edit

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

130s gravatar image130s ( 2013-04-15 18:59:21 -0600 )edit

I made a very simple example that works in Fuerte but not Groovy:

Ola Ringdahl gravatar imageOla Ringdahl ( 2013-04-15 21:04:42 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

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

kalectro gravatar image

rxtools is deprecated and replaced by rqt_common_plugins in groovy

edit flag offensive delete link more


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

Ola Ringdahl gravatar imageOla Ringdahl ( 2013-04-15 21:01:11 -0600 )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 imagekalectro ( 2013-04-17 05:38:30 -0600 )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 imageOla Ringdahl ( 2013-04-17 05:48:16 -0600 )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 imagekalectro ( 2013-04-17 12:54:16 -0600 )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 imageOla Ringdahl ( 2013-04-17 20:23:23 -0600 )edit

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 187 times

Last updated: Apr 15 '13