public class AutonHopperShoot extends CommandGroup {
private static final double DISTANCE_TO_HOPPER = 224.569677;
+ private static final double DISTANCE_TO_TURNING_POSITION = 5.0;
public AutonHopperShoot() {
// Robot drives from center to front of airship
- addSequential(new DriveDistance(5.0, 1));
+ addSequential(new DriveDistance(DISTANCE_TO_TURNING_POSITION, 1));
// Robot turns towards hopper
addSequential(new TurnForAngle(45.0, Constants.Direction.RIGHT, 1.0));
// Robot drives near hopper