collision avoidance driving backward turtlesim
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?