Repository files navigation
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
VEX V5 Brain & Controller
4 V5 Smart Motors (Drive, Arm, and Claw)
V5 Distance Sensor (Laser)
V5 Line Tracker (Underneath)
V5 Clawbot Metal Kit
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.
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 autonomousMode to usercontrol in the main file.
About
Autonomous VEX robot with IR sensors, PID control, and obstacle avoidance — C++ on VEX Cortex
Topics
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.