ROS Q&A | Why print works but rospy.loginfo doesn’t?

Written by Ruben Alves


When we are developing ROS Programs, it’s common to use “print” or “rospy.loginfo” to print some text on the screen in order to see if our program is working as expected.

The problem is that sometimes the “rospy.loginfo” doesn’t work and we have no idea why it happens.

In this video we show how to make the rospy.loginfo shows the texts on the screen, by answering a real question asked on ROS Answers.

If you want to see the question and get the code used on the video, you can find it on the following link:


You May Also Like…


Submit a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Ready to Teach Robotics Remotely in Fall 2020


Ready for your Robotics career?

Create an account, and start learning and developing robots

Share This