This commit is contained in:
parent
247ad0ddec
commit
f01ca818ab
|
@ -163,6 +163,7 @@ MOTOR_1 = 0x280
|
|||
TCU_1 = 0x440
|
||||
TCU_2 = 0x540
|
||||
BRAKE_2 = 0x5A0
|
||||
MOTOR_INFO = 0x580
|
||||
MOTOR_7 = 0x588
|
||||
|
||||
canRxAdd(AIRBAG)
|
||||
|
@ -202,8 +203,9 @@ function xorChecksum(data)
|
|||
return data[1] ~ data[2] ~ data[3] ~ data[4] ~ data[5] ~ data[6] ~ data[7]
|
||||
end
|
||||
|
||||
canMotor1 = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
|
||||
canMotor7 = { 0x1A, 0x66, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00 }
|
||||
canMotor1 = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
|
||||
canMotorInfo = { 0x00, 0x00, 0x00, 0x14, 0x1C, 0x93, 0x48, 0x14 }
|
||||
canMotor7 = { 0x1A, 0x66, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00 }
|
||||
|
||||
setTickRate(100)
|
||||
|
||||
|
|
Loading…
Reference in New Issue