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

How can I display ros subscriders on qt

asked 2014-01-26 17:19:46 -0500

Bo Hyeon gravatar image

updated 2014-01-28 17:07:28 -0500

ngrennan gravatar image

Hello, I'm trying to make GUI to operate ros.

Right now, I'm practicing with simple example about listener --->in ros tutorials, 11.Writing a Simple Publisher and Subscriber(C++)

But I cannot find method to utilize ros message on qt. How can I display what Listener get in ros to Qt creator?

Please also let me know if there is any good examples.

I will really appreciate your help.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-26 20:21:12 -0500

Hamid Didari gravatar image

Hi create a new project in your Qt. go to .pro and add this line:

INCLUDEPATH += /opt/ros/hydro/include \

and add your source.cpp in your project. then make it with rosmake.

edit flag offensive delete link more


Thank you! :)

Bo Hyeon gravatar image Bo Hyeon  ( 2014-01-26 22:57:40 -0500 )edit

Question Tools

1 follower


Asked: 2014-01-26 17:19:46 -0500

Seen: 301 times

Last updated: Jan 26 '14