Commit | Line | Data |
---|---|---|
54c588d9 CZ |
1 | package org.usfirst.frc.team3501.robot.commands.driving; |
2 | ||
3 | import org.usfirst.frc.team3501.robot.Constants; | |
4 | ||
5 | import edu.wpi.first.wpilibj.command.CommandGroup; | |
6 | ||
7 | /** | |
8 | * | |
9 | */ | |
10 | public class Turn180 extends CommandGroup { | |
11 | ||
12 | public Turn180() { | |
13 | addSequential(new TurnForAngle(180, 5)); | |
14 | Constants.DriveTrain.inverted = !Constants.DriveTrain.inverted; | |
15 | } | |
16 | } |