Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] TV-25 #166

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
1626e13
Pinouts and some tear down
mcgalliard Nov 5, 2024
9b431f0
small rebase tweak
mcgalliard Feb 4, 2025
0c14fd0
init usb usart
ironic1234 Feb 4, 2025
765a8f7
Changed/Added Faults
PrakharDrolia Feb 5, 2025
164cd47
add new temperature signals from motor/inverter
invertedparadox Feb 6, 2025
c4f35fb
UART testing
mcgalliard Feb 7, 2025
fae6a97
:wq!
mcgalliard Feb 7, 2025
9d20b0c
added some torque vectoring message
WuWilliam0713 Feb 7, 2025
b06fad4
added dummy number for build
WuWilliam0713 Feb 7, 2025
2b32793
Added VCU struct
PrakharDrolia Feb 7, 2025
7d3a91d
VCU PP generation files
PrakharDrolia Feb 7, 2025
2cfe907
remove sfs
invertedparadox Feb 8, 2025
8e13bc1
remove auto-calibration
invertedparadox Feb 8, 2025
1ecbfee
remove engine map
invertedparadox Feb 8, 2025
15c31f9
remove tv
invertedparadox Feb 8, 2025
cfe19b1
move vcu
invertedparadox Feb 8, 2025
acd33c3
cleaning up not duplicate code, unnecessary code, and prepping for ne…
invertedparadox Feb 8, 2025
065c8f9
added f data
WuWilliam0713 Feb 8, 2025
209a21c
added f data
WuWilliam0713 Feb 8, 2025
b7ffc3c
Create vcu_init.c
arclnx Feb 8, 2025
1e87de6
Update vcu_init.c
arclnx Feb 8, 2025
eabec33
Update main.c
arclnx Feb 8, 2025
f07fd1b
Update main.c
arclnx Feb 8, 2025
31d5bd9
modify vcu_main
WuWilliam0713 Feb 8, 2025
11462ae
adding AMK messages and other stuff
invertedparadox Feb 8, 2025
8c153d7
changed init
arclnx Feb 8, 2025
3d71df6
mostly done implementing VCU
invertedparadox Feb 9, 2025
4cd7a2f
adding AMK INV messages to main
invertedparadox Feb 11, 2025
d8ccca5
Initialize pVCU, xVCU, yVCU, fVCU
arclnx Feb 12, 2025
9e475f9
adding new CAN
invertedparadox Feb 15, 2025
0a90ef7
Changed inverter stale flags
arclnx Feb 15, 2025
58ca18c
Update vcu_pp.c
arclnx Feb 15, 2025
5fc5b8a
make units correct and cleanup
invertedparadox Mar 1, 2025
107de69
Added testing file
arclnx Mar 4, 2025
fa9f66e
Adjust indices
arclnx Mar 4, 2025
7412d42
fixed indices (again)
arclnx Mar 4, 2025
d3c7717
new VCU code
invertedparadox Mar 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
222 changes: 144 additions & 78 deletions common/daq/can_config.json

Large diffs are not rendered by default.

192 changes: 123 additions & 69 deletions common/daq/per_dbc.dbc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,34 @@ BO_ 2415921281 coolant_temps: 4 Main_Module
SG_ battery_out_temp : 8|8@1- (1,0) [0|0] "C" Vector__XXX
SG_ battery_in_temp : 0|8@1- (1,0) [0|0] "C" Vector__XXX

BO_ 2147484290 INVA_CRIT: 8 Main_Module
SG_ AMK_DisplayOverloadMotor : 48|16@1+ (0.1,0) [0|0] "%" Vector__XXX
SG_ AMK_DisplayOverloadInverter : 32|16@1+ (0.1,0) [0|0] "%" Vector__XXX
SG_ AMK_ActualTorque : 16|16@1- (0.1,0) [0|0] "Nm" Vector__XXX
SG_ AMK_ActualSpeed : 0|16@1- (1,0) [0|0] "rpm" Vector__XXX

BO_ 2147484292 INVA_TEMPS: 6 Main_Module
SG_ AMK_IGBTTemp : 32|16@1- (0.1,0) [0|0] "C" Vector__XXX
SG_ AMK_InverterTemp : 16|16@1- (0.1,0) [0|0] "C" Vector__XXX
SG_ AMK_MotorTemp : 0|16@1- (0.1,0) [0|0] "C" Vector__XXX

