DeepBlueRobotics / Offseason2016

Code written during offseason training, as well as specifically for the offseason robot
GNU General Public License v3.0
0 stars 0 forks source link

Test drivetrain encoders and set their ratios with SmartDashboard display and PID sample #3

Open ana-tudor opened 7 years ago

lhmcgann commented 7 years ago
  1. Make sure encoders are putting out values (Use SmartDashboard)
  2. Set encoder ratio (get encoder value in number of rotations and dist. traveled using ruler; divide)
ghost commented 7 years ago
  1. Write a method to perform PID control, and use it during autonomousPeriodic() to drive the robot forward a variable distance. This distance will be set from SmartDashboard.