Package com.grt192.core

Examples of com.grt192.core.Message


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

        GRTXboxController primary = new GRTXboxController(1, 12, "primary");
        GRTXboxController secondary = null; //new GRTXboxController(2, 12, "secondary");
        System.out.println("Joysticks Initialized");

        // PWM outputs
        GRTVictor leftDT1 = new GRTVictor(4);

        GRTVictor leftDT2 = new GRTVictor(3);

        GRTVictor rightDT1 = new GRTVictor(6);

        GRTVictor rightDT2 = new GRTVictor(10);

        System.out.println("Motors Initialized");

        // analog inputs
        InternetRPC rpc = new InternetRPC(180);
View Full Code Here

        listeners.removeElement(l);
    }

    /** Notifies all CANTimeoutListeners that a CANTimeoutException has occurred **/
    public void notifyCANTimeout() {
        GRTCANJaguarException ex = new GRTCANJaguarException(GRTCANJaguarException.CAN_TIMEOUT, this);
        for (int i = 0; i < listeners.size(); i++) {
            ((CANTimeoutListener) listeners.elementAt(i)).CANTimedOut(ex);
        }
    }
View Full Code Here

        // camera = new CameraAssembly();
        // System.out.println("Camera Initialized");

        // Controllers
        dbController = new DashBoardController();
        dbController.start();
        System.out.println("Dashboard Initialized");


        driveControl = new XboxDriver(robotbase, driverStation);
View Full Code Here

TOP

Related Classes of com.grt192.core.Message

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.