pull/1/head
u-siri-ous 2020-01-15 15:16:05 +01:00
parent 023d42c868
commit 194812eb81
2 changed files with 5 additions and 4 deletions

View File

@ -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;

View File

@ -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(); */
}