comp changes
This commit is contained in:
parent
0147b49ceb
commit
2ce727fd40
@ -30,7 +30,7 @@ void near_side() {
|
|||||||
turnSync(90);
|
turnSync(90);
|
||||||
|
|
||||||
toggleIntake(false);
|
toggleIntake(false);
|
||||||
pros::delay(50);
|
pros::delay(125);
|
||||||
driveSync(22, true);
|
driveSync(22, true);
|
||||||
driveSync(-19, true);
|
driveSync(-19, true);
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ void far_side() {
|
|||||||
turnSync(135);
|
turnSync(135);
|
||||||
driveSync(90, true);
|
driveSync(90, true);
|
||||||
wings.open(); // Open our wings as they are being used to contact the bar
|
wings.open(); // Open our wings as they are being used to contact the bar
|
||||||
turnSync(120); // Turn slightly to guarantee contact
|
turnSync(120);
|
||||||
}
|
}
|
||||||
|
|
||||||
void skills() {
|
void skills() {
|
||||||
@ -103,12 +103,19 @@ void skills() {
|
|||||||
wings.open();
|
wings.open();
|
||||||
|
|
||||||
togglePto(true);
|
togglePto(true);
|
||||||
|
pros::delay(100);
|
||||||
timer.reset();
|
timer.reset();
|
||||||
while (timer.getElapsedTimeMS() < 30000) {
|
while (timer.getElapsedTimeMS() < 35000) {
|
||||||
runCata(-12000);
|
motor_trb.move_voltage(-12000);
|
||||||
}
|
}
|
||||||
runCata(0);
|
motor_trb.move_voltage(0); // i hate my life
|
||||||
togglePto(false);
|
togglePto(false);
|
||||||
|
|
||||||
wings.close();
|
wings.close();
|
||||||
|
|
||||||
|
driveSync(-35, true);
|
||||||
|
turnSync(10);
|
||||||
|
driveSync(-40, true);
|
||||||
|
turnSync(45);
|
||||||
|
driveSync(125, true);
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user