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

A ROS node subscriber to show the received message in GUI

asked 2015-06-19 08:59:54 -0500

Saeid gravatar image

Hey guys,

For a part of my project I should receive a message from a simple publisher which just publishes a text file and show it in a graphical interface (GUI) shape. Because I'm new in ROS I have no idea how to do this. If any one can help me I do really appreciate it.

Thanks Tags

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-06-19 09:09:18 -0500

dornhege gravatar image

All messages have a operator<< , so you can just receive the message move that into a stringstream. With that string you can do whatever you'd usually do to display it in your GUI.

edit flag offensive delete link more

Comments

Thanks man for your answer, Actually my main problem is how to show my message in a GUI, I don't know how to create a GUI.

Saeid gravatar image Saeid  ( 2015-06-19 09:18:18 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2015-06-19 08:59:54 -0500

Seen: 295 times

Last updated: Jun 19 '15