BO_ 2147484306 INVB_CRIT: 8 Main_Module
SG_ AMK_DisplayOverloadMotor : 48|16@1+ (0.1,0) [0|0] "%" Vector__XXX
SG_ AMK_DisplayOverloadInverter : 32|16@1+ (0.1,0) [0|0] "%" Vector__XXX
SG_ AMK_ActualTorque : 16|16@1- (0.1,0) [0|0] "Nm" Vector__XXX
SG_ AMK_ActualSpeed : 0|16@1- (1,0) [0|0] "rpm" Vector__XXX

BO_ 2147484308 INVB_TEMPS: 6 Main_Module
SG_ AMK_IGBTTemp : 32|16@1- (0.1,0) [0|0] "C" Vector__XXX
SG_ AMK_InverterTemp : 16|16@1- (0.1,0) [0|0] "C" Vector__XXX
SG_ AMK_MotorTemp : 0|16@1- (0.1,0) [0|0] "C" Vector__XXX

BO_ 2348813057 INV_Overload: 8 Main_Module
SG_ AMK_DisplayOverloadMotorB : 48|16@1+ (0.01,0) [0|0] "%" Vector__XXX
SG_ AMK_DisplayOverloadInverterB : 32|16@1+ (0.01,0) [0|0] "%" Vector__XXX
SG_ AMK_DisplayOverloadMotorA : 16|16@1+ (0.01,0) [0|0] "%" Vector__XXX
SG_ AMK_DisplayOverloadInverterA : 0|16@1+ (0.01,0) [0|0] "%" Vector__XXX

BO_ 2415921409 gearbox: 2 Main_Module
SG_ r_temp : 8|8@1- (1,0) [0|0] "" Vector__XXX
SG_ l_temp : 0|8@1- (1,0) [0|0] "" Vector__XXX
Expand All @@ -55,6 +83,12 @@ BO_ 2147485632 LWS_Config: 2 Main_Module
SG_ Reserved_1 : 3|5@1+ (1,0) [0|0] "" Vector__XXX
SG_ CCW : 0|3@1+ (1,0) [0|0] "" Vector__XXX

BO_ 2214593601 actual_torque_speed: 8 Main_Module
SG_ speed_right : 48|16@1- (1,0) [0|0] "rad/s" Vector__XXX
SG_ speed_left : 32|16@1- (1,0) [0|0] "rad/s" Vector__XXX
SG_ torque_right : 16|16@1- (0.01,0) [0|0] "Nm" Vector__XXX
SG_ torque_left : 0|16@1- (0.01,0) [0|0] "Nm" Vector__XXX

BO_ 2415983105 load_sensor_readings: 8 Main_Module
SG_ right_load_sensor : 32|32@1- (1,0) [0|0] "N" Vector__XXX
SG_ left_load_sensor : 0|32@1- (1,0) [0|0] "N" Vector__XXX
Expand Down Expand Up @@ -110,17 +144,19 @@ BO_ 2348811137 sdc_status: 2 Main_Module
SG_ BMS : 1|1@1+ (1,0) [0|0] "" Vector__XXX
SG_ IMD : 0|1@1+ (1,0) [0|0] "" Vector__XXX

BO_ 2415919873 rear_motor_temps: 4 Main_Module
SG_ right_ctrl_temp : 24|8@1+ (1,0) [0|0] "C" Vector__XXX
SG_ left_ctrl_temp : 16|8@1+ (1,0) [0|0] "C" Vector__XXX
SG_ right_mot_temp : 8|8@1+ (1,0) [0|0] "C" Vector__XXX
SG_ left_mot_temp : 0|8@1+ (1,0) [0|0] "C" Vector__XXX
BO_ 2415919873 rear_motor_temps: 6 Main_Module
SG_ right_igbt_temp : 40|8@1+ (0.1,0) [0|0] "C" Vector__XXX
SG_ left_igbt_temp : 32|8@1+ (0.1,0) [0|0] "C" Vector__XXX
SG_ right_inv_temp : 24|8@1+ (0.1,0) [0|0] "C" Vector__XXX
SG_ left_inv_temp : 16|8@1+ (0.1,0) [0|0] "C" Vector__XXX
SG_ right_mot_temp : 8|8@1+ (0.1,0) [0|0] "C" Vector__XXX
SG_ left_mot_temp : 0|8@1+ (0.1,0) [0|0] "C" Vector__XXX

