add labels to motor debug graph
This commit is contained in:
parent
0336639c9c
commit
e2b0360f10
1 changed files with 4 additions and 3 deletions
|
@ -137,12 +137,13 @@ protected:
|
||||||
|
|
||||||
if(debug)
|
if(debug)
|
||||||
{
|
{
|
||||||
|
Serial.print("target:");
|
||||||
Serial.print(targetSpeed);
|
Serial.print(targetSpeed);
|
||||||
Serial.print('\t');
|
Serial.print("\tspeed:");
|
||||||
Serial.print(speed);
|
Serial.print(speed);
|
||||||
Serial.print('\t');
|
Serial.print("\terror:");
|
||||||
Serial.print(error);
|
Serial.print(error);
|
||||||
Serial.print('\t');
|
Serial.print("\teffort:");
|
||||||
Serial.print(effort / 10.0); // N.B. that we divide by 10 to make the graph cleaner
|
Serial.print(effort / 10.0); // N.B. that we divide by 10 to make the graph cleaner
|
||||||
Serial.print('\n');
|
Serial.print('\n');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue