
first commit
Diff: driving.h
- Revision:
- 23:4c743746533c
- Parent:
- 21:9e6ddb590103
- Child:
- 25:8bd029d58251
--- a/driving.h Wed Nov 03 16:13:02 2021 +0000 +++ b/driving.h Wed Nov 03 21:52:00 2021 +0000 @@ -90,8 +90,8 @@ speedRightVolt = (speedSensorRight.read() * 3.3f); if(motor_enabled == true) { - //setpointLeft = 0.2; - //setpointRight = 0.2; + // setpointLeft = 0.1; + // setpointRight = 0.1; //--- Calculate Error --- errorLeft = setpointLeft - (speedLeftVolt / 3.3f); //error and setpoint is defined as a percentage, from 0 to 1 errorRight = setpointRight - (speedRightVolt / 3.3f);