ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.
2 | No.2 Revision |
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.
3 | No.3 Revision |
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.
4 | No.4 Revision |
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.