Skip to content

Commit

Permalink
Updated CAN library to convert brake pressure sensor to PSI
Browse files Browse the repository at this point in the history
  • Loading branch information
jhwang04 committed Sep 22, 2024
1 parent c9a6b5f commit 3709293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PCAN_project/hytech.sym
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Sig=max_torque unsigned 8
Sig=torque_mode unsigned 8 // torque mode
Sig=distance_traveled_m unsigned 16 /f:0.01
Sig=accel_percent_float unsigned 8 /u:percent /f:0.39215686275 /ln:"acceleration pedal percent travel" // The percentage of accel pedal travel represented by an unsigned float
Sig=brake_sensor_analog_read unsigned 16 /u:NA /ln:"The analog reading from the brake pressure sensor. NO UNITS."
Sig=brake_sensor_analog_read unsigned 16 /u:psi /f:3.0517578125 /o:-312.5 /ln:"The brake pressure output in PSI based on datasheet (NOT on calibration)"
Sig=group_id unsigned 4
Sig=cell_1_balancing_status unsigned 1
Sig=cell_2_balancing_status unsigned 1
Expand Down

0 comments on commit 3709293

Please sign in to comment.