collision avoidance driving backward turtlesim

asked 2018-08-22 10:56:51 -0600

v.leto gravatar image

I have to stop my turtle before bumping the wall. If I want this happen even when I move the turtle backward, I have to make different conditions on the four walls but theta is a value from 0 to 6. How can I solve it?

edit retag flag offensive close merge delete