B6 progress

This commit is contained in:
Andrey 2022-08-26 00:24:38 -04:00
parent caa9f1cf3c
commit fefa1048fc
1 changed files with 2 additions and 1 deletions

View File

@ -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