turtle control

asked 2022-10-02 04:27:34 -0500

StupidGuy013 gravatar image

updated 2022-10-04 05:33:27 -0500

ravijoshi gravatar image

My turtle is moving a bit ahead than required. Therefore, how to stop it from moving in a circular path after reaching a semi-circle?

edit retag flag offensive close merge delete

Comments

If I remember correctly, the turtle moves because a velocity message is published with some angular velocity. So to stop it, you should first stop publishing that message and start publishing 0 values on the same topic.

ravijoshi gravatar image ravijoshi  ( 2022-10-04 05:37:52 -0500 )edit