Robotics StackExchange | Archived questions

Can't See Log Message in rqt_console

Anyone know why I'm not seeing the loginfo message in rqtconsole when I run the following node? I can see the message in the terminal screen so the message does seem to be getting generated. I just can't see it in rqtconsole.

#! /usr/bin/env python

import roslib; roslib.load_manifest("robot_arm")
import rospy

def InitializeRobot():
    robot_id = rospy.get_param("robot/robot_id") 
    rospy.init_node('InitializeRobot') 
    rospy.loginfo("ROBOT %i: Starting Up" % robot_id)

if __name__ == '__main__':
    try:
        InitializeRobot()
    except rospy.ROSInterruptException:
        pass 

Asked by daalt on 2014-01-01 06:22:44 UTC

Comments

Answers

Did you get an answer? I have the same problem.

Asked by mhallak on 2014-04-26 22:39:28 UTC

Comments

Did you tried with rospy.spin()after InitializeRobot()?

Asked by AlexanderTiderko on 2014-04-27 04:50:06 UTC

Comments