Comran Morshed | e9b1292 | 2015-11-04 19:46:48 +0000 | [diff] [blame] | 1 | #ifndef BOT3_SHIFTER_HALL_EFFECT_H_ |
| 2 | #define BOT3_SHIFTER_HALL_EFFECT_H_ |
| 3 | |
| 4 | namespace bot3 { |
| 5 | namespace constants { |
| 6 | |
| 7 | // Contains the voltages for an analog hall effect sensor on a shifter. |
| 8 | struct ShifterHallEffect { |
| 9 | // The numbers to use for scaling raw voltages to 0-1. |
| 10 | double high, low; |
| 11 | |
| 12 | // The numbers for when the dog is clear of each gear. |
| 13 | double clear_high, clear_low; |
| 14 | }; |
| 15 | |
Philipp Schrader | 790cb54 | 2023-07-05 21:06:52 -0700 | [diff] [blame] | 16 | } // namespace constants |
| 17 | } // namespace bot3 |
Comran Morshed | e9b1292 | 2015-11-04 19:46:48 +0000 | [diff] [blame] | 18 | |
| 19 | #endif |