ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You code looks okay. Did you try adding latch=true
to your rospy.Publisher()
?
2 | No.2 Revision |
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.