Robot is not stopping after pressing Ctrl C

Hello,

I would like to know why the robot is not stopping even after terminating the program with Ctrl + C. I can only stop the robot if i reset the simulation.

Hi @naranpanthi99 ,

Ctrl + C usually does not stop the robot (in some cases). If the last command received by the robot is to move and if the program is terminated, the robot will still continue to move. This is because the robot has not received the command to stop.

If this is the case, then you have two options:
Option 1: Use the teleop program to stop the robot.
Option 2: Publish Twist message with zero values into /cmd_vel topic.
Either options will work definitely.

Regards,
Girish

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.