aa
Dependencies: mbed TrapezoidControl QEI
Diff: System/Process/Process.cpp
- Revision:
- 34:cef6c124a52d
- Parent:
- 33:656aa14904a5
- Child:
- 35:94f026ab4d30
--- a/System/Process/Process.cpp Sat Sep 21 13:14:12 2019 +0000 +++ b/System/Process/Process.cpp Sun Sep 22 00:53:45 2019 +0000 @@ -2140,29 +2140,29 @@ mtc=false; break; case 255: - motor[TIRE_BL].pwm += 5; + motor[TIRE_FL].pwm += 5; mtc=false; break; case 253: - motor[TIRE_BL].pwm += 10; + motor[TIRE_FL].pwm += 10; mtc=false; break; case 254: - motor[TIRE_BL].pwm += 20; - motor[TIRE_BR].pwm = 0; + motor[TIRE_FL].pwm += 20; + motor[TIRE_FR].pwm = 0; mtc=false; break; case 1: - motor[TIRE_BR].pwm += 5; + motor[TIRE_FR].pwm += 5; mtc=false; break; case 3: - motor[TIRE_BR].pwm += 10; + motor[TIRE_FR].pwm += 10; mtc=false; break; case 2: - motor[TIRE_BR].pwm += 20; - motor[TIRE_BL].pwm = 0; + motor[TIRE_FR].pwm += 20; + motor[TIRE_FL].pwm = 0; mtc=false; break; } @@ -2458,29 +2458,29 @@ mtc=false; break; case 255: - motor[TIRE_FR].pwm += 5; + motor[TIRE_BR].pwm += 5; mtc=false; break; case 253: - motor[TIRE_FR].pwm += 10; + motor[TIRE_BR].pwm += 10; mtc=false; break; case 254: - motor[TIRE_FR].pwm += 20; - motor[TIRE_FL].pwm = 0; + motor[TIRE_BR].pwm += 20; + motor[TIRE_BL].pwm = 0; mtc=false; break; case 1: - motor[TIRE_FL].pwm += 5; + motor[TIRE_BL].pwm += 5; mtc=false; break; case 3: - motor[TIRE_FL].pwm += 10; + motor[TIRE_BL].pwm += 10; mtc=false; break; case 2: - motor[TIRE_FL].pwm += 20; - motor[TIRE_FR].pwm = 0; + motor[TIRE_BL].pwm += 20; + motor[TIRE_BR].pwm = 0; mtc=false; break; } @@ -2772,29 +2772,29 @@ mtc=false; break; case 255: - motor[TIRE_FR].pwm += 5; + motor[TIRE_BR].pwm += 5; mtc=false; break; case 253: - motor[TIRE_FR].pwm += 10; + motor[TIRE_BR].pwm += 10; mtc=false; break; case 254: - motor[TIRE_FR].pwm += 20; - motor[TIRE_FL].pwm = 0; + motor[TIRE_BR].pwm += 20; + motor[TIRE_BL].pwm = 0; mtc=false; break; case 1: - motor[TIRE_FL].pwm += 5; + motor[TIRE_BL].pwm += 5; mtc=false; break; case 3: - motor[TIRE_FL].pwm += 10; + motor[TIRE_BL].pwm += 10; mtc=false; break; case 2: - motor[TIRE_FL].pwm += 20; - motor[TIRE_FR].pwm = 0; + motor[TIRE_BL].pwm += 20; + motor[TIRE_BR].pwm = 0; mtc=false; break; }