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

Revision history [back]

Hi @vKuehn,

I made a video (https://www.youtube.com/watch?v=UCLcftHHrEs) that answers exactly this question.

In summary, in order to make rospy.loginfo print on the screen, if you are running the node with roslaunch, you must use the parameter --screen when calling roslaunch, or add the output="screen" on your launch file.

For example:

1 - roslaunch your_package your_launchfile.launch --screen

or

2 - <node pkg="your_package" type="your_file.py" name="your_file" output="screen"/>

On the video I explain step by step.