mirror of
https://github.com/supleed2/ELEC50003-P1-CW.git
synced 2024-12-22 21:45:49 +00:00
Add odometer reset flag to Drive<->Control reference doc
This commit is contained in:
parent
bbec96810f
commit
39603efd3c
|
@ -21,6 +21,7 @@ void loop()
|
||||||
int distance = rdoc["dist"];
|
int distance = rdoc["dist"];
|
||||||
float speed = rdoc["sp"];
|
float speed = rdoc["sp"];
|
||||||
int currentHeading = rdoc["cH"];
|
int currentHeading = rdoc["cH"];
|
||||||
|
bool resetDistanceTravelled = rdoc["rstD"];
|
||||||
|
|
||||||
bool commandComplete = 0;
|
bool commandComplete = 0;
|
||||||
float powerUsage_mW = 0.0;
|
float powerUsage_mW = 0.0;
|
||||||
|
|
Loading…
Reference in a new issue