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

Revision history [back]

You code looks okay. Did you try adding latch=true to your rospy.Publisher()?

You code looks okay. Did you try adding latch=true to your rospy.Publisher()?? If that doesn't work, maybe this is the problem: http://answers.ros.org/question/84336/latchtrue-in-rospypublisher-appears-to-have-no-effect/ . Try adding a sleep between creating the publisher and sending the msg.