MidGearAuto.java 文件源码

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

项目:VikingRobot 作者:
public MidGearAuto() {
    System.out.println("Placing mid gear");
    addSequential(new CalibrateGyro());
    addSequential(new CloseGearManipulator());
    addSequential(new ConstantDrive(.5, 2),2);
    addSequential(new WaitCommand(0.5));
    addSequential(new Rotate(0));
    /*addSequential(new GyroDistanceDrive(1*12),1);
    addSequential(new WaitCommand(.5));
    addSequential(new OpenGearManipulator());
    addSequential(new WaitCommand(.5));
    addSequential(new ConstantDrive(-.5,1));*/
    //(This stays commented out) addSequential(new SoftwareDistanceDrive(-3 * 12));
    addSequential(new CloseGearManipulator());
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号