Class TorqueLogiPro

java.lang.Object
edu.wpi.first.wpilibj.GenericHID
edu.wpi.first.wpilibj.Joystick
org.texastorque.torquelib.legacy.TorqueLogiPro

public class TorqueLogiPro extends edu.wpi.first.wpilibj.Joystick
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     

    Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.Joystick

    edu.wpi.first.wpilibj.Joystick.AxisType, edu.wpi.first.wpilibj.Joystick.ButtonType

    Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.GenericHID

    edu.wpi.first.wpilibj.GenericHID.HIDType, edu.wpi.first.wpilibj.GenericHID.RumbleType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final int
     

    Fields inherited from class edu.wpi.first.wpilibj.Joystick

    kDefaultThrottleChannel, kDefaultTwistChannel, kDefaultXChannel, kDefaultYChannel, kDefaultZChannel
  • Constructor Summary

    Constructors
    Constructor
    Description
    TorqueLogiPro(int port)
     
    TorqueLogiPro(int port, double deadband)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    atPovState(int angle)
     
    boolean
     
    boolean
    getButtonByIndex(int index)
     
    double
     
     
    double
     
    double
     
    boolean
     
    double
     

    Methods inherited from class edu.wpi.first.wpilibj.Joystick

    getDirectionDegrees, getDirectionRadians, getMagnitude, getThrottleChannel, getTop, getTopPressed, getTopReleased, getTriggerPressed, getTriggerReleased, getTwist, getTwistChannel, getX, getXChannel, getY, getYChannel, getZ, getZChannel, setThrottleChannel, setTwistChannel, setXChannel, setYChannel, setZChannel, top, trigger

    Methods inherited from class edu.wpi.first.wpilibj.GenericHID

    axisGreaterThan, axisLessThan, button, getAxisCount, getAxisType, getButtonCount, getName, getPort, getPOV, getPOV, getPOVCount, getRawAxis, getRawButton, getRawButtonPressed, getRawButtonReleased, getType, isConnected, pov, pov, povCenter, povDown, povDownLeft, povDownRight, povLeft, povRight, povUp, povUpLeft, povUpRight, setOutput, setOutputs, setRumble

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • port

      protected final int port
  • Constructor Details

    • TorqueLogiPro

      public TorqueLogiPro(int port)
    • TorqueLogiPro

      public TorqueLogiPro(int port, double deadband)
  • Method Details

    • getTrigger

      public boolean getTrigger()
      Overrides:
      getTrigger in class edu.wpi.first.wpilibj.Joystick
    • getButtonByIndex

      public boolean getButtonByIndex(int index)
    • getPovState

      public TorqueLogiPro.PovState getPovState()
    • atPovState

      public boolean atPovState(TorqueLogiPro.PovState state)
    • atPovState

      public boolean atPovState(int angle)
    • getRoll

      public double getRoll()
    • getPitch

      public double getPitch()
    • getYaw

      public double getYaw()
    • getThrottle

      public double getThrottle()
      Overrides:
      getThrottle in class edu.wpi.first.wpilibj.Joystick