Ask Your Question
0

Display messages std::cout from remote machines

asked 2017-04-01 21:21:26 -0500

phivu gravatar image

Hi everybody, I wonder that there are some commands to open a new terminal from master machine ( pc) and to display some messages of std:: out in remote machines using roslaunch ?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-02 02:42:53 -0500

ahendrix gravatar image

ROS provides the /rosout topic, logging functions in both C++ (ROS_INFO()) and Python (rospy.loginfo()), and rqt_console, to facilitate viewing log messages from remote machines. (and much, much more!)

There's a rospy Tutorial on Logging and describes how all of these tools fit together.

edit flag offensive delete link more

Comments

Hi ahendrix, thank you for ur reply. Currently, I used ROS_INFO in remote machines and RQT_console to read messages in master machines using ROS launch file. The problem is that the amout of message for two nodes must be displayed constantly and I do not know how to separate them.

phivu gravatar image phivu  ( 2017-04-02 20:00:01 -0500 )edit

The filters in the bottom portion of rqt_console allow you to selectively hide, highlight, or show messages from only some nodes (or based on other criteria).

ahendrix gravatar image ahendrix  ( 2017-04-02 23:40:02 -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

Stats

Asked: 2017-04-01 21:21:26 -0500

Seen: 411 times

Last updated: Apr 02 '17