2 distance sensors

but it isn't working out that well

Your explanation isn't working out at all well.

Maybe all the delays are reducing responsiveness.