25262728293031323334
public boolean shooterState; public BallShooter() { super("BallShooter"); leftShooterMotor = new Jaguar(RobotMap.SHOOTER_LEFT); rightShooterMotor = new Jaguar(RobotMap.SHOOTER_RIGHT); shooterState = false; }
2627282930313233
private double unlocked = -1.0; public BridgeArm() { super("BridgeArm"); bridgeArm_Jag = new Jaguar(RobotMap.BRIDGE_PUSHER); bridgeArmLock = new Servo(RobotMap.BRIDGE_ARM_LOCK_MODULE, RobotMap.BRIDGE_ARM_LOCK); }
29303132333435363738
} public BallPickup() { super("BallPickup"); leftPickupMotor_Lower = new Jaguar(RobotMap.PICKUP_LEFT_LOWER); rightPickupMotor_Lower = new Jaguar(RobotMap.PICKUP_RIGHT_LOWER); pickupMotor_Upper = new Jaguar(RobotMap.PICKUP_UPPER); }
20212223242526
/** * Creates a jaguar at a channel. The channel is the port number on the Digital side car * @param channel */ public GRTJaguar(int channel) { jaguar = new Jaguar(4,channel); }
16171819202122
public class GRTJaguar extends Actuator implements PIDOutput{ private Jaguar jaguar; public GRTJaguar(int channel) { jaguar = new Jaguar(channel); }
/** * Creates a jaguar at a channel. The channel is the port number on the Digital side car * @param channel */ public GRTJaguar(int channel) { jaguar = new Jaguar(channel); }