Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ABS - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.EncoderType
-
Absolute encoder.
- absInverted - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Absolute inverted setting.
- absOffset - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Absolute encoder offset in rotations.
- absoluteWrapping - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Absolute wrapping enable setting.
- allowableError - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
Allowable error in rotations.
- ALT_QUAD_INDEX - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.IOMask
-
Alternate quad index sensor.
- applyConfig(ThriftyNova.ThriftyNovaConfig) - Method in class com.thethriftybot.devices.ThriftyNova
-
Applies a configuration object to the motor controller.
- areHardLimitsEnabled() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets whether hard limits are enabled.
- areSoftLimitsEnabled() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets whether soft limits are enabled.
B
- brakeMode - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Brake mode setting.
- BRUSHED - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.MotorType
-
Generic brushed motor.
C
- CANAPIJNIInterface - Interface in com.thethriftybot.interfaces
-
Interface for CAN API JNI.
- CANAPIJNIWrapper - Class in com.thethriftybot.wrappers
-
Wrapper class for WPI hardware methods.
- canFreq - Variable in class com.thethriftybot.devices.ThriftyNova
-
CAN frequency configuration interface.
- canFreq - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
CAN frequency configuration.
- CANFreqConfiguration() - Constructor for class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.CANFreqConfiguration
-
Constructs a default CANFreqConfiguration.
- CANFreqConfiguration(Double, Double, Double, Double, Double) - Constructor for class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.CANFreqConfiguration
-
Constructs a CANFreqConfiguration with all parameters.
- canID - Variable in class com.thethriftybot.devices.ThriftyNova
- clearErrors() - Method in class com.thethriftybot.devices.ThriftyNova
-
Clear the error buffer.
- close() - Method in class com.thethriftybot.devices.ThriftyNova
- com.thethriftybot.devices - package com.thethriftybot.devices
- com.thethriftybot.interfaces - package com.thethriftybot.interfaces
- com.thethriftybot.server - package com.thethriftybot.server
- com.thethriftybot.util - package com.thethriftybot.util
- com.thethriftybot.wrappers - package com.thethriftybot.wrappers
- control - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.CANFreqConfiguration
-
CAN frame frequency for control commands in Hz.
- Conversion - Class in com.thethriftybot.util
-
Utility class for converting between different units.
- Conversion(Conversion.PositionUnit, ThriftyNova.EncoderType) - Constructor for class com.thethriftybot.util.Conversion
-
Creates a conversion object for position units.
- Conversion(Conversion.VelocityUnit, ThriftyNova.EncoderType) - Constructor for class com.thethriftybot.util.Conversion
-
Creates a conversion object for velocity units.
- Conversion.PositionUnit - Enum Class in com.thethriftybot.util
-
Units for position conversion.
- Conversion.VelocityUnit - Enum Class in com.thethriftybot.util
-
Units for velocity conversion.
- current - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.CANFreqConfiguration
-
CAN frame frequency for current measurements in Hz.
- currentType - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Current measurement type.
D
- d - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
Derivative gain.
- defaultDriversStation() - Constructor for class com.thethriftybot.wrappers.DriverStationWrapper.defaultDriversStation
- defaultRCDelegate() - Constructor for class com.thethriftybot.wrappers.RobotControllerWrapper.defaultRCDelegate
- defaultRSDelegate() - Constructor for class com.thethriftybot.wrappers.RobotStateWrapper.defaultRSDelegate
- DEGREES - Enum constant in enum class com.thethriftybot.util.Conversion.PositionUnit
-
Degrees per rotation.
- DEGREES_PER_SEC - Enum constant in enum class com.thethriftybot.util.Conversion.VelocityUnit
-
Degrees per second.
- deviceHandle - Variable in class com.thethriftybot.devices.ThriftyNova
- deviceTable - Variable in class com.thethriftybot.devices.ThriftyNova
- disable() - Method in class com.thethriftybot.devices.ThriftyNova
- doNTLogging - Variable in class com.thethriftybot.devices.ThriftyNova
- DriverStationInterface - Interface in com.thethriftybot.interfaces
-
Interface for DriverStation.
- DriverStationWrapper - Class in com.thethriftybot.wrappers
-
Wrapper for DriverStation to allow mocking.
- DriverStationWrapper.defaultDriversStation - Class in com.thethriftybot.wrappers
E
- enableHardLimits - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Enable hard limits.
- enableHardLimits(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Enable / disable hard limits.
- enableSoftLimits - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Enable soft limits.
- enableSoftLimits(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Enable / disable soft limits.
- encoderType - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Encoder type.
- errors - Variable in class com.thethriftybot.devices.ThriftyNova
-
List of configuration errors.
- externalEncoder - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
External encoder type.
- extSlEnabled - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
External encoder soft limits enable setting.
- extSlForward - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
External encoder soft limits forward position in rotations.
- extSlReverse - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
External encoder soft limits reverse position in rotations.
- extSlSource - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
External encoder soft limits source setting (0=quadrature, 1=absolute).
F
- f - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
Feed-forward gain.
- factoryReset() - Method in class com.thethriftybot.devices.ThriftyNova
-
Factory resets the motor controller to its default state.
- fault - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.CANFreqConfiguration
-
CAN frame frequency for fault messages in Hz.
- follow(int) - Method in class com.thethriftybot.devices.ThriftyNova
-
Drives the motor using the parameters of the configured followed motor controller.
- forwardSoftLimit - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Forward soft limit position in rotations.
- fromMotor(double) - Method in class com.thethriftybot.util.Conversion
-
Takes in a number of rotations and returns the value of units given in the constructor.
- FWD_LIMIT - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.IOMask
-
Forward limit switch.
G
- get() - Method in enum class com.thethriftybot.devices.ThriftyNova.ExternalEncoder
-
Gets the encoder code.
- get() - Method in class com.thethriftybot.devices.ThriftyNova
-
Returns the last set point specified by the user in any control method.
- getAbsOffset() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the absolute encoder offset value.
- getAbsoluteWrapping() - Method in class com.thethriftybot.devices.ThriftyNova
-
Get the absolute wrapping state.
- getAltQuadIndex() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the alterante quadrature index state.
- getBrakeMode() - Method in class com.thethriftybot.devices.ThriftyNova
-
Get the brake mode status of the motor.
- getClosedLoopError() - Method in class com.thethriftybot.devices.ThriftyNova
-
Returns the error to the last set point that was input, based on last used control mode (position or velocity), and encoder type (internal or quaderature).
- getCurrentType() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the current type being used for limiting.
- getErrors() - Method in class com.thethriftybot.devices.ThriftyNova
-
Returns a list of the errors that have populated in the buffer.
- getForwardLimit() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the forward limit switch state.
- getForwardSoftLimit() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the forward soft limit.
- getFPGATime() - Method in interface com.thethriftybot.interfaces.RobotControllerInterface
- getFPGATime() - Method in class com.thethriftybot.wrappers.RobotControllerWrapper.defaultRCDelegate
- getFPGATime() - Static method in class com.thethriftybot.wrappers.RobotControllerWrapper
-
Read the microsecond timer from the FPGA
- getID() - Method in class com.thethriftybot.devices.ThriftyNova
-
Returns the CAN ID the device was initialized with.
- getInversion() - Method in class com.thethriftybot.devices.ThriftyNova
-
Get the inversion status of the motor.
- getInverted() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the inversion of the motor.
- getIOState() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the IO state of the motor controller.
- getMask() - Method in enum class com.thethriftybot.devices.ThriftyNova.IOMask
-
Gets the mask value.
- getMaxCurrent() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the maximum current limit.
- getMaxForwardOutput() - Method in class com.thethriftybot.devices.ThriftyNova
-
Get the maximum forward percent output.
- getMaxReverseOutput() - Method in class com.thethriftybot.devices.ThriftyNova
-
Get the maximum reverse percent output.
- getMotorType() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the motor type being used for the motor controller.
- getPosition() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the encoder position measurement.
- getPositionAbs() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the absolute encoder position.
- getPositionInternal() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the internal encoder position.
- getPositionQuad() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the quadrature encoder position.
- getQuadA() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the Quadrature encoder A state.
- getQuadB() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the Quadrature encoder B state.
- getQuadIndex() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the Quadrature encoder index state.
- getRampDown() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the ramp down time in seconds.
- getRampUp() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the ramp up time in seconds.
- getReverseLimit() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the reverse limit switch state.
- getReverseSoftLimit() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the reverse soft limit.
- getSetPoint() - Method in class com.thethriftybot.devices.ThriftyNova
-
Returns the last set point specified by the user in any control method.
- getStatorCurrent() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the stator current measurement.
- getString(String, String) - Method in interface com.thethriftybot.interfaces.NetworkTableInterface
- getString(String, String) - Method in class com.thethriftybot.wrappers.NetworkTableWrapper
- getSubTable(String) - Method in interface com.thethriftybot.interfaces.NetworkTableInterface
- getSubTable(String) - Method in class com.thethriftybot.wrappers.NetworkTableWrapper
- getSupplyCurrent() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the supply current measurement.
- getTemperature() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the temperature of the motor controller.
- getTempThrottleEnable() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the temperature throttle enable state.
- getVelocity() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the encoder velocity measurement.
- getVelocityInternal() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the internal encoder velocity.
- getVelocityQuad() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the quadrature encoder velocity.
- getVoltage() - Method in class com.thethriftybot.devices.ThriftyNova
-
Gets the voltage measurement.
- getVoltageCompensationEnabled() - Method in class com.thethriftybot.devices.ThriftyNova
-
Get the voltage compensation value.
H
- hasError(ThriftyNova.Error) - Method in class com.thethriftybot.devices.ThriftyNova
-
Checks if there is a specific error present in the buffer.
I
- i - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
Integral gain.
- id - Variable in enum class com.thethriftybot.devices.ThriftyNova.EncoderType
-
Encoder type ID.
- id - Variable in enum class com.thethriftybot.devices.ThriftyNova.MotorType
-
Motor type ID.
- initializeCAN(int, int, int) - Method in interface com.thethriftybot.interfaces.CANAPIJNIInterface
-
Initializes CAN device.
- initializeCAN(int, int, int) - Static method in class com.thethriftybot.wrappers.CANAPIJNIWrapper
-
Initializes the CAN device.
- INTERNAL - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.EncoderType
-
Internal NEO motor encoder.
- inverted - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Motor inversion setting.
- isDisabled() - Method in interface com.thethriftybot.interfaces.RobotStateInterface
- isDisabled() - Method in class com.thethriftybot.wrappers.RobotStateWrapper.defaultRSDelegate
- isDisabled() - Static method in class com.thethriftybot.wrappers.RobotStateWrapper
- iZone - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
Integral zone.
L
- logNT(String, boolean) - Method in class com.thethriftybot.devices.ThriftyNova
- logNT(String, double) - Method in class com.thethriftybot.devices.ThriftyNova
- logNT(String, int) - Method in class com.thethriftybot.devices.ThriftyNova
- logNT(String, String) - Method in class com.thethriftybot.devices.ThriftyNova
M
- maxCurrent - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Maximum current limit in amps.
- maxForwardOutput - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Maximum forward output value.
- maxOutput - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Maximum output value.
- maxReverseOutput - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Maximum reverse output value.
- MINION - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.MotorType
-
Minion motor.
- motorType - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Motor type.
N
- NEO - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.MotorType
-
REV NEO brushless motor.
- NetworkTableInterface - Interface in com.thethriftybot.interfaces
- NetworkTableWrapper - Class in com.thethriftybot.wrappers
- NetworkTableWrapper(NetworkTable) - Constructor for class com.thethriftybot.wrappers.NetworkTableWrapper
- ntLogging - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Network Table logging enable.
P
- p - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
Proportional gain.
- pid - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
The PID controller object.
- pid0 - Variable in class com.thethriftybot.devices.ThriftyNova
-
PID slot 0 configuration interface.
- pid0 - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
PID slot 0 configuration.
- pid1 - Variable in class com.thethriftybot.devices.ThriftyNova
-
PID slot 1 configuration interface.
- pid1 - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
PID slot 1 configuration.
- PIDConfiguration() - Constructor for class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
Constructs a default PIDConfiguration.
- PIDConfiguration(PIDController, Double, Double, Double, Double, Double, Double) - Constructor for class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
Constructs a PIDConfiguration with all parameters.
- pidSlot - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
PID slot selection.
Q
- QUAD - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.EncoderType
-
Quadrature encoder.
- QUAD_A - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.IOMask
-
Quadrature encoder A signal.
- QUAD_B - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.IOMask
-
Quadrature encoder B signal.
- QUAD_INDEX - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.IOMask
-
Quad index sensor.
- quadSensor - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.CANFreqConfiguration
-
CAN frame frequency for quad sensor feedback in Hz.
R
- RADIANS - Enum constant in enum class com.thethriftybot.util.Conversion.PositionUnit
-
Radians per rotation.
- RADIANS_PER_SEC - Enum constant in enum class com.thethriftybot.util.Conversion.VelocityUnit
-
Radians per second.
- rampDown - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Ramp down time in seconds.
- rampUp - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Ramp up time in seconds.
- readCANPacketLatest(int, int, CANData) - Method in interface com.thethriftybot.interfaces.CANAPIJNIInterface
-
Reads latest CAN packet.
- readCANPacketLatest(int, int, CANData) - Static method in class com.thethriftybot.wrappers.CANAPIJNIWrapper
-
Reads the latest CAN packet.
- readCANPacketNew(int, int, CANData) - Method in interface com.thethriftybot.interfaces.CANAPIJNIInterface
-
Reads new CAN packet.
- readCANPacketNew(int, int, CANData) - Static method in class com.thethriftybot.wrappers.CANAPIJNIWrapper
-
Reads a new CAN packet.
- receiveStatusFrame(int, int, int) - Method in class com.thethriftybot.devices.ThriftyNova
- receiveStatusFrameByBit(int, int, int) - Method in class com.thethriftybot.devices.ThriftyNova
- REDUX_ENCODER - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.ExternalEncoder
-
REV Robotics encoder.
- reportError(String, boolean) - Method in interface com.thethriftybot.interfaces.DriverStationInterface
-
Reports an error.
- reportError(String, boolean) - Method in class com.thethriftybot.wrappers.DriverStationWrapper.defaultDriversStation
- reportError(String, boolean) - Static method in class com.thethriftybot.wrappers.DriverStationWrapper
-
Reports an error.
- reportError(String, StackTraceElement[]) - Method in interface com.thethriftybot.interfaces.DriverStationInterface
-
Reports an error.
- reportError(String, StackTraceElement[]) - Method in class com.thethriftybot.wrappers.DriverStationWrapper.defaultDriversStation
- reportError(String, StackTraceElement[]) - Static method in class com.thethriftybot.wrappers.DriverStationWrapper
-
Reports an error.
- reportWarning(String, boolean) - Method in interface com.thethriftybot.interfaces.DriverStationInterface
-
Reports a warning.
- reportWarning(String, boolean) - Method in class com.thethriftybot.wrappers.DriverStationWrapper.defaultDriversStation
- reportWarning(String, boolean) - Static method in class com.thethriftybot.wrappers.DriverStationWrapper
-
Reports a warning.
- reportWarning(String, StackTraceElement[]) - Method in interface com.thethriftybot.interfaces.DriverStationInterface
-
Reports a warning.
- reportWarning(String, StackTraceElement[]) - Method in class com.thethriftybot.wrappers.DriverStationWrapper.defaultDriversStation
- reportWarning(String, StackTraceElement[]) - Static method in class com.thethriftybot.wrappers.DriverStationWrapper
-
Reports a warning.
- resetDelegate() - Static method in class com.thethriftybot.wrappers.CANAPIJNIWrapper
-
Used to reset the Delegate back to the CANAPIJNI from WPILib.
- resetDelegate() - Static method in class com.thethriftybot.wrappers.DriverStationWrapper
-
Resets the delegate to the default.
- resetDelegate() - Static method in class com.thethriftybot.wrappers.RobotControllerWrapper
-
Resets the delegate back to the default.
- resetDelegate() - Static method in class com.thethriftybot.wrappers.RobotStateWrapper
- REV_ENCODER - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.ExternalEncoder
-
REV Through-Bore encoder.
- REV_LIMIT - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.IOMask
-
Reverse limit switch.
- reverseSoftLimit - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Reverse soft limit position in rotations.
- RobotControllerInterface - Interface in com.thethriftybot.interfaces
- RobotControllerWrapper - Class in com.thethriftybot.wrappers
- RobotControllerWrapper() - Constructor for class com.thethriftybot.wrappers.RobotControllerWrapper
- RobotControllerWrapper.defaultRCDelegate - Class in com.thethriftybot.wrappers
- RobotStateInterface - Interface in com.thethriftybot.interfaces
- RobotStateWrapper - Class in com.thethriftybot.wrappers
- RobotStateWrapper() - Constructor for class com.thethriftybot.wrappers.RobotStateWrapper
- RobotStateWrapper.defaultRSDelegate - Class in com.thethriftybot.wrappers
- ROTATIONS - Enum constant in enum class com.thethriftybot.util.Conversion.PositionUnit
-
Rotations.
- ROTATIONS_PER_MIN - Enum constant in enum class com.thethriftybot.util.Conversion.VelocityUnit
-
Rotations per minute.
- ROTATIONS_PER_SEC - Enum constant in enum class com.thethriftybot.util.Conversion.VelocityUnit
-
Rotations per second.
S
- sensor - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.CANFreqConfiguration
-
CAN frame frequency for sensor feedback in Hz.
- set(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the percent output of the motor from between 1.0 (full forward) and -1.0 (full reverse), where 0.0 is full stop.
- set(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the percent output of the motor from between 1.0 (full forward) and -1.0 (full reverse), where 0.0 is full stop.
- setAbsInverted(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Invert the absolute encoder direction.
- setAbsOffset(int) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the absolute encoder offset.
- setAbsoluteWrapping(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the absolute wrapping state.
- setAccumulatorCap(double) - Method in class com.thethriftybot.devices.ThriftyNova.PIDConfig
-
Sets the accumulator cap for the PID controller (IZone).
- setAllowableError(double) - Method in class com.thethriftybot.devices.ThriftyNova.PIDConfig
-
Sets the allowable error for the PID controller.
- setBoolean(String, boolean) - Method in interface com.thethriftybot.interfaces.NetworkTableInterface
- setBoolean(String, boolean) - Method in class com.thethriftybot.wrappers.NetworkTableWrapper
- setBrakeMode(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the brake mode status of the motor.
- setControl(double) - Method in class com.thethriftybot.devices.ThriftyNova.CANFreqConfig
-
Set CAN frame frequency for control commands.
- setCurrent(double) - Method in class com.thethriftybot.devices.ThriftyNova.CANFreqConfig
-
Set CAN frame frequency for current measurements.
- setD(double) - Method in class com.thethriftybot.devices.ThriftyNova.PIDConfig
-
Sets the derivative term for the PID controller.
- setDelegate(CANAPIJNIInterface) - Static method in class com.thethriftybot.wrappers.CANAPIJNIWrapper
-
Used to pass in a new Delegate for the CAN API In our case it will be used to pass in the Mock CANAPIJNI
- setDelegate(DriverStationInterface) - Static method in class com.thethriftybot.wrappers.DriverStationWrapper
-
Sets the delegate.
- setDelegate(RobotControllerInterface) - Static method in class com.thethriftybot.wrappers.RobotControllerWrapper
-
Used to pass in a new delegate for the WPILib RobotController API.
- setDelegate(RobotStateInterface) - Static method in class com.thethriftybot.wrappers.RobotStateWrapper
- setDisabled(boolean) - Static method in class com.thethriftybot.server.ThriftyDiagnostics
-
Sets whether the diagnostic server should be disabled.
- setDouble(String, double) - Method in interface com.thethriftybot.interfaces.NetworkTableInterface
- setDouble(String, double) - Method in class com.thethriftybot.wrappers.NetworkTableWrapper
- setEncoderPosition(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the encoder position.
- setExternalEncoder(ThriftyNova.ExternalEncoder) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the external encoder type.
- setExtSlEnabled(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Enable or disable external encoder soft limits.
- setExtSlForward(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the external encoder forward soft limit position.
- setExtSlReverse(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the external encoder reverse soft limit position.
- setExtSlSource(int) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the external encoder soft limits source.
- setFault(double) - Method in class com.thethriftybot.devices.ThriftyNova.CANFreqConfig
-
Set CAN frame frequency for faults.
- setFF(double) - Method in class com.thethriftybot.devices.ThriftyNova.PIDConfig
-
Sets the feed forward term for the PID controller.
- setI(double) - Method in class com.thethriftybot.devices.ThriftyNova.PIDConfig
-
Sets the integral term for the PID controller.
- setInteger(String, int) - Method in interface com.thethriftybot.interfaces.NetworkTableInterface
- setInteger(String, int) - Method in class com.thethriftybot.wrappers.NetworkTableWrapper
- setInversion(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the inversion status of the motor.
- setInverted(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the inversion status of the motor.
- setIZone(double) - Method in class com.thethriftybot.devices.ThriftyNova.PIDConfig
-
Sets the accumulator cap for the PID controller (IZone).
- setLaserCANID(int) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the CAN ID of the LaserCAN sensor.
- setLaserDistance(int) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the stopping distance for the LaserCAN sensor.
- setLaserEnable(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Enables or disables the LaserCAN stop feature.
- setMaxCurrent(ThriftyNova.CurrentType, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the max current the motor can draw in amps.
- setMaxOutput(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the maximum percent output.
- setMaxOutput(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the maximum forward and reverse percent output.
- setMotorType(ThriftyNova.MotorType) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the motor type to use for the motor controller.
- setNTLogging(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Enable or disable NetworkTable logging.
- setP(double) - Method in class com.thethriftybot.devices.ThriftyNova.PIDConfig
-
Sets the proportional term for the PID controller.
- setPercent(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the percent output of the motor from between 1.0 (full forward) and -1.0 (full reverse), where 0.0 is full stop.
- setPercent(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the percent output of the motor from between 1.0 (full forward) and -1.0 (full reverse), where 0.0 is full stop.
- setPID(PIDController) - Method in class com.thethriftybot.devices.ThriftyNova.PIDConfig
-
Set the PID controller terms from a PIDController object.
- setPID(PIDController) - Method in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig.PIDConfiguration
-
Set the PID controller configuration from a PIDController object.
- setPosition(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Drives the motor towards the given position using the configured PID controller.
- setPosition(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Drives the motor towards the given position using the configured PID controller.
- setPositionAbs(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target position using the absolute encoder.
- setPositionAbs(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target position using the absolute encoder.
- setPositionInternal(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target position using the internal encoder.
- setPositionInternal(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target position using the internal encoder with feed forward.
- setPositionQuad(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target position using the quadrature encoder.
- setPositionQuad(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target position using the quadrature encoder with feed forward.
- setQuadSensor(double) - Method in class com.thethriftybot.devices.ThriftyNova.CANFreqConfig
-
Set CAN frame frequency for quadrature encoder feedback.
- setRampDown(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the time to ramp down in seconds from 0 to 10.
- setRampUp(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the time to ramp up in seconds from 0 to 10.
- setSensor(double) - Method in class com.thethriftybot.devices.ThriftyNova.CANFreqConfig
-
Set CAN frame frequency for encoder feedback.
- setSoftLimits(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the soft limits that the motor will not cross if soft limits are enabled.
- setString(String, String) - Method in interface com.thethriftybot.interfaces.NetworkTableInterface
- setString(String, String) - Method in class com.thethriftybot.wrappers.NetworkTableWrapper
- setTempThrottleEnable(boolean) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the temperature throttle enable state.
- setVelocity(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Drives the motor at the given velocity using the configured PID controller.
- setVelocity(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Drives the motor at the given velocity using the configured PID controller.
- setVelocityInternal(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target velocity using the internal encoder.
- setVelocityInternal(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target velocity using the internal encoder with feed forward.
- setVelocityQuad(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target velocity using the quadrature encoder.
- setVelocityQuad(double, double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the target velocity using the quadrature encoder with feed forward.
- setVoltageCompensation(double) - Method in class com.thethriftybot.devices.ThriftyNova
-
Sets the voltage compensation value.
- SLOT0 - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.PIDSlot
-
PID slot 0.
- SLOT1 - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.PIDSlot
-
PID slot 1.
- SRX_MAG_ENCODER - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.ExternalEncoder
-
CTRE SRX mag encoder.
- startServer() - Static method in class com.thethriftybot.server.ThriftyDiagnostics
- STATOR - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.CurrentType
-
Stator current (motor winding current).
- stopMotor() - Method in class com.thethriftybot.devices.ThriftyNova
- stopServer() - Static method in class com.thethriftybot.server.ThriftyDiagnostics
-
Stops the diagnostic server and frees all resources.
- SUPPLY - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.CurrentType
-
Supply current (input current from power supply).
T
- tempThrottleEnable - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Temperature throttle enable setting.
- test() - Static method in class com.thethriftybot.server.ThriftyDiagnostics
- THRIFTY_10_PIN_ENCODER - Enum constant in enum class com.thethriftybot.devices.ThriftyNova.ExternalEncoder
-
Thrifty 10-pin encoder.
- ThriftyDiagnostics - Class in com.thethriftybot.server
- ThriftyDiagnostics() - Constructor for class com.thethriftybot.server.ThriftyDiagnostics
- ThriftyNova - Class in com.thethriftybot.devices
-
API for interfacing with the Thrifty Nova motor controller.
- ThriftyNova(int) - Constructor for class com.thethriftybot.devices.ThriftyNova
-
Instantiate a new ThriftyMotor object
- ThriftyNova(int, ThriftyNova.MotorType) - Constructor for class com.thethriftybot.devices.ThriftyNova
-
Instantiate a new ThriftyMotor object using a CAN identifier.
- ThriftyNova(int, NetworkTableInterface) - Constructor for class com.thethriftybot.devices.ThriftyNova
-
Instantiate a new ThriftyMotor object with a custom CAN Interface.
- ThriftyNova.CANFreqConfig - Class in com.thethriftybot.devices
-
An internal CAN frame frequency configuration structure.
- ThriftyNova.CurrentType - Enum Class in com.thethriftybot.devices
-
Different types of current control.
- ThriftyNova.EncoderType - Enum Class in com.thethriftybot.devices
-
Different encoder types.
- ThriftyNova.ExternalEncoder - Enum Class in com.thethriftybot.devices
-
Different types of external encoder that can be used.
- ThriftyNova.IOMask - Enum Class in com.thethriftybot.devices
-
IO mask bits for the motor controller.
- ThriftyNova.MotorType - Enum Class in com.thethriftybot.devices
-
Different types of motors that can be driven by the controller.
- ThriftyNova.PIDConfig - Class in com.thethriftybot.devices
-
An internal PID controller configuration structure.
- ThriftyNova.PIDSlot - Enum Class in com.thethriftybot.devices
-
The various PID configuration slots.
- ThriftyNova.ThriftyNovaConfig - Class in com.thethriftybot.devices
-
Configuration structure for ThriftyNova motor controller.
- ThriftyNova.ThriftyNovaConfig.CANFreqConfiguration - Class in com.thethriftybot.devices
-
CAN frequency configuration structure.
- ThriftyNova.ThriftyNovaConfig.PIDConfiguration - Class in com.thethriftybot.devices
-
PID controller configuration structure.
- ThriftyNovaConfig() - Constructor for class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Constructs a default ThriftyNovaConfig.
- ThriftyNovaConfig(Boolean, Boolean, Double, Double, Double, Double, Double, Double, ThriftyNova.CurrentType, Double, Double, Boolean, Boolean, Integer, Boolean, ThriftyNova.MotorType, Double, ThriftyNova.EncoderType, ThriftyNova.ExternalEncoder, Boolean, ThriftyNova.PIDSlot, Boolean, ThriftyNova.ThriftyNovaConfig.PIDConfiguration, ThriftyNova.ThriftyNovaConfig.PIDConfiguration, ThriftyNova.ThriftyNovaConfig.CANFreqConfiguration) - Constructor for class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Constructs a ThriftyNovaConfig with all parameters.
- ticks - Variable in enum class com.thethriftybot.devices.ThriftyNova.EncoderType
-
Number of ticks per revolution.
- TICKS - Enum constant in enum class com.thethriftybot.util.Conversion.PositionUnit
-
Ticks (raw units).
- TICKS_PER_SECOND - Enum constant in enum class com.thethriftybot.util.Conversion.VelocityUnit
-
Ticks per second (raw units).
- toMotor(double) - Method in class com.thethriftybot.util.Conversion
-
Takes in a value of units given in the constructor and returns rotations.
U
- updateStatusNT() - Method in class com.thethriftybot.devices.ThriftyNova
-
Calls every status/feedback getter that has a network table entry
- updateStatusNTGlobal() - Static method in class com.thethriftybot.devices.ThriftyNova
-
Updates the network tables for all ThriftyNova motors.
- useEncoderType(ThriftyNova.EncoderType) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the encoder type to use for feedback control.
- usePIDSlot(ThriftyNova.PIDSlot) - Method in class com.thethriftybot.devices.ThriftyNova
-
Set the PID slot to use for feedback control.
V
- value - Variable in enum class com.thethriftybot.util.Conversion.PositionUnit
-
The value associated with the unit.
- value - Variable in enum class com.thethriftybot.util.Conversion.VelocityUnit
-
The value associated with the unit.
- valueOf(String) - Static method in enum class com.thethriftybot.devices.ThriftyNova.CurrentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.thethriftybot.devices.ThriftyNova.EncoderType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.thethriftybot.devices.ThriftyNova.ExternalEncoder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.thethriftybot.devices.ThriftyNova.IOMask
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.thethriftybot.devices.ThriftyNova.MotorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.thethriftybot.devices.ThriftyNova.PIDSlot
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.thethriftybot.util.Conversion.PositionUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.thethriftybot.util.Conversion.VelocityUnit
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.thethriftybot.devices.ThriftyNova.CurrentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.thethriftybot.devices.ThriftyNova.EncoderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.thethriftybot.devices.ThriftyNova.ExternalEncoder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.thethriftybot.devices.ThriftyNova.IOMask
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.thethriftybot.devices.ThriftyNova.MotorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.thethriftybot.devices.ThriftyNova.PIDSlot
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.thethriftybot.util.Conversion.PositionUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.thethriftybot.util.Conversion.VelocityUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class com.thethriftybot.server.ThriftyDiagnostics
- voltageCompensation - Variable in class com.thethriftybot.devices.ThriftyNova.ThriftyNovaConfig
-
Voltage compensation value.
W
- writeCANPacketNoThrow(int, byte[], int) - Method in interface com.thethriftybot.interfaces.CANAPIJNIInterface
-
Writes a CAN packet.
- writeCANPacketNoThrow(int, byte[], int) - Static method in class com.thethriftybot.wrappers.CANAPIJNIWrapper
-
Writes a packet to the CAN device with a specific ID without throwing on error.
Z
- zeroAbsEncoder() - Method in class com.thethriftybot.devices.ThriftyNova
-
Zeros the absolute encoder reading at the current position.
All Classes and Interfaces|All Packages|Constant Field Values