B6 progress
This commit is contained in:
parent
2f3b1def90
commit
678c0f1432
|
@ -37,10 +37,11 @@ TEST(LuaVag, packMotor1) {
|
|||
setTwoBytes(data, 2, rpm / 0.25)
|
||||
data[5] = innerTorqWithoutExt / 0.4
|
||||
data[6] = tps / 0.4
|
||||
data[7] = torqueLoss / 0.39
|
||||
|
||||
print(arrayToString(data))
|
||||
|
||||
expected = { 0x00, 0x27, 0xDC, 0x12, 0x36, 0x4F, 0x00, 0x00 }
|
||||
expected = { 0x00, 0x27, 0xDC, 0x12, 0x36, 0x4F, 0x19, 0x00 }
|
||||
-- print(data)
|
||||
return equals(data, expected)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue