Skip to content

Commit af6ab71

Browse files
committed
re-tune to new APPS sensor placements
1 parent a53e273 commit af6ab71

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ETC/src/etc_controller.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,18 @@ class ETCController {
9494
/** The voltage divider slope for the hall-effect 1 sensor. */
9595
static constexpr float HE1_SCALE = (330.0f / 480.0f);
9696
/** The voltage for HE1 corresponding to 0% pedal travel. */
97-
static constexpr float HE1_LOW_VOLTAGE = 0.425f;
97+
static constexpr float HE1_LOW_VOLTAGE = 0.585f; // 0.425f
9898
/** The voltage for HE1 corresponding to 100% pedal travel. */
99-
static constexpr float HE1_HIGH_VOLTAGE = 2.420f;
99+
static constexpr float HE1_HIGH_VOLTAGE = 2.650f; // 2.420f
100100
/** The difference between the maximum and minimum voltages (100% and 0% travel) for HE1. */
101101
static constexpr float HE1_RANGE =
102102
ETCController::HE1_HIGH_VOLTAGE - ETCController::HE1_LOW_VOLTAGE;
103103
/** The voltage divider slope for the hall-effect 2 sensor. */
104104
static constexpr float HE2_SCALE = (1.0f / 2.0f);
105105
/** The voltage for HE2 corresponding to 0% pedal travel. */
106-
static constexpr float HE2_LOW_VOLTAGE = 0.417f;
106+
static constexpr float HE2_LOW_VOLTAGE = 0.505f; // 0.417f
107107
/** The voltage for HE2 corresponding to 100% pedal travel. */
108-
static constexpr float HE2_HIGH_VOLTAGE = 1.830f;
108+
static constexpr float HE2_HIGH_VOLTAGE = 2.130f; // 1.830f
109109
/** The difference between the maximum and minimum voltages (100% and 0% travel) for HE2. */
110110
static constexpr float HE2_RANGE =
111111
ETCController::HE2_HIGH_VOLTAGE - ETCController::HE2_LOW_VOLTAGE;

0 commit comments

Comments
 (0)