ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
On second thought: never add an infinite while
-loop to a callback body. Ever.
Callbacks must never block (infinitely).
Also: don't create Publisher
s in callbacks. Do that in the initialisation phase/section of your program.