1
Fork 0

add labels to motor debug graph

This commit is contained in:
Andy Killorin 2024-10-23 14:30:27 -04:00
parent 0336639c9c
commit e2b0360f10
Signed by: ank
GPG key ID: 23F9463ECB67FE8C

View file

@ -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');
} }