DeepBlueRobotics / RobotCode2018

All of our code for FRC's 2018 game: FIRST Power Up.
5 stars 11 forks source link

Add velocity PIDControllers for left and right side of drivetrain to Drivetrain class #28

Closed brettle closed 6 years ago

brettle commented 6 years ago

The Drivetrain subsystem should be responsible for moving the left and right side of the drivetrain at requested speeds. That implies adding velocity PID controllers for each side and using those controllers as SpeedControllers passed to DifferentialDrive. To that end, the velocity PID controllers should implement both PIDControllerInterface (so that they can be tuned and monitored) and SpeedController (so that they can be passed to the DifferentialDrive constructor). Two implementations should be developed -- one which uses wpilib's PIDController to do the control and the other which uses the TalonSRX's internal PID features.

brettle commented 6 years ago

Add velocity PIDControllers for left and right side of drivetrain to Drivetrain class

doawelul commented 6 years ago

Split moveController to each side of the drivetrain