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; } }