blob: 47169282fe602297e224f2b6539f9f4271162be8 [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
9// TODO(danielp): Figure out the real values for these constants.
Daniel Petti532c3e92014-11-04 22:15:19 -080010constexpr constants::ShifterHallEffect kBot3LeftDriveShifter =
11 {170, 475, 1.2, 1.0};
12constexpr constants::ShifterHallEffect kBot3RightDriveShifter =
13 {177, 486, 1.2, 1.0};
Daniel Pettiaece37f2014-10-25 17:13:44 -070014
15constexpr double kBot3TurnWidth = 0.5;
16constexpr double kBot3DrivetrainDoneDistance = 0.02;
17
18constexpr double kBot3HighGearRatio = 18.0 / 60.0 * 18.0 / 50.0;
19constexpr double kBot3LowGearRatio = 28.0 / 50.0 * 18.0 / 50.0;
20
21} // control_loops
22} // bot3
23
24#endif