Team5830 / 2022-Rapid-React

Team 5830's robot code for FIRST Rapid React (2022)
MIT License
0 stars 0 forks source link

Driver Commands #20

Closed asteele11 closed 2 years ago

asteele11 commented 2 years ago

In order to make it simple for the primary driver we would like to create two more complex commands:

  1. Pickup Command -> This should extend the intake, turn on the intake, and both conveyors then check the two proximity sensors to see when balls have entered the conveyors. When a ball trips the proximity sensor for the 2nd conveyor it should turn off. If the 2nd conveyor is off then the 1st conveyor should continue to run until it's proximity sensor is tripped indicating a second ball is on the conveyor.
  2. Shoot Command -> This should turn on the flywheel and check the speed of the flywheel. When the speed is fast enough then turn on both conveyors to feed the balls into the shooter.