BO_ 2214593409 rear_wheel_speeds: 8 Main_Module
SG_ right_speed_sensor : 48|16@1+ (0.01,0) [0|0] "rad/s" Vector__XXX
SG_ left_speed_sensor : 32|16@1+ (0.01,0) [0|0] "rad/s" Vector__XXX
SG_ right_speed_mc : 16|16@1+ (1,0) [0|0] "RPM" Vector__XXX
SG_ left_speed_mc : 0|16@1+ (1,0) [0|0] "RPM" Vector__XXX
SG_ right_speed_mc : 16|16@1+ (0.01,0) [0|0] "rad/s" Vector__XXX
SG_ left_speed_mc : 0|16@1+ (0.01,0) [0|0] "rad/s" Vector__XXX

BO_ 2148059649 fault_sync_main_module: 3 Main_Module
SG_ latched : 16|1@1+ (1,0) [0|0] "" Vector__XXX
Expand Down Expand Up @@ -286,25 +322,11 @@ BO_ 2348819383 imu_accel: 6 torque_vector
SG_ imu_accel_y : 16|16@1- (0.01,0) [0|0] "m/s^2" Vector__XXX
SG_ imu_accel_x : 0|16@1- (0.01,0) [0|0] "m/s^2" Vector__XXX

BO_ 2348819447 bmm_mag: 6 torque_vector
SG_ bmm_mag_z : 32|16@1- (1,0) [0|0] "uT" Vector__XXX
SG_ bmm_mag_y : 16|16@1- (1,0) [0|0] "uT" Vector__XXX
SG_ bmm_mag_x : 0|16@1- (1,0) [0|0] "uT" Vector__XXX

BO_ 2348902775 sfs_vel: 6 torque_vector
SG_ sfs_vel_z : 32|16@1- (0.01,0) [0|0] "m/s" Vector__XXX
SG_ sfs_vel_y : 16|16@1- (0.01,0) [0|0] "m/s" Vector__XXX
SG_ sfs_vel_x : 0|16@1- (0.01,0) [0|0] "m/s" Vector__XXX

BO_ 2348902839 sfs_acc: 6 torque_vector
SG_ sfs_acc_z : 32|16@1- (0.01,0) [0|0] "m/s^2" Vector__XXX
SG_ sfs_acc_y : 16|16@1- (0.01,0) [0|0] "m/s^2" Vector__XXX
SG_ sfs_acc_x : 0|16@1- (0.01,0) [0|0] "m/s^2" Vector__XXX

BO_ 2348902967 sfs_ang_vel: 6 torque_vector
SG_ sfs_ang_vel_z : 32|16@1- (0.0001,0) [0|0] "" Vector__XXX
SG_ sfs_ang_vel_y : 16|16@1- (0.0001,0) [0|0] "" Vector__XXX
SG_ sfs_ang_vel_x : 0|16@1- (0.0001,0) [0|0] "" Vector__XXX
BO_ 2416010039 tv_can_stats: 4 torque_vector
SG_ can_rx_overrun : 24|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ can_rx_overflow : 16|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ can_tx_fail : 8|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ can_tx_overflow : 0|8@1+ (1,0) [0|0] "" Vector__XXX

BO_ 2214602167 throttle_vcu: 4 torque_vector
SG_ vcu_k_rr : 16|16@1- (1,0) [0|0] "none" Vector__XXX
Expand All @@ -314,14 +336,19 @@ BO_ 2214602807 throttle_vcu_equal: 4 torque_vector
SG_ equal_k_rr : 16|16@1- (1,0) [0|0] "none" Vector__XXX
SG_ equal_k_rl : 0|16@1- (1,0) [0|0] "none" Vector__XXX

BO_ 2348820023 maxR: 2 torque_vector
SG_ vcu_max_r : 0|16@1- (1,0) [0|0] "none" Vector__XXX
BO_ 2214602423 VCU_torques_speeds: 8 torque_vector
SG_ WS_VS_equal : 48|16@1- (1,0) [0|0] "rad/s" Vector__XXX
SG_ TO_PT_equal : 32|16@1- (0.01,0) [0|0] "Nm" Vector__XXX
SG_ TO_VT_right : 16|16@1- (0.01,0) [0|0] "Nm" Vector__XXX
SG_ TO_VT_left : 0|16@1- (0.01,0) [0|0] "Nm" Vector__XXX

