Preview
Open Original
Folders and files
NameName
Last commit message
Last commit date
Latest commit
History
[LICENSE](https://github.com/ScottT2-spec/vex-autonomous-line-follower/blob/main/LICENSE…
Folders and files
NameName
Last commit message
Last commit date
Latest commit
History
VEX-Navigation-Robot
Features
- Follows a black line automatically
- Stops and backs up if it sees an obstacle
- Manual drive mode for the arm and claw
- Shows sensor data on the robot screen
Hardware Used
- VEX V5 Brain & Controller
- 4 V5 Smart Motors (Drive, Arm, and Claw)
- V5 Distance Sensor (Laser)
- V5 Line Tracker (Underneath)
- V5 Clawbot Metal Kit
How It Works
- The line tracker looks at the floor. If it sees black, it goes straight. If it sees white, it turns to find the line.
- The distance sensor constantly checks for objects in front.
Setup Instructions
- Connect motors: Left (Port 1), Right (Port 10), Arm (Port 8), Claw (Port 3).
- Connect sensors: Distance (Port 5), Line Tracker (3-Wire Port A).
- Upload the C++ code using VEXcode V5.
- To drive it yourself, just swap the code from
autonomousModetousercontrolin the main file.