frc2423 / mario-kart-bot

0 stars 0 forks source link

Implement Lap Tracking #17

Open DoctorChloroplast opened 2 years ago

DoctorChloroplast commented 2 years ago

-Track the amount of times a robot has detected and crossed a line of tape that represents a finish line -Make and add to a variable that tracks the amount of times that the line has been crossed -Print a message when a certain amount of laps is reached -Compare with other robots?

DOD: When the robot crosses and detects a line of tape representing the finish line, an established variable that represents the amount of laps the robot is made is increased by 1, and a message is sent when the variable reaches a certain amount for the robot to have one