aaaa
parent
023d42c868
commit
194812eb81
|
@ -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;
|
||||
|
|
|
@ -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(); */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue