Accelerations
Channel Number | 8 |
Total Length | 6 bytes |
Channel | Data1 | Data2 | Data3 | Data4 | Checksum |
Lateral = Data1 And 0x7F + Data2 / 0x100
If (Data1 And 0x80)=0 Then Lateral = -Lateral
Longitudinal = Data3 And &H7F + Data4 / 0x100
If (Data3 And &H80)=0 Then Longitudinal = -Longitudinal
Sign Convention
Longitudinal is positive for acceleration, negative for braking.
Lateral is positive for cornering around a RH bend, negative for cornering around a LH bend.