blob: aaa5ebd967d29f1796365249f4bf587cb974f12c [file] [log] [blame]
Daniel Pettiaece37f2014-10-25 17:13:44 -07001#ifndef FRC971_SHIFTER_HALL_EFFECT_H_
2#define FRC971_SHIFTER_HALL_EFFECT_H_
3
4namespace frc971 {
5namespace constants {
6
7// Contains the voltages for an analog hall effect sensor on a shifter.
8struct ShifterHallEffect {
9 // The numbers to use for scaling raw voltages to 0-1.
10 // Low is near 0.0, high is near 1.0
11 double low_gear_middle, low_gear_low;
12 double high_gear_high, high_gear_middle;
13
14 // The numbers for when the dog is clear of each gear.
15 double clear_low, clear_high;
16};
17
18} // constants
19} // frc971
20
21#endif