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

Is there a ros package that can provide GUI for other ros nodes?

asked 2013-01-01 05:37:56 -0500

AdrianPeng gravatar image

updated 2014-01-28 17:14:42 -0500

ngrennan gravatar image

There are a camera and multiple sensors mounted on my robot. And I will write ros nodes for all of them. But is there a ROS package that can provide GUI to show data got my camera and sensors together?

I use Ubuntu 10.04 and ROS electric. So I think package rqt doesn't work for me.

Thanks in advance!

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
4

answered 2013-01-03 09:58:59 -0500

130s gravatar image

updated 2013-01-12 13:19:12 -0500

Direct solution to your problem could be that since ROS is distributed system, you could receive messages from your robot (as long as they're published as ROS format) on different computers that run fuerte or higher where rqt is available.


Regarding rqt as @joq suggests, I actually tried using it on electric recently and my answer is no it's impossible/not worth trying.

I used fuerte-devel branch (that is the oldest branch afaik, and also doesn't use catkin to build) of rqt which also requires qt_gui_core and python_qt_binding with same branch names on github. When I run rosmake qt_gui_core I got the following error which seems to depend on a pluginlib's function that might not exist in electric. So, if you dare to workaround even further, rqt may or may not work. I'm curious.

Used Ubuntu Lucid, electric

/home/rosuserian/ROS/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp/recursive_plugin_provider.cpp:68:   instantiated from here
/home/rosuserian/ROS/qt_gui_core/qt_gui_cpp/include/qt_gui_cpp/ros_pluginlib_plugin_provider.h:237: error: ‘class pluginlib::ClassLoader<qt_gui_cpp::PluginProvider>’ has no member named ‘createInstance’

(Added on Jan 12) Another answer based on comments on @alfa_80's answer, is again, rqt. You can open RViz and dynamic_reconfigure's GUI called rqt_reconfigure at the same time on a single window. Using Groovy is ideal though.

edit flag offensive delete link more

Comments

Thanks for the useful information, Isaac.

joq gravatar image joq  ( 2013-01-03 11:23:13 -0500 )edit
1

BTW, I do not recommend mixing different ROS distros in the same ROS graph. In some cases that may work, but not in general.

joq gravatar image joq  ( 2013-01-03 11:24:22 -0500 )edit

Agreed. Unless mixing distros is the only solution..

130s gravatar image 130s  ( 2013-01-03 15:34:32 -0500 )edit
3

answered 2013-01-01 05:57:22 -0500

alfa_80 gravatar image

updated 2013-01-01 05:59:26 -0500

You might want to try rviz if you are on electric.

edit flag offensive delete link more

Comments

Hi alfa, rviz is mainly for 3D visualization right? I don't need to plot the data gathered by kinect and laser in 3D. What I need is just a GUI that has several panels to show the information gathered by camera, battery power and temperature sensor.

AdrianPeng gravatar image AdrianPeng  ( 2013-01-01 09:20:03 -0500 )edit

It would be better if ros dynamic reconfigure GUI can integrate with it.

AdrianPeng gravatar image AdrianPeng  ( 2013-01-01 09:20:58 -0500 )edit

I've limited skill on this, perhaps you can refer to joq's answer, that's better.

alfa_80 gravatar image alfa_80  ( 2013-01-03 08:29:53 -0500 )edit
2

answered 2013-01-03 08:02:15 -0500

joq gravatar image

For future reference, the recommended solution would be rqt, but that package is not currently available on Electric.

I have no idea how difficult a back-port to Electric would be. You might consider contacting the author on github to see if it seems feasible and whether he is willing to accept such a patch.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-01 05:37:56 -0500

Seen: 626 times

Last updated: Jan 12 '13