Diana Vandenberg | 223703d | 2017-01-28 17:39:53 -0800 | [diff] [blame] | 1 | #ifndef Y2017_CONTROL_LOOPS_DRIVETRAIN_DRIVETRAIN_BASE_H_ |
| 2 | #define Y2017_CONTROL_LOOPS_DRIVETRAIN_DRIVETRAIN_BASE_H_ |
| 3 | |
| 4 | #include "frc971/control_loops/drivetrain/drivetrain_config.h" |
| 5 | |
| 6 | namespace y2017 { |
Austin Schuh | aab05dc | 2017-02-04 22:13:38 -0800 | [diff] [blame] | 7 | namespace constants { |
| 8 | // The ratio from the encoder shaft to the drivetrain wheels. |
| 9 | static constexpr double kDrivetrainEncoderRatio = 1.0; |
| 10 | |
| 11 | } // namespace constants |
Diana Vandenberg | 223703d | 2017-01-28 17:39:53 -0800 | [diff] [blame] | 12 | namespace control_loops { |
| 13 | namespace drivetrain { |
Diana Vandenberg | 223703d | 2017-01-28 17:39:53 -0800 | [diff] [blame] | 14 | const ::frc971::control_loops::drivetrain::DrivetrainConfig & |
| 15 | GetDrivetrainConfig(); |
| 16 | |
| 17 | } // namespace drivetrain |
| 18 | } // namespace control_loops |
| 19 | } // namespace y2017 |
| 20 | |
| 21 | #endif // Y2017_CONTROL_LOOPS_DRIVETRAIN_DRIVETRAIN_BASE_H_ |