ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Publishers take a non-zero amount of time to register themselves with the master. Trying to publish on a publisher that isn't ready yet will simply result in nothing happening, as you have discovered.
This issue seems to come up fairly frequently here, so it might be worth submitting a ticket for a feature request to issue a warning if trying to use a publisher that isn't ready.