Skip to content

Commit fb267f7

Browse files
committed
params
1 parent 9c0e418 commit fb267f7

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
static const vcu_parameters_t acceleration_params = {
77
VCU_DEFAULT_PARAMS,
8+
.traction_control = { \
9+
.enabled = true, \
10+
// TODO put tc params here
11+
}, \
812
.event_mode = 1, \
913
};
1014

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
.power_limit_trim_ki = 0.6f, \
7979
.power_limit_trim_integral_max = 20000.0f, \
8080
}, \
81+
.traction_control = { \
82+
.enabled = false, \
83+
}, \
8184
.battery = { \
8285
.cell_voltage_ema_alpha = 0.005f, \
8386
.soe_from_cell_voltage = { \

0 commit comments

Comments
 (0)