My Robot doesn't stops even if cmd_vel is not Published.Why ?
Hello I am using teleop_twist_keyboard to generate cmd_vel ( geometry_msgs/twist). The Robot successfully subscribes this cmd_vel and moves .
I am using A proportional–integral–derivative controller (PID controller) which is a control loop feedback mechanism (controller) for the robot. This loop takes 1 0r 2 seconds to achieve the required generated cmd_vel .
As we knew If I stopped pressing the keys of keyboard then the cmd_vel shouldn't be published and then the robot should also stop moving.
But in my case this doesn't happens means my robot is taking the last value of generated cmd_vel and it never stops.So please can any one suggests why this is happening ? Why the robot doesn't stops ?