From 194812eb817359fc5cd77fa749b0a1900d8f2433 Mon Sep 17 00:00:00 2001 From: u-siri-ous Date: Wed, 15 Jan 2020 15:16:05 +0100 Subject: [PATCH] aaaa --- src/drivecontroller.cpp | 2 +- src/main.cpp | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/drivecontroller.cpp b/src/drivecontroller.cpp index 2539bc5..af2653d 100755 --- a/src/drivecontroller.cpp +++ b/src/drivecontroller.cpp @@ -34,7 +34,7 @@ DriveController::DriveController(Motor* m1_, Motor* m2_, Motor* m3_, Motor* m4_) integral = 0; } -void DriveController::prepareDrive(int dir=0, int speed=0, int tilt=0){ +void DriveController::prepareDrive(int dir, int speed, int tilt){ pDir = dir; pSpeed = speed; pTilt = tilt; diff --git a/src/main.cpp b/src/main.cpp index f02c5c1..7e62f00 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,10 +16,11 @@ void setup() { void loop() { updateSensors(); - + camera->test(); + /* goalie->play(role==1); - keeper->play(role==0); + keeper->play(role==0); */ // Last thing to do: movement - drive->drivePrepared(); +/* drive->drivePrepared(); */ }