ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I'm not sure, what's going on, but for me it works. The only thing I added was the #! line, but that doesn't cause this behavior.
I tested it with 2x rostopic pub. Perhaps that is something you should do for comparison as the script seems to work.