Package com.grt192.controller.cannonbot

Examples of com.grt192.controller.cannonbot.TargetController


  private AsynchronousPIDController leftDriveControl;
  private AsynchronousPIDController rightDriveControl;

  public CBTankDriveTrain(int lfpin, int rfpin, int gyropin) {
    this(new GRTCANJaguar(lfpin), new GRTCANJaguar(rfpin), new GRTGyro(
        gyropin, 5, "cangyro"));
  }
View Full Code Here


    private AsynchronousPIDController turnControl;
    private AsynchronousPIDController leftDriveControl;
    private AsynchronousPIDController rightDriveControl;

    public CBPWMTankDriveTrain(int lfpin, int rfpin, int gyropin, int LeftChanela, int LeftChanelb, int RightChanela, int RightChanelb) {
        this(new GRTJaguar(lfpin), new GRTJaguar(rfpin), new GRTGyro(
                gyropin, 5, "cangyro"), LeftChanela, LeftChanelb, RightChanela, RightChanelb);
    }
View Full Code Here

    private GRTJaguar topJag3;
    private GRTJaguar topJag4;
    private GRTJaguar topJag5;

    public BenchMechanism() {
        bottomJag1 = new GRTJaguar(2);
        bottomJag1.start();
        bottomJag2 = new GRTJaguar(3);
        bottomJag2.start();
        bottomJag3 = new GRTJaguar(4);
        bottomJag3.start();
        bottomJag4 = new GRTJaguar(5);
        bottomJag4.start();

        topJag1 = new GRTJaguar(6);
        topJag1.start();

        topJag2 = new GRTJaguar(7);
        topJag2.start();

        topJag3 = new GRTJaguar(8);
        topJag3.start();

        topJag4 = new GRTJaguar(9);
        topJag4.start();

        topJag5 = new GRTJaguar(10);
        topJag5.start();

        addActuator("top1", topJag1);
        addActuator("top2", topJag2);
        addActuator("top3", topJag3);
View Full Code Here

    private GRTJaguar leftMotor;
    private GRTJaguar rightMotor;
    private boolean debug;

    public BenchFinaleMechanism(int left, int right, boolean debug) {
        leftMotor = new GRTJaguar(left);
        leftMotor.start();
        rightMotor = new GRTJaguar(right);
        rightMotor.start();
        this.debug = debug;
    }
View Full Code Here

    public BenchCameraAssembly(int port, boolean debug) {
        camera = new GRTAxisCamera("Camera");
        camera.start();
        addSensor("camera", camera);
        servo = new GRTServo(port);
        addActuator("servo", servo);
        servo.start();
        this.debug = debug;
    }
View Full Code Here

  private int activeBarrel;
  private int inactiveBarrel;

  public CBCannon(int tasolpin, int tbsolpin, int tssolpin1, int tssolpin2,
      GRTCompressor compressor) {
    this(new GRTSolenoid(tasolpin), new GRTSolenoid(tbsolpin),
        new GRTTwoWaySolenoid(tssolpin1, tssolpin2),
        compressor);

  }
View Full Code Here

     */
    public HauntedHouseMechanism(int solPin) {
        //we identify mechanisms by solenoid
        solenoidID = "Solenoid" + solPin;

        solenoid = new GRTSolenoid(solPin);
        addActuator(solenoidID, solenoid);
        solenoid.start();

//        this.extended = true;
    }
View Full Code Here

        this.solPin = solPin;

        switchID = "Switch" + switchPin;
        solenoidID = "Solenoid" + solPin;

        solenoid = new GRTSolenoid(solPin);
        sswitch = new GRTSwitch(switchPin, 50, switchID);

//        this.extended = true;
        init();
    }
View Full Code Here

  private GRTCompressor compressor;
  private boolean extended;
  private boolean toggling;

  public CBArm(int exsolpin1, int exsolpin2, GRTCompressor compressor) {
    this(new GRTTwoWaySolenoid(exsolpin1, exsolpin2), compressor);
  }
View Full Code Here

  private int inactiveBarrel;

  public CBCannon(int tasolpin, int tbsolpin, int tssolpin1, int tssolpin2,
      GRTCompressor compressor) {
    this(new GRTSolenoid(tasolpin), new GRTSolenoid(tbsolpin),
        new GRTTwoWaySolenoid(tssolpin1, tssolpin2),
        compressor);

  }
View Full Code Here

TOP

Related Classes of com.grt192.controller.cannonbot.TargetController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.