Robot.java 文件源码

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

项目:Cybercavs2016Code 作者:
public void teleopInit() {
    // This makes sure that the autonomous stops running when
    // teleop starts running. If you want the autonomous to
    // continue until interrupted by another command, remove
    // this line or comment it out.
    if (autonomousCommand != null) {
        autonomousCommand.cancel();
    }
    if (Robot.catapult.getPreviousShooterState() != 0) {
        Robot.catapult.setShooterState(Robot.catapult.getPreviousShooterState());
        Command cmd1 = new Shoot();
        cmd1.start();

    }
    Robot.robotDrive.setIsInAuto(false);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号