All Classes
+-
+
- + +
diff --git a/javadoc/allclasses-index.html b/javadoc/allclasses-index.html new file mode 100644 index 00000000..5b7a581a --- /dev/null +++ b/javadoc/allclasses-index.html @@ -0,0 +1,1534 @@ + + + +
+ +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+protected final int |
+lidar_address |
+98 |
+
+
+protected final int |
+lidar_config_register |
+0 |
+
+
+protected final int |
+lidar_distance_register |
+143 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final java.lang.String |
+IN_MEMORY_STORE_NAME |
+"InMemoryStore" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final java.lang.String |
+SOLENOID_POWER_MODE |
+"VIRTUAL_SOLENOID" |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final double |
+kThrottleDeadband |
+0.02 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public final double |
+defaultPValue |
+0.0125 |
+
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final double |
+FACING_AWAY_FROM_DRIVERS |
+0.0 |
+
+
+public static final double |
+FACING_TOWARDS_DRIVERS |
+-180.0 |
+
+
+public static final double |
+INCHES_IN_A_METER |
+39.3701 |
+
Method | +Description | +
---|---|
xbot.common.command.BaseCommand.requires(BaseSubsystem) | +
+ Suggest use
+CommandBase.addRequirements(edu.wpi.first.wpilibj2.command.Subsystem...) instead. |
+
xbot.common.controls.actuators.wpi_adapters.CANVictorSPXWpiAdapter.configureFilter(FilterConfiguration, int, int, boolean) | ++ |
xbot.common.controls.actuators.wpi_adapters.CANVictorSPXWpiAdapter.configureSlot(SlotConfiguration) | ++ |
xbot.common.injection.DevicePolice.registerDevice(DevicePolice.DeviceType, int) | ++ |
xbot.common.math.PIDManager.isOnTarget(double) | ++ |
XAnalogInput.XAnalogInputFactory
@AssistedFactory +public abstract static class MockAnalogInput.MockAnalogInputFactory +extends java.lang.Object +implements XAnalogInput.XAnalogInputFactory+
Constructor | +Description | +
---|---|
MockAnalogInputFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockAnalogInput |
+create(int channel) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract MockAnalogInput create(@Assisted("channel") + int channel)+
create
in interface XAnalogInput.XAnalogInputFactory
XBaseIO
, ISimulatableSensor
public class MockAnalogInput +extends XAnalogInput +implements ISimulatableSensor+
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockAnalogInput.MockAnalogInputFactory |
++ |
XAnalogInput.XAnalogInputFactory
Constructor | +Description | +
---|---|
MockAnalogInput(int channel,
+ DevicePolice police) |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
boolean |
+getAsDigital(double threshold) |
++ |
double |
+getAverageVoltage() |
++ |
int |
+getChannel() |
++ |
double |
+getVoltage() |
++ |
void |
+ingestSimulationData(org.json.JSONObject payload) |
++ |
void |
+setAverageBits(int bits) |
++ |
void |
+setVoltage(double voltage) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@AssistedInject +public MockAnalogInput(@Assisted("channel") + int channel, + DevicePolice police)+
public void setVoltage(double voltage)+
public double getVoltage()+
getVoltage
in class XAnalogInput
public double getAverageVoltage()+
getAverageVoltage
in class XAnalogInput
public void setAverageBits(int bits)+
setAverageBits
in class XAnalogInput
public int getChannel()+
getChannel
in interface XBaseIO
public boolean getAsDigital(double threshold)+
getAsDigital
in class XAnalogInput
public void ingestSimulationData(org.json.JSONObject payload)+
ingestSimulationData
in interface ISimulatableSensor
XCompressor.XCompressorFactory
@AssistedFactory +public abstract static class MockCompressor.MockCompressorFactory +extends java.lang.Object +implements XCompressor.XCompressorFactory+
Constructor | +Description | +
---|---|
MockCompressorFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockCompressor |
+create() |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract MockCompressor create()+
create
in interface XCompressor.XCompressorFactory
public class MockCompressor +extends XCompressor+
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockCompressor.MockCompressorFactory |
++ |
XCompressor.XCompressorFactory
Constructor | +Description | +
---|---|
MockCompressor() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
void |
+disable() |
++ |
void |
+enable() |
++ |
boolean |
+isEnabled() |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void disable()+
disable
in class XCompressor
public void enable()+
enable
in class XCompressor
public boolean isEnabled()+
isEnabled
in class XCompressor
XDigitalInput.XDigitalInputFactory
@AssistedFactory +public abstract static class MockDigitalInput.MockDigitalInputFactory +extends java.lang.Object +implements XDigitalInput.XDigitalInputFactory+
Constructor | +Description | +
---|---|
MockDigitalInputFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockDigitalInput |
+create(int channel) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract MockDigitalInput create(@Assisted("channel") + int channel)+
create
in interface XDigitalInput.XDigitalInputFactory
XBaseIO
, ISimulatableSensor
public class MockDigitalInput +extends XDigitalInput +implements ISimulatableSensor+
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockDigitalInput.MockDigitalInputFactory |
++ |
XDigitalInput.XDigitalInputFactory
Constructor | +Description | +
---|---|
MockDigitalInput(int channel,
+ DevicePolice police) |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
int |
+getChannel() |
++ |
boolean |
+getRaw() |
++ |
void |
+ingestSimulationData(org.json.JSONObject payload) |
++ |
void |
+setInverted(boolean inverted) |
++ |
void |
+setValue(boolean value) |
++ |
get, getInverted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@AssistedInject +public MockDigitalInput(@Assisted("channel") + int channel, + DevicePolice police)+
public void setValue(boolean value)+
public void setInverted(boolean inverted)+
setInverted
in class XDigitalInput
public boolean getRaw()+
getRaw
in class XDigitalInput
public int getChannel()+
getChannel
in interface XBaseIO
public void ingestSimulationData(org.json.JSONObject payload)+
ingestSimulationData
in interface ISimulatableSensor
XDigitalOutput.XDigitalOutputFactory
@AssistedFactory +public abstract static class MockDigitalOutput.MockDigitalOutputFactory +extends java.lang.Object +implements XDigitalOutput.XDigitalOutputFactory+
Constructor | +Description | +
---|---|
MockDigitalOutputFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockDigitalOutput |
+create(int channel) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract MockDigitalOutput create(@Assisted("channel") + int channel)+
create
in interface XDigitalOutput.XDigitalOutputFactory
XBaseIO
public class MockDigitalOutput +extends XDigitalOutput+
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockDigitalOutput.MockDigitalOutputFactory |
++ |
XDigitalOutput.XDigitalOutputFactory
Constructor | +Description | +
---|---|
MockDigitalOutput(int channel,
+ DevicePolice police) |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
void |
+disablePWM() |
++ |
void |
+enablePWM(double initialDutyCycle) |
++ |
boolean |
+get() |
++ |
void |
+set(boolean value) |
++ |
void |
+setPWMRate(double frequency) |
+
+ Set the PWM frequency of ALL DIGITAL OUTPUT PWM CHANNELS
+ |
+
void |
+updateDutyCycle(double dutyCycle) |
++ |
getChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@AssistedInject +public MockDigitalOutput(@Assisted("channel") + int channel, + DevicePolice police)+
public void set(boolean value)+
set
in class XDigitalOutput
public void setPWMRate(double frequency)+
XDigitalOutput
setPWMRate
in class XDigitalOutput
frequency
- PWM frequencypublic void enablePWM(double initialDutyCycle)+
enablePWM
in class XDigitalOutput
public void updateDutyCycle(double dutyCycle)+
updateDutyCycle
in class XDigitalOutput
public void disablePWM()+
disablePWM
in class XDigitalOutput
public boolean get()+
get
in class XDigitalOutput
DistanceSensor
public class MockDistanceSensor +extends java.lang.Object +implements DistanceSensor+
Constructor | +Description | +
---|---|
MockDistanceSensor() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
double |
+getDistance() |
++ |
void |
+incrementDistance(double delta) |
++ |
void |
+setAveraging(boolean shouldAverage) |
++ |
void |
+setDistance(double distance) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public double getDistance()+
getDistance
in interface DistanceSensor
public void setDistance(double distance)+
public void incrementDistance(double delta)+
public void setAveraging(boolean shouldAverage)+
setAveraging
in interface DistanceSensor
DistanceSensorPair
public class MockDistanceSensorPair +extends java.lang.Object +implements DistanceSensorPair+
Constructor | +Description | +
---|---|
MockDistanceSensorPair() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
DistanceSensor |
+getSensorA() |
++ |
DistanceSensor |
+getSensorB() |
++ |
void |
+update() |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public DistanceSensor getSensorA()+
getSensorA
in interface DistanceSensorPair
public DistanceSensor getSensorB()+
getSensorB
in interface DistanceSensorPair
public void update()+
update
in interface DistanceSensorPair
XLidarLite.XLidarLiteFactory
@AssistedFactory +public abstract static class MockLidarLite.MockLidarLiteFactory +extends java.lang.Object +implements XLidarLite.XLidarLiteFactory+
Constructor | +Description | +
---|---|
MockLidarLiteFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockLidarLite |
+create(edu.wpi.first.wpilibj.I2C.Port port,
+ java.lang.String prefix) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract MockLidarLite create(@Assisted("port") + edu.wpi.first.wpilibj.I2C.Port port, + @Assisted("prefix") + java.lang.String prefix)+
create
in interface XLidarLite.XLidarLiteFactory
DistanceSensor
public class MockLidarLite +extends XLidarLite+
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockLidarLite.MockLidarLiteFactory |
++ |
XLidarLite.XLidarLiteFactory
distance, lidar_address, lidar_config_register, lidar_distance_register
Constructor | +Description | +
---|---|
MockLidarLite(edu.wpi.first.wpilibj.I2C.Port port,
+ PropertyFactory propMan,
+ DevicePolice police,
+ java.lang.String prefix) |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
void |
+setTestDistance(int testDistance) |
++ |
protected void |
+update() |
++ |
getDistance, pidGet, setAveraging, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@AssistedInject +public MockLidarLite(@Assisted("port") + edu.wpi.first.wpilibj.I2C.Port port, + PropertyFactory propMan, + DevicePolice police, + @Assisted("prefix") + java.lang.String prefix)+
protected void update()+
update
in class XLidarLite
public void setTestDistance(int testDistance)+
XPWM.XPWMFactory
@AssistedFactory +public abstract static class MockPWM.MockPWMFactory +extends java.lang.Object +implements XPWM.XPWMFactory+
Constructor | +Description | +
---|---|
MockPWMFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockPWM |
+create(int channel) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockPWM.MockPWMFactory |
++ |
XPWM.XPWMFactory
Constructor | +Description | +
---|---|
MockPWM(int channel,
+ DevicePolice police) |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
int |
+getRaw() |
++ |
double |
+getSigned() |
++ |
double |
+getUnsigned() |
++ |
void |
+setRaw(int value) |
+
+ Sets the PWM duty cycle
+ |
+
void |
+setSigned(double value) |
+
+ Sets the PWM duty cycle
+ |
+
void |
+setUnsigned(double value) |
+
+ Sets the PWM duty cycle
+ |
+
getChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@AssistedInject +public MockPWM(@Assisted("channel") + int channel, + DevicePolice police)+
public void setRaw(int value)+
XPWM
public void setSigned(double value)+
XPWM
public void setUnsigned(double value)+
XPWM
setUnsigned
in class XPWM
value
- the value to set, in the range [0, 1]public double getUnsigned()+
getUnsigned
in class XPWM
XPowerDistributionPanel.XPowerDistributionPanelFactory
@AssistedFactory +public abstract static class MockPowerDistributionPanel.MockPowerDistributionPanelFactory +extends java.lang.Object +implements XPowerDistributionPanel.XPowerDistributionPanelFactory+
Constructor | +Description | +
---|---|
MockPowerDistributionPanelFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockPowerDistributionPanel |
+create() |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract MockPowerDistributionPanel create()+
create
in interface XPowerDistributionPanel.XPowerDistributionPanelFactory
public class MockPowerDistributionPanel +extends XPowerDistributionPanel+
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockPowerDistributionPanel.MockPowerDistributionPanelFactory |
++ |
XPowerDistributionPanel.XPowerDistributionPanelFactory
Constructor | +Description | +
---|---|
MockPowerDistributionPanel() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
double |
+getCurrent(int channel) |
++ |
void |
+setCurrent(int channel,
+ double current) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void setCurrent(int channel, + double current)+
public double getCurrent(int channel)+
getCurrent
in class XPowerDistributionPanel
XServo.XServoFactory
@AssistedFactory +public abstract static class MockServo.MockServoFactory +extends java.lang.Object +implements XServo.XServoFactory+
Constructor | +Description | +
---|---|
MockServoFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockServo |
+create(int channel) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockServo.MockServoFactory |
++ |
XServo.XServoFactory
Constructor | +Description | +
---|---|
MockServo(int channel,
+ DevicePolice police) |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
double |
+getValue() |
++ |
void |
+set(double value) |
++ |
getChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@AssistedInject +public MockServo(@Assisted("channel") + int channel, + DevicePolice police)+
XSolenoid.XSolenoidFactory
@AssistedFactory +public abstract static class MockSolenoid.MockSolenoidFactory +extends java.lang.Object +implements XSolenoid.XSolenoidFactory+
Constructor | +Description | +
---|---|
MockSolenoidFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockSolenoid |
+create(int channel) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract MockSolenoid create(@Assisted("channel") + int channel)+
create
in interface XSolenoid.XSolenoidFactory
XBaseIO
, ISimulatableSolenoid
public class MockSolenoid +extends XSolenoid +implements ISimulatableSolenoid+
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockSolenoid.MockSolenoidFactory |
++ |
XSolenoid.XSolenoidFactory
Modifier and Type | +Field | +Description | +
---|---|---|
protected boolean |
+on |
++ |
isInverted
SOLENOID_POWER_MODE
Constructor | +Description | +
---|---|
MockSolenoid(int channel,
+ DevicePolice police) |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
boolean |
+get() |
++ |
int |
+getMaxSupportedChannel() |
++ |
org.json.JSONObject |
+getSimulationData() |
++ |
void |
+set(boolean on) |
++ |
getAdjusted, getChannel, setInverted, setOn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildMotorObject
@AssistedInject +public MockSolenoid(@Assisted("channel") + int channel, + DevicePolice police)+
public int getMaxSupportedChannel()+
getMaxSupportedChannel
in class XSolenoid
public org.json.JSONObject getSimulationData()+
getSimulationData
in interface ISimulatableSolenoid
XSpeedController.XSpeedControllerFactory
@AssistedFactory +public abstract static class MockSpeedController.MockSpeedControllerFactory +extends java.lang.Object +implements XSpeedController.XSpeedControllerFactory+
Constructor | +Description | +
---|---|
MockSpeedControllerFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockSpeedController |
+create(int channel) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract MockSpeedController create(@Assisted("channel") + int channel)+
create
in interface XSpeedController.XSpeedControllerFactory
XBaseIO
public class MockSpeedController +extends XSpeedController+
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockSpeedController.MockSpeedControllerFactory |
++ |
XSpeedController.XSpeedControllerFactory
Modifier and Type | +Field | +Description | +
---|---|---|
protected double |
+value |
++ |
channel, isInverted
Constructor | +Description | +
---|---|
MockSpeedController(int channel,
+ DevicePolice police) |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
double |
+get() |
++ |
void |
+set(double output) |
++ |
getChannel, getInverted, getPower, setInverted, setPower
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@AssistedInject +public MockSpeedController(@Assisted("channel") + int channel, + DevicePolice police)+
public double get()+
get
in class XSpeedController
public void set(double output)+
set
in class XSpeedController
XSettableTimerImpl
, XTimerImpl
@Singleton +public class MockTimer +extends java.lang.Object +implements XSettableTimerImpl+
Modifier and Type | +Method | +Description | +
---|---|---|
void |
+advanceTimeInSecondsBy(double time) |
+
+ Advance the timer
+ |
+
void |
+delay(double seconds) |
++ |
double |
+getFPGATimestamp() |
+
+ Return the system clock time in seconds.
+ |
+
double |
+getMatchTime() |
++ |
void |
+setTimeInSeconds(double time) |
+
+ Set the current time
+ |
+
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void setTimeInSeconds(double time)+
XSettableTimerImpl
setTimeInSeconds
in interface XSettableTimerImpl
time
- The current time in secondspublic void advanceTimeInSecondsBy(double time)+
XSettableTimerImpl
advanceTimeInSecondsBy
in interface XSettableTimerImpl
time
- Duration in seconds to advance bypublic double getFPGATimestamp()+
getFPGATimestamp
in interface XTimerImpl
public double getMatchTime()+
getMatchTime
in interface XTimerImpl
public void delay(double seconds)+
delay
in interface XTimerImpl
XXboxController.XXboxControllerFactory
@AssistedFactory +public abstract static class MockXboxControllerAdapter.MockXboxControllerFactory +extends java.lang.Object +implements XXboxController.XXboxControllerFactory+
Constructor | +Description | +
---|---|
MockXboxControllerFactory() |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
abstract MockXboxControllerAdapter |
+create(int port) |
++ |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract MockXboxControllerAdapter create(@Assisted("port") + int port)+
create
in interface XXboxController.XXboxControllerFactory
public class MockXboxControllerAdapter +extends XXboxController+
Modifier and Type | +Class | +Description | +
---|---|---|
static class |
+MockXboxControllerAdapter.MockXboxControllerFactory |
++ |
XXboxController.XboxButton, XXboxController.XXboxControllerFactory
XJoystick.ButtonSource, XJoystick.XJoystickFactory
allocatedButtons, assertionManager, leftXInversion, leftYInversion, port, rightXInversion, rightYInversion
Constructor | +Description | +
---|---|
MockXboxControllerAdapter(int port,
+ AdvancedJoystickButtonTrigger.AdvancedJoystickButtonTriggerFactory joystickButtonFactory,
+ AdvancedPovButtonTrigger.AdvancedPovButtonTriggerFactory povButtonFactory,
+ AnalogHIDButtonTrigger.AnalogHIDButtonTriggerFactory analogHidButtonFactory,
+ XRumbleManager.XRumbleManagerFactory rumbleManagerFactory,
+ RobotAssertionManager manager,
+ DevicePolice police) |
++ |
Modifier and Type | +Method | +Description | +
---|---|---|
boolean |
+getButton(int button) |
++ |
edu.wpi.first.wpilibj.GenericHID |
+getGenericHID() |
++ |
protected double |
+getLeftRawTriggerAxis() |
++ |
protected double |
+getLeftRawX() |
++ |
protected double |
+getLeftRawY() |
++ |
int |
+getPOV() |
++ |
double |
+getRawAxis(int axis) |
++ |
protected double |
+getRightRawTriggerAxis() |
++ |
protected double |
+getRightRawX() |
++ |
protected double |
+getRightRawY() |
++ |
XRumbleManager |
+getRumbleManager() |
++ |
void |
+setLeftStick(double x,
+ double y) |
++ |
void |
+setLeftStick(XYPair xy) |
++ |
void |
+setLeftTrigger(double left) |
++ |
void |
+setRawLeftStick(XYPair xy) |
+
+ Needed for a few scenarios where we want to emulate the underlying joystick
+ behavior
+ and not the intent after inversion.
+ |
+
void |
+setRawRightStick(XYPair xy) |
+
+ Needed for a few scenarios where we want to emulate the underlying joystick
+ behavior
+ and not the intent after inversion.
+ |
+
void |
+setRightStick(double x,
+ double y) |
++ |
void |
+setRightStick(XYPair xy) |
++ |
void |
+setRightTrigger(double right) |
++ |
getifAvailable, getLeftStickX, getLeftStickY, getLeftTrigger, getLeftVector, getRightStickX, getRightStickY, getRightTrigger, getRightVector, getXboxButton, setLeftInversion, setRightInversion
addAnalogButton, addAnalogButton, getAnalogIfAvailable, getAxisInverted, getifAvailable, getPort, getPovIfAvailable, getVectorForAxisPair, setAxisInverted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@AssistedInject +public MockXboxControllerAdapter(@Assisted("port") + int port, + AdvancedJoystickButtonTrigger.AdvancedJoystickButtonTriggerFactory joystickButtonFactory, + AdvancedPovButtonTrigger.AdvancedPovButtonTriggerFactory povButtonFactory, + AnalogHIDButtonTrigger.AnalogHIDButtonTriggerFactory analogHidButtonFactory, + XRumbleManager.XRumbleManagerFactory rumbleManagerFactory, + RobotAssertionManager manager, + DevicePolice police)+
public void setLeftStick(double x, + double y)+
public void setLeftStick(XYPair xy)+
public void setRightStick(double x, + double y)+
public void setRightStick(XYPair xy)+
public void setRawLeftStick(XYPair xy)+
xy
- XYPair to directly set. (Remember that by default, most joysticks
+ have an inverted Y axis!)public void setRawRightStick(XYPair xy)+
xy
- XYPair to directly set. (Remember that by default, most joysticks
+ have an inverted Y axis!)public void setLeftTrigger(double left)+
public void setRightTrigger(double right)+
public boolean getButton(int button)+ +
public double getRawAxis(int axis)+
getRawAxis
in class XJoystick
public edu.wpi.first.wpilibj.GenericHID getGenericHID()+
getGenericHID
in class XJoystick
public XRumbleManager getRumbleManager()+
getRumbleManager
in interface IRumbler
getRumbleManager
in class XXboxController
protected double getLeftRawTriggerAxis()+
getLeftRawTriggerAxis
in class XXboxController
protected double getRightRawTriggerAxis()+
getRightRawTriggerAxis
in class XXboxController
protected double getLeftRawX()+
getLeftRawX
in class XXboxController
protected double getLeftRawY()+
getLeftRawY
in class XXboxController
protected double getRightRawX()+
getRightRawX
in class XXboxController
protected double getRightRawY()+
getRightRawY
in class XXboxController
Class | +Description | +
---|---|
MockAnalogInput | ++ |
MockAnalogInput.MockAnalogInputFactory | ++ |
MockCompressor | ++ |
MockCompressor.MockCompressorFactory | ++ |
MockDigitalInput | ++ |
MockDigitalInput.MockDigitalInputFactory | ++ |
MockDigitalOutput | ++ |
MockDigitalOutput.MockDigitalOutputFactory | ++ |
MockDistanceSensor | ++ |
MockDistanceSensorPair | ++ |
MockLidarLite | ++ |
MockLidarLite.MockLidarLiteFactory | ++ |
MockPowerDistributionPanel | ++ |
MockPowerDistributionPanel.MockPowerDistributionPanelFactory | ++ |
MockPWM | ++ |
MockPWM.MockPWMFactory | ++ |
MockServo | ++ |
MockServo.MockServoFactory | ++ |
MockSolenoid | ++ |
MockSolenoid.MockSolenoidFactory | ++ |
MockSpeedController | ++ |
MockSpeedController.MockSpeedControllerFactory | ++ |
MockTimer | ++ |
MockXboxControllerAdapter | ++ |
MockXboxControllerAdapter.MockXboxControllerFactory | ++ |
The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object
. Interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".
+BaseComponent
instance used for dependency injectionBaseComponent
instance used for dependency injectionXDutyCycleEncoder.getWrappedPosition()
instead.CommandBase.addRequirements(edu.wpi.first.wpilibj2.command.Subsystem...)
instead.