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

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 ?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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


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

Question Tools


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

Seen: 601 times

Last updated: Apr 02 '17