SlowMediumRangeShot.java 文件源码

java
阅读 20 收藏 0 点赞 0 评论 0

项目:frc-2016 作者:
public SlowMediumRangeShot() {
    addSequential(new UnlockShooter()); // Release shooter piston
    // addSequential(new SetShooterSpeed(.9)); // Set shooter wheel PIDs
    addSequential(new SetShooterSpeed(.9));
    addParallel(new AimParallel());
    addSequential(new TurnToGoalWithGyroSlow()); // see TurnToGoalWithGyro()
    // addSequential(new WaitCommand(.5));
    addSequential(new Aim()); // Ajusts shooter angle based on distance algorithm
    addSequential(new MoveBallIntoStorage());
    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
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号