Skip to content

ScottT2-spec/vex-autonomous-line-follower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VEX-Navigation-Robot

Robot in Action

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

Robot Photo

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

  1. The line tracker looks at the floor. If it sees black, it goes straight. If it sees white, it turns to find the line.
  2. The distance sensor constantly checks for objects in front.

Robot Overview

Setup Instructions

  1. Connect motors: Left (Port 1), Right (Port 10), Arm (Port 8), Claw (Port 3).
  2. Connect sensors: Distance (Port 5), Line Tracker (3-Wire Port A).
  3. Upload the C++ code using VEXcode V5.
  4. To drive it yourself, just swap the code from autonomousMode to usercontrol in the main file.

Releases

No releases published

Packages

 
 
 

Contributors

Languages