mirror of
https://github.com/Team4388/2018-Robot.git
synced 2026-06-09 00:38:04 -06:00
Auto Updates
This commit is contained in:
@@ -32,11 +32,10 @@ public class CenterLeft extends CommandGroup {
|
|||||||
addSequential(new DriveStraightBasic(-15, 30, true, true, 0));
|
addSequential(new DriveStraightBasic(-15, 30, true, true, 0));
|
||||||
addSequential(new DriveTurnBasic(true, 115, 150, MPSoftwareTurnType.TANK));
|
addSequential(new DriveTurnBasic(true, 115, 150, MPSoftwareTurnType.TANK));
|
||||||
addSequential(new WaitCommand(.2));
|
addSequential(new WaitCommand(.2));
|
||||||
addSequential(new DriveStraightBasic(80, 45, true, true, 0));
|
|
||||||
addSequential(new ElevatorBasic(30));
|
addSequential(new ElevatorBasic(30));
|
||||||
addSequential(new DriveTurnBasic(true, 28, 150, MPSoftwareTurnType.TANK));
|
addSequential(new DriveTurnBasic(true, 32, 150, MPSoftwareTurnType.TANK));
|
||||||
addParallel(new TimeoutBecaseYea());
|
addParallel(new TimeoutBecaseYea());
|
||||||
addSequential(new DriveStraightBasic(12, 45, true, true, 0));
|
addSequential(new DriveStraightBasic(25, 60, true, true, 0));
|
||||||
|
|
||||||
addSequential(new WaitCommand(3));
|
addSequential(new WaitCommand(3));
|
||||||
addSequential(new DriveStraightBasic(-20, 45, true, true, 0));
|
addSequential(new DriveStraightBasic(-20, 45, true, true, 0));
|
||||||
|
|||||||
@@ -31,17 +31,17 @@ public class CenterLeft2Cube extends CommandGroup {
|
|||||||
addSequential(new DriveStraightBasic(-15, 30, true, true, 0));
|
addSequential(new DriveStraightBasic(-15, 30, true, true, 0));
|
||||||
addSequential(new DriveTurnBasic(true, 115, 150, MPSoftwareTurnType.TANK));
|
addSequential(new DriveTurnBasic(true, 115, 150, MPSoftwareTurnType.TANK));
|
||||||
addSequential(new WaitCommand(.2));
|
addSequential(new WaitCommand(.2));
|
||||||
addSequential(new DriveStraightBasic(70, 45, true, true, 0));
|
addSequential(new DriveStraightBasic(70, 60, true, true, 0));
|
||||||
addSequential(new ElevatorBasic(30));
|
addSequential(new ElevatorBasic(30));
|
||||||
addSequential(new DriveTurnBasic(true, 30, 150, MPSoftwareTurnType.TANK));
|
addSequential(new DriveTurnBasic(true, 32, 150, MPSoftwareTurnType.TANK));
|
||||||
addParallel(new TimeoutBecaseYea());
|
addParallel(new TimeoutBecaseYea());
|
||||||
addSequential(new DriveStraightBasic(18, 45, true, true, 0));
|
addSequential(new DriveStraightBasic(25, 60, true, true, 0));
|
||||||
addSequential(new WaitCommand(1));
|
addSequential(new WaitCommand(1));
|
||||||
addSequential(new DriveStraightBasic(-20, 45, true, true, 0));
|
addSequential(new DriveStraightBasic(-20, 45, true, true, 0));
|
||||||
addSequential(new ElevatorBasic(3));
|
addSequential(new ElevatorBasic(3));
|
||||||
addSequential(new DriveTurnBasic(true, 75, 150, MPSoftwareTurnType.TANK));
|
addSequential(new DriveTurnBasic(true, 75, 150, MPSoftwareTurnType.TANK));
|
||||||
addSequential(new IntakeSetSpeed(Carriage.CUBE_INTAKE_SPEED));
|
addSequential(new IntakeSetSpeed(Carriage.CUBE_INTAKE_SPEED));
|
||||||
addSequential(new DriveStraightBasic(45, 45, true, true, 0));
|
addSequential(new DriveStraightBasic(40, 45, true, true, 0));
|
||||||
addSequential(new WaitCommand(2));
|
addSequential(new WaitCommand(2));
|
||||||
addSequential(new IntakePosition(true));
|
addSequential(new IntakePosition(true));
|
||||||
addSequential(new DriveStraightBasic(-40, 45, true, true, 0));
|
addSequential(new DriveStraightBasic(-40, 45, true, true, 0));
|
||||||
|
|||||||
@@ -655,7 +655,7 @@ public class Drive extends Subsystem implements ControlLoopable
|
|||||||
m_steerInput, m_steerNonLinear, STEER_NON_LINEARITY);
|
m_steerInput, m_steerNonLinear, STEER_NON_LINEARITY);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_drive.arcadeDrive(m_moveOutput, m_steerOutput*.85);
|
m_drive.arcadeDrive(m_moveOutput, m_steerOutput*.75);
|
||||||
// break;
|
// break;
|
||||||
// case CONTROLLER_XBOX_ARCADE_RIGHT:
|
// case CONTROLLER_XBOX_ARCADE_RIGHT:
|
||||||
// m_moveInput =
|
// m_moveInput =
|
||||||
|
|||||||
Reference in New Issue
Block a user