27282930313233
public BridgeArm() { super("BridgeArm"); bridgeArm_Jag = new Jaguar(RobotMap.BRIDGE_PUSHER); bridgeArmLock = new Servo(RobotMap.BRIDGE_ARM_LOCK_MODULE, RobotMap.BRIDGE_ARM_LOCK); }
19202122232425
/** * Creates servo and sets it to a port number on the digital side car as specified * @param channel */ public GRTServo(int channel) { servo = new Servo(channel); }
15161718192021
public class GRTServo extends Actuator { private Servo servo; public GRTServo(int channel) { servo = new Servo(channel); }