3pi with GP2Y0D810Z0F

I am new to programming these. I need help figuring out how to use the GP2Y0D810Z0F distance sensor to stop the robot until the obsticle is removed. I am using the code given for the 3pi in the arduino compiler.

Hello.

A good start to getting help is asking specific questions about what what you don’t understand. Can you narrow down what is confusing you? You can also post your (simple) program if you want some coding help.

- Ben