mirror of
https://github.com/team2059/Zaphod
synced 2024-12-18 20:12:28 -05:00
Fixed compile errors
This commit is contained in:
parent
47012760aa
commit
3aabd1195b
@ -277,8 +277,6 @@ public:
|
|||||||
myRobot.SetSafetyEnabled(false);
|
myRobot.SetSafetyEnabled(false);
|
||||||
int i=0;
|
int i=0;
|
||||||
int c=0;
|
int c=0;
|
||||||
float getSecondBallStart=(SmartDashboard::GetNumber("Reverse direction start"))*200;
|
|
||||||
float getSecondBallStop=(SmartDashboard::GetNumber("Reverse direction stop"))*200;
|
|
||||||
float power=SmartDashboard::GetNumber("AutoPower");
|
float power=SmartDashboard::GetNumber("AutoPower");
|
||||||
float correction=SmartDashboard::GetNumber("AutoCorrection");
|
float correction=SmartDashboard::GetNumber("AutoCorrection");
|
||||||
int currentStep=0;
|
int currentStep=0;
|
||||||
@ -340,7 +338,7 @@ public:
|
|||||||
}
|
}
|
||||||
//}}}
|
//}}}
|
||||||
//}}}
|
//}}}
|
||||||
}else(SmartDashboard::GetNumber("Autonomous Sequence")==1){
|
}else if(SmartDashboard::GetNumber("Autonomous Sequence")==1){
|
||||||
//Autonomous1{{{
|
//Autonomous1{{{
|
||||||
//Drive{{{
|
//Drive{{{
|
||||||
if(currentStep==0){
|
if(currentStep==0){
|
||||||
@ -419,7 +417,7 @@ public:
|
|||||||
}
|
}
|
||||||
//}}}
|
//}}}
|
||||||
//}}}
|
//}}}
|
||||||
}else(SmartDashboard::GetNumber("Autonomous Sequence")==2){
|
}else if(SmartDashboard::GetNumber("Autonomous Sequence")==2){
|
||||||
//Autonomous2{{{
|
//Autonomous2{{{
|
||||||
//Drive{{{
|
//Drive{{{
|
||||||
if(currentStep==0){
|
if(currentStep==0){
|
||||||
|
Loading…
Reference in New Issue
Block a user