A Robot should stop moving If cmd_vel is stopped Publishing or If STOP command send.
Hello
I have one confusion
I am publishing cmd_vel ( geometry_msgs/Twist ) messages using teleop_twist_keyboard .
The Robot subscribes this messages i.e cmd_vel message.
When should my robot stop moving ?
a) As soon as I stop sending or publishing the cmd_vel from the Keyboard
OR
b) It should stop moving If i send him a STOP command
Please can anyone Suggest which one is the Right ?
You've updated this without providing any additional info; it looks like you're trying to gather additional answers. Is there something that was unclear or not satisfying about my answer?