public BackwardMovingShot() {
addSequential(new UnlockShooter()); // Release shooter piston
addSequential(new SetShooterSpeed(.9)); // Set shooter wheel PIDs
addParallel(new AimParallel());
addSequential(new TurnToGoalWhileDrivingBackward()); // see TurnToGoalWhileDrivingBackward()
addSequential(new WaitCommand(.5));
addSequential(new Aim()); // Ajusts shooter angle based on distance algorithm
// addSequential(new WaitCommand(.5)); // Waits for shooter to settle
addSequential(new MoveBallIntoShooter()); // Drive feeder roller untill ball leaves
addSequential(new WaitCommand(.25)); // Guarantee ball has left
addSequential(new SetShooterSpeed(0.0)); // Spin down shooter
addSequential(new CancelShot()); // Free up shooting subsystems
addSequential(new DriveWithJoysticks()); // Return control to the driver
}
BackwardMovingShot.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:frc-2016
作者:
评论列表
文章目录