How to make specific shapes with cmd_vel and turtlesim?

asked 2020-04-22 06:47:21 -0500

namayna gravatar image

updated 2020-04-22 08:02:46 -0500

Hi, I want to try to make a motion where my turtle does a complete circle with a large radius. Then, after circling back to the origin point, it does another circle with a smaller radius (and repeat this). Is there a way I can detect if I'm back at the origin point so that I can know to move on to the next angular.z value? I'm also open to other interpretations.

edit retag flag offensive close merge delete