BO_ 2416010039 tv_can_stats: 4 torque_vector
SG_ can_rx_overrun : 24|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ can_rx_overflow : 16|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ can_tx_fail : 8|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ can_tx_overflow : 0|8@1+ (1,0) [0|0] "" Vector__XXX
BO_ 2281711351 vcu_soc_estimate: 4 torque_vector
SG_ Voc_estimate : 16|16@1- (0.015,0) [0|0] "V" Vector__XXX
SG_ SOC_estimate : 0|16@1- (3e-05,0) [0|0] "none" Vector__XXX

BO_ 2348820279 drive_modes: 2 torque_vector
SG_ VT_mode : 8|8@1- (1,0) [0|0] "" Vector__XXX
SG_ VCU_mode : 0|8@1- (1,0) [0|0] "" Vector__XXX

BO_ 2148059831 fault_sync_torque_vector: 3 torque_vector
SG_ latched : 16|1@1+ (1,0) [0|0] "" Vector__XXX
Expand Down Expand Up @@ -361,11 +388,13 @@ BO_ 2415925573 dashboard_volts_temp: 6 Dashboard
SG_ volts_5v : 16|16@1+ (1,0) [0|0] "" Vector__XXX
SG_ mcu_temp : 0|16@1- (1,0) [0|0] "" Vector__XXX

BO_ 2214596037 dashboard_tv_parameters: 7 Dashboard
SG_ tv_p_val : 33|16@1+ (1,0) [0|0] "" Vector__XXX
SG_ tv_intensity_val : 17|16@1+ (1,0) [0|0] "" Vector__XXX
SG_ tv_deadband_val : 1|16@1+ (1,0) [0|0] "" Vector__XXX
SG_ tv_enabled : 0|1@1+ (1,0) [0|0] "" Vector__XXX
BO_ 2214596037 dashboard_vcu_parameters: 5 Dashboard
SG_ vs_max_sr_val : 26|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ tc_tr_val : 18|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ tv_pp_val : 10|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ vt_db_val : 2|8@1+ (1,0) [0|0] "" Vector__XXX
SG_ vcu_cmode : 1|1@1+ (1,0) [0|0] "" Vector__XXX
SG_ vcu_fmode : 0|1@1+ (1,0) [0|0] "" Vector__XXX

