Sentry III turns and wait while red block is in front
I've tinkered and banged my head on the keyboard for a few days on this one. I know I'm close, but not quite there.
For the sentry III program:
I can turn nice corners, stop when I come across a block. But there's one block that is close to a corner (only appears at end of the lap) that I just can't beat! It's driving me crazy. When I reach that corner, I can get the robot to stop mid turn and wait for the block. But it just doesn't move fast enough afterward. But I need accurate cornering because there is so little wiggle room on the board.
Here's my code for turning the corners. Suggestions?