So, I’ve recently been looking into using the VEX Ultrasonic Range Finder as a motion sensor. I plan to use it as a sensor to stop movement if the robot gets too close to an object.
How would I go about setting this up on a RoboRio, and how would I program it?