BO_ 2214596101 dashboard_start_logging: 1 Dashboard
SG_ logging_enabled : 0|1@1+ (1,0) [0|0] "" Vector__XXX
Expand Down Expand Up @@ -653,13 +682,41 @@ CM_ SG_ 2415921281 drivetrain_out_temp "Out flow temperature of drivetrain coola
CM_ SG_ 2415921281 drivetrain_in_temp "In flow temperature of drivetrain coolant loop";
CM_ SG_ 2415921281 battery_out_temp "Out flow temperature of battery coolant loop";
CM_ SG_ 2415921281 battery_in_temp "In flow temperature of battery coolant loop";
CM_ BO_ 2147484290 "Contains the status word and actual values, Rear Left Tire";
CM_ SG_ 2147484290 AMK_DisplayOverloadMotor "";
CM_ SG_ 2147484290 AMK_DisplayOverloadInverter "";
CM_ SG_ 2147484290 AMK_ActualTorque "Actual torque value";
CM_ SG_ 2147484290 AMK_ActualSpeed "Actual speed value";
CM_ BO_ 2147484292 "Contains temperatures, Rear Left Tire";
CM_ SG_ 2147484292 AMK_IGBTTemp "IGBT temperature";
CM_ SG_ 2147484292 AMK_InverterTemp "Inverter cold plate temperature";
CM_ SG_ 2147484292 AMK_MotorTemp "Motor temperature";
CM_ BO_ 2147484306 "Contains the status word and actual values, Rear Right Tire";
CM_ SG_ 2147484306 AMK_DisplayOverloadMotor "";
CM_ SG_ 2147484306 AMK_DisplayOverloadInverter "";
CM_ SG_ 2147484306 AMK_ActualTorque "Actual torque value";
CM_ SG_ 2147484306 AMK_ActualSpeed "Actual speed value";
CM_ BO_ 2147484308 "Contains temperatures, Rear Right Tire";
CM_ SG_ 2147484308 AMK_IGBTTemp "IGBT temperature";
CM_ SG_ 2147484308 AMK_InverterTemp "Inverter cold plate temperature";
CM_ SG_ 2147484308 AMK_MotorTemp "Motor temperature";
CM_ BO_ 2348813057 "Display overload info";
CM_ SG_ 2348813057 AMK_DisplayOverloadMotorB "";
CM_ SG_ 2348813057 AMK_DisplayOverloadInverterB "";
CM_ SG_ 2348813057 AMK_DisplayOverloadMotorA "";
CM_ SG_ 2348813057 AMK_DisplayOverloadInverterA "";
CM_ BO_ 2415921409 "Gearbox temps";
CM_ SG_ 2415921409 r_temp "";
CM_ SG_ 2415921409 l_temp "";
CM_ BO_ 2147485632 "Steering sensor configuration";
CM_ SG_ 2147485632 Reserved_2 "";
CM_ SG_ 2147485632 Reserved_1 "";
CM_ SG_ 2147485632 CCW "";
CM_ BO_ 2214593601 "Actual Torque and Speed from AMK";
CM_ SG_ 2214593601 speed_right "";
CM_ SG_ 2214593601 speed_left "";
CM_ SG_ 2214593601 torque_right "";
CM_ SG_ 2214593601 torque_left "";
CM_ BO_ 2415983105 "Load Sensor readings from left and right";
CM_ SG_ 2415983105 right_load_sensor "";
CM_ SG_ 2415983105 left_load_sensor "";
Expand Down Expand Up @@ -713,8 +770,10 @@ CM_ SG_ 2348811137 BSPD "";
CM_ SG_ 2348811137 BMS "";
CM_ SG_ 2348811137 IMD "";
CM_ BO_ 2415919873 "Temperature of motor controllers and motors";
CM_ SG_ 2415919873 right_ctrl_temp "";
CM_ SG_ 2415919873 left_ctrl_temp "";
CM_ SG_ 2415919873 right_igbt_temp "";
CM_ SG_ 2415919873 left_igbt_temp "";
CM_ SG_ 2415919873 right_inv_temp "";
CM_ SG_ 2415919873 left_inv_temp "";
CM_ SG_ 2415919873 right_mot_temp "";
CM_ SG_ 2415919873 left_mot_temp "";
CM_ BO_ 2214593409 "Rear Wheel speeds from motor controllers";
Expand Down Expand Up @@ -861,35 +920,28 @@ CM_ BO_ 2348819383 "acceleration from imu";
CM_ SG_ 2348819383 imu_accel_z "";
CM_ SG_ 2348819383 imu_accel_y "";
CM_ SG_ 2348819383 imu_accel_x "";
CM_ BO_ 2348819447 "magnetic from bmm";
CM_ SG_ 2348819447 bmm_mag_z "";
CM_ SG_ 2348819447 bmm_mag_y "";
CM_ SG_ 2348819447 bmm_mag_x "";
CM_ BO_ 2348902775 "velocity from sfs";
CM_ SG_ 2348902775 sfs_vel_z "";
CM_ SG_ 2348902775 sfs_vel_y "";
CM_ SG_ 2348902775 sfs_vel_x "";
CM_ BO_ 2348902839 "acceleration from sfs";
CM_ SG_ 2348902839 sfs_acc_z "";
CM_ SG_ 2348902839 sfs_acc_y "";
CM_ SG_ 2348902839 sfs_acc_x "";
CM_ BO_ 2348902967 "orientation vel from sfs";
CM_ SG_ 2348902967 sfs_ang_vel_z "";
CM_ SG_ 2348902967 sfs_ang_vel_y "";
CM_ SG_ 2348902967 sfs_ang_vel_x "";
CM_ BO_ 2214602167 "throttle vcu";
CM_ SG_ 2214602167 vcu_k_rr "";
CM_ SG_ 2214602167 vcu_k_rl "";
CM_ BO_ 2214602807 "throttle vcu_equal";
CM_ SG_ 2214602807 equal_k_rr "";
CM_ SG_ 2214602807 equal_k_rl "";
CM_ BO_ 2348820023 "Maximum Allowed Throttle";
CM_ SG_ 2348820023 vcu_max_r "";
CM_ BO_ 2416010039 "CAN diagnostics";
CM_ SG_ 2416010039 can_rx_overrun "VCAN Rx FIFO overrun count";
CM_ SG_ 2416010039 can_rx_overflow "VCAN Rx queue overflow count";
CM_ SG_ 2416010039 can_tx_fail "VCAN Tx fail count (due to timeout in mailbox)";
CM_ SG_ 2416010039 can_tx_overflow "VCAN Tx queue overflow count";
CM_ BO_ 2214602167 "throttle vcu";
CM_ SG_ 2214602167 vcu_k_rr "";
CM_ SG_ 2214602167 vcu_k_rl "";
CM_ BO_ 2214602807 "throttle vcu equal";
CM_ SG_ 2214602807 equal_k_rr "";
CM_ SG_ 2214602807 equal_k_rl "";
CM_ BO_ 2214602423 "All torque setpoints and speed setpoints";
CM_ SG_ 2214602423 WS_VS_equal "";
CM_ SG_ 2214602423 TO_PT_equal "";
CM_ SG_ 2214602423 TO_VT_right "";
CM_ SG_ 2214602423 TO_VT_left "";
CM_ BO_ 2281711351 "Estimated Voc and SOC for HV battery";
CM_ SG_ 2281711351 Voc_estimate "";
CM_ SG_ 2281711351 SOC_estimate "";
CM_ BO_ 2348820279 "Drive Modes";
CM_ SG_ 2348820279 VT_mode "";
CM_ SG_ 2348820279 VCU_mode "";
CM_ BO_ 2148059831 "Fault status message";
CM_ SG_ 2148059831 latched "";
CM_ SG_ 2148059831 idx "";
Expand Down Expand Up @@ -920,11 +972,13 @@ CM_ BO_ 2415925573 "periodic dashboard MCU temp";
CM_ SG_ 2415925573 volts_3v3 "";
CM_ SG_ 2415925573 volts_5v "";
CM_ SG_ 2415925573 mcu_temp "";
CM_ BO_ 2214596037 "periodic dashboard tv parameters";
CM_ SG_ 2214596037 tv_p_val "";
CM_ SG_ 2214596037 tv_intensity_val "";
CM_ SG_ 2214596037 tv_deadband_val "";
CM_ SG_ 2214596037 tv_enabled "";
CM_ BO_ 2214596037 "periodic dashboard vcu parameters";
CM_ SG_ 2214596037 vs_max_sr_val "";
CM_ SG_ 2214596037 tc_tr_val "";
CM_ SG_ 2214596037 tv_pp_val "";
CM_ SG_ 2214596037 vt_db_val "";
CM_ SG_ 2214596037 vcu_cmode "";
CM_ SG_ 2214596037 vcu_fmode "";
CM_ BO_ 2214596101 "start logging";
CM_ SG_ 2214596101 logging_enabled "";
CM_ BO_ 2416009989 "CAN diagnostics";
Expand Down
38 changes: 10 additions & 28 deletions common/faults/fault_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -719,67 +719,49 @@
"node_name":"torque_vector",
"faults": [
{
"fault_name": "TV_Disabled",
"fault_name": "ET_Enabled",
"max": 1,
"min": 0,
"priority": "warning",
"time_to_latch": 10,
"time_to_unlatch": 10,
"lcd_message": "TV Disabled"
"lcd_message": "VCU Mode 1"
},
{
"fault_name": "MM_Disabled",
"fault_name": "PT_Enabled",
"max": 1,
"min": 0,
"priority": "warning",
"time_to_latch": 10,
"time_to_unlatch": 10,
"lcd_message": "MM Disabled"
"lcd_message": "VCU Mode 2"
},
{
"fault_name": "TV_Uncalibrated",
"fault_name": "VS_Enabled",
"max": 1,
"min": 0,
"priority": "warning",
"time_to_latch": 10,
"time_to_unlatch": 10,
"lcd_message": "TV Uncalibrated"
"lcd_message": "VCU Mode 3"
},
{
"fault_name": "No_GPS_Fix",
"max": 1,
"min": 0,
"priority": "warning",
"time_to_latch": 10,
"time_to_unlatch": 10,
"lcd_message": "No GPS Fix"
},
{
"fault_name": "TV_Enabled",
"fault_name": "VT_Enabled",
"max": 1,
"min": 0,
"priority": "warning",
"time_to_latch": 10,
"time_to_unlatch": 10,
"lcd_message": "TV Enabled"
"lcd_message": "VCU Mode 4"
},
{
"fault_name": "MM_Enabled",
"max": 1,
"min": 0,
"priority": "warning",
"time_to_latch": 10,
"time_to_unlatch": 10,
"lcd_message": "MM Enabled"
},
{
"fault_name": "TV_Calibrated",
"fault_name": "No_GPS_Fix",
"max": 1,
"min": 0,
"priority": "warning",
"time_to_latch": 10,
"time_to_unlatch": 10,
"lcd_message": "TV Calibrated"
"lcd_message": "No GPS Fix"
},
{
"fault_name": "Yes_GPS_Fix",
Expand Down
Loading