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 imageSaeid ( 2015-06-19 09:18:18 -0500 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

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

Seen: 89 times

Last updated: Jun 19 '15