Final Version from RoboticHackathon 4.-5. April 2015
Dependencies: Autopilot dillerdasker Rfid mbed
Fork of RoboticHackathon2 by
Diff: hack_motor.cpp
- Revision:
- 3:9289c1e52ca5
- Parent:
- 2:b996c95912b5
diff -r b996c95912b5 -r 9289c1e52ca5 hack_motor.cpp --- a/hack_motor.cpp Mon Apr 07 06:24:19 2014 +0000 +++ b/hack_motor.cpp Tue Apr 08 14:56:42 2014 +0000 @@ -38,16 +38,16 @@ void Wheel::right() { - M1A.write(0.75); //Left side forward 50% - M2A.write(0.25); //Right side backwards 50% + M1A.write(0.75); //Left side forward 75% + M2A.write(0.25); //Right side backwards 75% M1B = 0; M2B = 1; } void Wheel::left() { - M1A.write(0.25); //Right side forward 50% - M2A.write(0.75); //Left side backwards 50% + M1A.write(0.25); //Right side forward 75% + M2A.write(0.75); //Left side backwards 75% M1B = 1; M2B = 0; }