Turtlesim - Drive turtle in a pattern

asked 2018-03-31 10:00:32 -0600

Divyansh gravatar image


I am trying write a script in Python to drive the Turtlesim in a pattern of a cross (+). I am trying to do this by creating and calling different method for going straight and for turning. I tried following the examples shared on Github here: https://github.com/clebercoutof/turtl...

Also, here's the attached screenshot of the code: https://drive.google.com/open?id=1dJw...

However, turtle only seems to respond to the last call and ignores the first two. Any help would be appreciated!

edit retag flag offensive close merge delete