![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Code to drive Team 1's robot for the 2016 R5 robotics competition.
Dependencies: mbed navigation R5_StepperDrive LongRangeSensor DistanceSensor scanner Gripper ColorSensor
Diff: r5driver.cpp
- Revision:
- 30:c07381708ffd
- Parent:
- 29:e77e8891d985
- Child:
- 32:82bfece56f8f
--- a/r5driver.cpp Fri Mar 25 19:51:18 2016 +0000 +++ b/r5driver.cpp Sat Mar 26 05:09:40 2016 +0000 @@ -39,7 +39,7 @@ LongRangeSensor longRangeL(pc, PTB2); LongRangeSensor longRangeR(pc, PTB3); - Scanner scanner(pc, PTB0, PTB1, shortRangeL, shortRangeR, longRangeL, longRangeR, 0.075); + Scanner scanner(pc, drive, PTB0, PTB1, shortRangeL, shortRangeR, longRangeL, longRangeR, 0.075); // (Serial &, PinName servoL, PinName servoR, shortRangeL, shortRangeR, longRangeL, longRangeR, period) Navigation r5nav(scanner, 15);