forked from baradhili/leaf_can_bus_messages
-
-
Notifications
You must be signed in to change notification settings - Fork 43
Anti‐lock Braking System (ABS)
Daniel Öster edited this page Dec 19, 2024
·
2 revisions
- Name: SWA (°)
- Type: Integer
-
Description:
Steering wheel angle. The angle ranges from-720
to720
degrees with negative values indicating a left turn. -
Query:
0x740 03 22 12 08 00 00 00 00
-
Answer:
0x760 05 62 12 08 AA BB 00 00
- Formula:
SWA = ( data[4] << 8 ) | data[5];
if (SWA & 32768 == 32768):
SWA = SWA | -65536;
SWA = SWA / 10
- Name: Brake
- Type: Integer
-
Description:
Brake pedal pressure measured from0
(not pressed) to369
(max). Unit is unknown. -
Query:
0x740 03 22 12 09 00 00 00 00
-
Answer:
0x760 05 62 12 09 AA BB 00 00
-
Formula:
Brake = (data[4] << 8) | data[5]
- Name: Acc Pedal
- Type: Integer
-
Description:
Acceleration pedal pressure measured from0
(not pressed) to200
(max). Unit is unknown. -
Query:
0x740 03 22 11 15 00 00 00 00
-
Answer:
0x760 04 62 11 15 AA 00 00 00
-
Formula:
Acc Pedal = data[4]