blob: 9d49d599e0545b54dbe2f29f3108455c906d3c25 [file] [log] [blame]
Daniel Pettiaece37f2014-10-25 17:13:44 -07001#ifndef BOT3_CONTROL_LOOPS_DRIVETRAIN_CONSTANTS_H_
2#define BOT3_CONTROL_LOOPS_DRIVETRAIN_CONSTANTS_H_
3
4#include "frc971/control_loops/state_feedback_loop.h"
5#include "frc971/shifter_hall_effect.h"
6
7namespace bot3 {
8namespace control_loops {
9
10// TODO(danielp): Figure out the real values for these constants.
11constexpr ::frc971::constants::ShifterHallEffect kBot3LeftDriveShifter =
12 {555, 657, 660, 560, 0.2, 0.7};
13constexpr ::frc971::constants::ShifterHallEffect kBot3RightDriveShifter =
14 {555, 660, 644, 552, 0.2, 0.7};
15
16constexpr double kBot3TurnWidth = 0.5;
17constexpr double kBot3DrivetrainDoneDistance = 0.02;
18
19constexpr double kBot3HighGearRatio = 18.0 / 60.0 * 18.0 / 50.0;
20constexpr double kBot3LowGearRatio = 28.0 / 50.0 * 18.0 / 50.0;
21
22} // control_loops
23} // bot3
24
25#endif