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

Revision history [back]

click to hide/show revision 1
initial version

It takes some time for subscriptions to be setup. There is probably on the other of a few milliseconds between the creation if your publisher and your subscriber, you then publish(..) and your program exits. Try to add a time.sleep(..) at appropriate places to see whether that is the problem.

It takes some time for subscriptions to be setup. There is probably on the other order of a few milliseconds between the creation if your publisher and your subscriber, you then publish(..) and your program exits. Try to add a time.sleep(..) at appropriate places to see whether that is the problem.

It takes some time for subscriptions to be setup. There is probably on the order of a few milliseconds between the creation if your publisher and your subscriber, you then publish(..) and your program exits. exits immediately. Try to add a time.sleep(..) at appropriate places to see whether that is the problem.

It takes some time for subscriptions to be setup. setup (this is a networked middleware, not a local function call). There is probably on the order of a few milliseconds between the creation if your publisher and your subscriber, you then publish(..) and your program exits immediately. Try to add a time.sleep(..) at appropriate places to see whether that is the problem.