1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package org.usfirst.frc.team4272.robot2016; public class Autonomous { private final HwRobot robot; public Autonomous(HwRobot robot) { this.robot = robot; } public Control run(Control c) { //if (!robot.armL.get()) { // c.arm = -0.2; //} else { // c.arm = 0; // robot.armE.reset(); //} return c; } }