We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccea63d commit a53e273Copy full SHA for a53e273
ETC/src/etc_controller.h
@@ -89,8 +89,7 @@ class ETCController {
89
static constexpr float MAX_VOLTAGE = 3.3f;
90
91
/** The percentage tolerance for the brake pedal to be considered pressed. */
92
- // static constexpr float BRAKE_TOLERANCE = 0.382f;
93
- static constexpr float BRAKE_TOLERANCE = 0.0f;
+ static constexpr float BRAKE_TOLERANCE = 0.380f;
94
95
/** The voltage divider slope for the hall-effect 1 sensor. */
96
static constexpr float HE1_SCALE = (330.0f / 480.0f);
0 commit comments