Skip to content

Commit

Permalink
Add steering system and status tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
CL16gtgh committed May 16, 2024
1 parent 6fb3a76 commit ca93881
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions PCAN_project/hytech.sym
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ Sig=controller_tcs_w_steer_lower_b unsigned 12 /f:0.01
Sig=controller_tcs_w_steer_upper_b unsigned 12 /f:0.01
Sig=controller_tcs_launch_LRdiff unsigned 13 /f:0.01
Sig=torque_controller_mux_status tc_mux_status 3
Sig=steering_system_status unsigned 2 // 0 : nominal; 1 : marginal; 2 : degraded; 3 : error
Sig=steering_encoder_status unsigned 2 // 0 : nominal; 1 : marginal; 2 : error
Sig=steering_analog_status unsigned 1 // 0 : good; 1 : clamped
Sig=steering_system_angle signed 16 /f:0.01 // Angle reported by steering system

{SENDRECEIVE}

Expand Down Expand Up @@ -1658,3 +1662,11 @@ Sig=controller_tcs_launch_LRdiff 51
ID=101h // this message will have states internal to the MCU code
Len=8
Sig=torque_controller_mux_status 0

[STEERING_SYSTEM_REPORT]
ID=41Fh // Steering reading; system and sensor status
Len=8
Sig=steering_system_angle 0
Sig=steering_system_status 16
Sig=steering_encoder_status 18
Sig=steering_analog_status 20

0 comments on commit ca93881

Please sign in to comment.