Skip to content

Commit 5476993

Browse files
committed
im a fat chud
1 parent 13c587a commit 5476993

2 files changed

Lines changed: 25 additions & 25 deletions

File tree

VCU/firmware/Core/Inc/params/default_params.h

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -89,30 +89,6 @@
8989
}, \
9090
.regen_linelock = { \
9191
.disable = true, \
92-
.pressure_only_test_mode = false, \
93-
.dc_bus_current_regen_is_negative = true, \
94-
.rear_pressure_zero_torque_psi = 0.0f, \
95-
.rear_pressure_reference_psi = 500.0f, \
96-
.rear_pressure_min_engage_psi = 10.0f, \
97-
.regen_torque_at_reference_pressure_nm = 67.0f, \
98-
.absolute_regen_torque_cap_nm = 230.0f, \
99-
.pedal_torque_open_pulse_threshold_nm = 70.0f, \
100-
.pedal_torque_open_pulse_cancel_threshold_nm = 50.0f, \
101-
.linelock_open_pulse_ms = 250u, \
102-
.linelock_close_delay_ms = 200u, \
103-
.pack_current_limit_a = 45.0f, \
104-
.hard_cut_margin_pct = 0.20f, \
105-
.hard_cut_reset_pressure_psi = 100.0f, \
106-
.pack_terminal_voltage_limit_v = 546.0f, \
107-
.pack_resistance_ohm = 0.442f, \
108-
.pack_series_cell_count = 130.0f, \
109-
.dynamic_voltage_reserve_v = 6.0f, \
110-
.pack_ocv_enable_v = 520.11f, \
111-
.pack_ocv_disable_hysteresis_v = 2.0f, \
112-
.max_cell_voltage_regen_disable_v = 4.05f, \
113-
.min_cell_temp_c = 10.0f, \
114-
.max_cell_temp_c = 55.0f, \
115-
.min_motor_speed_rpm = 219.49f, \
11692
}, \
11793
.buzzer_duration_ms = 1200u, \
11894
.brake_enable_threshold = 0.1f

VCU/firmware/Core/Inc/params/endurance_params.h

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,31 @@
66
static const vcu_parameters_t endurance_params = {
77
VCU_DEFAULT_PARAMS,
88
.regen_linelock = { \
9-
.disable = false, \
9+
.disable = false, \
10+
.pressure_only_test_mode = false, \
11+
.dc_bus_current_regen_is_negative = true, \
12+
.rear_pressure_zero_torque_psi = 0.0f, \
13+
.rear_pressure_reference_psi = 500.0f, \
14+
.rear_pressure_min_engage_psi = 10.0f, \
15+
.regen_torque_at_reference_pressure_nm = 67.0f, \
16+
.absolute_regen_torque_cap_nm = 230.0f, \
17+
.pedal_torque_open_pulse_threshold_nm = 70.0f, \
18+
.pedal_torque_open_pulse_cancel_threshold_nm = 50.0f, \
19+
.linelock_open_pulse_ms = 250u, \
20+
.linelock_close_delay_ms = 200u, \
21+
.pack_current_limit_a = 45.0f, \
22+
.hard_cut_margin_pct = 0.20f, \
23+
.hard_cut_reset_pressure_psi = 100.0f, \
24+
.pack_terminal_voltage_limit_v = 546.0f, \
25+
.pack_resistance_ohm = 0.442f, \
26+
.pack_series_cell_count = 130.0f, \
27+
.dynamic_voltage_reserve_v = 6.0f, \
28+
.pack_ocv_enable_v = 520.11f, \
29+
.pack_ocv_disable_hysteresis_v = 2.0f, \
30+
.max_cell_voltage_regen_disable_v = 4.05f, \
31+
.min_cell_temp_c = 10.0f, \
32+
.max_cell_temp_c = 55.0f, \
33+
.min_motor_speed_rpm = 219.49f, \
1034
}, \
1135
.event_mode = 4, \
1236
};

0 commit comments

Comments
 (0)