import frc.robot.commands.drive_comm.DefaultDriveCommand;
import frc.robot.commands.gpm.AutoShootCommand;
import frc.robot.commands.gpm.ClimbDriveCommand;
+import frc.robot.commands.gpm.Superstructure;
import frc.robot.commands.vision.ShutdownAllPis;
import frc.robot.constants.AutoConstants;
import frc.robot.constants.Constants;
} catch (IOException | ParseException e) {
e.printStackTrace();
}
+ if(turret != null){
+ turret.setDefaultCommand(new Superstructure(turret, drive, hood, shooter, spindexer));
+ }
drive.setDefaultCommand(new DefaultDriveCommand(drive, driver));
break;
}
FieldConstants.getHubTranslation().minus(new Translation3d(drivepose.getTranslation())),
8.0); // Random initial goalState to prevent it being null
- addRequirements(turret);
+ addRequirements(turret, shooter, hood);
}
public void updateSetpoints(Pose2d drivepose) {