mirror of
https://github.com/supleed2/ELEC50003-P1-CW.git
synced 2024-11-10 01:35:50 +00:00
Add battery cycle tracking to Command<->Control reference doc
This commit is contained in:
parent
0483397ae6
commit
f3ca90fb2e
|
@ -17,6 +17,7 @@ void loop()
|
||||||
state = rdoc["st"]; // State: -1 = Error, 0 = Idle, 1 = Moving, 2 = Charging
|
state = rdoc["st"]; // State: -1 = Error, 0 = Idle, 1 = Moving, 2 = Charging
|
||||||
batteryVoltage = rdoc["bV"];
|
batteryVoltage = rdoc["bV"];
|
||||||
batteryLevel = rdoc["bL"];
|
batteryLevel = rdoc["bL"];
|
||||||
|
batteryCycles = rdoc["bC"];
|
||||||
totalTripDistance = rdoc["tD"];
|
totalTripDistance = rdoc["tD"];
|
||||||
currentHeading = rdoc["cH"];
|
currentHeading = rdoc["cH"];
|
||||||
current_x = rdoc["pos"][0];
|
current_x = rdoc["pos"][0];
|
||||||
|
|
Loading…
Reference in a new issue