blob: 8563cbef4da872b9e10a8cfcacece77e65bbb4af [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
Daniel Petti532c3e92014-11-04 22:15:19 -08004#include "bot3/shifter_hall_effect.h"
Daniel Pettiaece37f2014-10-25 17:13:44 -07005
6namespace bot3 {
7namespace control_loops {
8
Daniel Petti532c3e92014-11-04 22:15:19 -08009constexpr constants::ShifterHallEffect kBot3LeftDriveShifter =
Daniel Pettiaf41bb22014-11-14 12:45:30 -080010 {426, 171, 0.6, 0.47};
Daniel Petti532c3e92014-11-04 22:15:19 -080011constexpr constants::ShifterHallEffect kBot3RightDriveShifter =
Daniel Pettiaf41bb22014-11-14 12:45:30 -080012 {424, 172, 0.62, 0.55};
Daniel Pettiaece37f2014-10-25 17:13:44 -070013
14constexpr double kBot3TurnWidth = 0.5;
15constexpr double kBot3DrivetrainDoneDistance = 0.02;
16
Daniel Pettiaf41bb22014-11-14 12:45:30 -080017constexpr double kBot3LowGearRatio = 14.0 / 60.0 * 17.0 / 50.0;
18constexpr double kBot3HighGearRatio = 30.0 / 44.0 * 17.0 / 50.0;
Daniel Pettiaece37f2014-10-25 17:13:44 -070019
20} // control_loops
21} // bot3
22
23#endif