File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ static pedal_data_t pedal_data = { 0 };
7171#define MAX_VOLTS_UNSCALED 5.0 // (Volts). Actual sensor voltage before voltage divider scaling.
7272
7373/* Pedal Tuning */
74- #define MAX_APPS1_VOLTS 3.12 // (Volts). Upper bound on APPS1 voltage range.
75- #define MIN_APPS1_VOLTS 2.15 // (Volts). Lower bound on APPS1 voltage range.
76- #define MAX_APPS2_VOLTS 2.01 // (Volts). Upper bound on APPS2 voltage range.
77- #define MIN_APPS2_VOLTS 1.15 // (Volts). Lower bound on APPS2 voltage range.
78- #define PEDAL_BRAKE_THRESH 0.12 // (Percantage). Pedal position above which the system registers the brake pedal as "pressed".
74+ #define MAX_APPS1_VOLTS 3.3 // (Volts). Upper bound on APPS1 voltage range.
75+ #define MIN_APPS1_VOLTS 2.1 // (Volts). Lower bound on APPS1 voltage range.
76+ #define MAX_APPS2_VOLTS 2.2 // (Volts). Upper bound on APPS2 voltage range.
77+ #define MIN_APPS2_VOLTS 1.1 // (Volts). Lower bound on APPS2 voltage range.
78+ #define PEDAL_BRAKE_THRESH 0.15 // (Percantage). Pedal position above which the system registers the brake pedal as "pressed".
7979#define PEDAL_HARD_BRAKE_THRESH 0.22 // (Percentage). Pedal position above which a "hard brake" is detected.
8080
8181/* Performance Limits */
You can’t perform that action at this time.
0 commit comments