Help please to improve this obstacle avoiding robot project.

That doesn´t work wildbill. If I move the ' turnLeft = !turnLeft; ' to the turn subroutines the wheels try to go forward and backward at the same time. I tried before that variation and now again. That´s the result.

Any other approach?