blob: 0a6536078de70c7d9a4abfdef34a68086f26ab3d [file] [log] [blame]
Comran Morshede9b12922015-11-04 19:46:48 +00001#ifndef BOT3_SHIFTER_HALL_EFFECT_H_
2#define BOT3_SHIFTER_HALL_EFFECT_H_
3
Stephan Pleinesf63bde82024-01-13 15:59:33 -08004namespace bot3::constants {
Comran Morshede9b12922015-11-04 19:46:48 +00005
6// Contains the voltages for an analog hall effect sensor on a shifter.
7struct ShifterHallEffect {
8 // The numbers to use for scaling raw voltages to 0-1.
9 double high, low;
10
11 // The numbers for when the dog is clear of each gear.
12 double clear_high, clear_low;
13};
14
Stephan Pleinesf63bde82024-01-13 15:59:33 -080015} // namespace bot3::constants
Comran Morshede9b12922015-11-04 19:46:48 +000016
17#endif