Enum Class SmartMotorControllerTelemetry.DoubleTelemetryField
java.lang.Object
java.lang.Enum<SmartMotorControllerTelemetry.DoubleTelemetryField>
yams.core.telemetry.SmartMotorControllerTelemetry.DoubleTelemetryField
- All Implemented Interfaces:
Serializable, Comparable<SmartMotorControllerTelemetry.DoubleTelemetryField>, Constable
- Enclosing class:
SmartMotorControllerTelemetry
public static enum SmartMotorControllerTelemetry.DoubleTelemetryField
extends Enum<SmartMotorControllerTelemetry.DoubleTelemetryField>
Double telemetry field.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionActive closed loop controller slot.Period the closed loop controller runs at: 1 ms on the motor controller, or the closed loop control period on the SystemCore.Closed loop dutycyle ramp rate.Exponential profile kAExponential profile kVExponential profile maxInputExternal encoder's mechanism position in rotations, published only when an external encoder is defined.External encoder's mechanism velocity in rotations per second, published only when an external encoder is defined.kAkDkGkIkPkSkVMeasurement acceleration.Measurement lower limit.Measurement positionMeasurement upper limit.Measurement velocity.Mechanism acceleration in rotations per second per second.Mechanism lower limit in rotations.Mechanism position in rotations.Mechanism upper limit in rotations.Mechanism velocity in rotations per second.Motor temperatureOpen loop dutycycle ramp rate.Voltage supplied to the motor.Rotor position in rotations.Rotor velocity in rotations.Setpoint feedforward force, e.g.Setpoint positionSetpoint velocityStator current.Supply current limit.Supply current.Supply current limit.Motion profile maximum accelerartion, could be in MPS^2 or RPM/sTrapezoidal profile maximum jerk, could be in MPS^3 or RPM/s^2Motion profile maximum velocity, could be in MPS or RPMClosed loop controller slot.Setpoint positionSetpoint velocityTunable voltage applied to the motor and its loosely coupled followers, without the closed loop controller, whileSmartMotorControllerTelemetry.BooleanTelemetryField.TunableVoltageEnabledis on.How far behind the mechanism the measured velocity is, from how the motor controller filters it, when it is known. -
Method Summary
-
Enum Constant Details
-
ExponentialProfileKV
Exponential profile kV -
ExponentialProfileKA
Exponential profile kA -
ExponentialProfileMaxInput
Exponential profile maxInput -
TrapezoidalProfileMaxVelocity
public static final SmartMotorControllerTelemetry.DoubleTelemetryField TrapezoidalProfileMaxVelocityMotion profile maximum velocity, could be in MPS or RPM -
TrapezoidalProfileMaxAcceleration
public static final SmartMotorControllerTelemetry.DoubleTelemetryField TrapezoidalProfileMaxAccelerationMotion profile maximum accelerartion, could be in MPS^2 or RPM/s -
TrapezoidalProfileMaxJerk
Trapezoidal profile maximum jerk, could be in MPS^3 or RPM/s^2 -
TunableClosedLoopControllerSlot
public static final SmartMotorControllerTelemetry.DoubleTelemetryField TunableClosedLoopControllerSlotClosed loop controller slot. -
ActiveClosedLoopControllerSlot
public static final SmartMotorControllerTelemetry.DoubleTelemetryField ActiveClosedLoopControllerSlotActive closed loop controller slot. -
kS
kS -
kV
kV -
kA
kA -
kG
kG -
kP
kP -
kI
kI -
kD
kD -
TunableSetpointPosition
Setpoint position -
SetpointPosition
Setpoint position -
TunableSetpointVelocity
Setpoint velocity -
SetpointVelocity
Setpoint velocity -
SetpointForce
Setpoint feedforward force, e.g. from a PathPlanner set-point generator. -
ClosedLoopPeriod
Period the closed loop controller runs at: 1 ms on the motor controller, or the closed loop control period on the SystemCore. -
VelocityMeasurementDelay
How far behind the mechanism the measured velocity is, from how the motor controller filters it, when it is known. -
TunableVoltage
Tunable voltage applied to the motor and its loosely coupled followers, without the closed loop controller, whileSmartMotorControllerTelemetry.BooleanTelemetryField.TunableVoltageEnabledis on. -
OutputVoltage
Voltage supplied to the motor. -
StatorCurrent
Stator current. -
StatorCurrentLimit
Supply current limit. -
SupplyCurrent
Supply current. -
SupplyCurrentLimit
Supply current limit. -
MotorTemperature
Motor temperature -
MeasurementPosition
Measurement position -
MeasurementVelocity
Measurement velocity. -
MeasurementAcceleration
Measurement acceleration. -
MeasurementLowerLimit
Measurement lower limit. -
MeasurementUpperLimit
Measurement upper limit. -
MechanismPosition
Mechanism position in rotations. -
MechanismVelocity
Mechanism velocity in rotations per second. -
MechanismAcceleration
Mechanism acceleration in rotations per second per second. -
MechanismLowerLimit
Mechanism lower limit in rotations. -
MechanismUpperLimit
Mechanism upper limit in rotations. -
RotorPosition
Rotor position in rotations. -
RotorVelocity
Rotor velocity in rotations. -
ExternalEncoderPosition
External encoder's mechanism position in rotations, published only when an external encoder is defined. -
ExternalEncoderVelocity
External encoder's mechanism velocity in rotations per second, published only when an external encoder is defined. -
ClosedloopRampRate
Closed loop dutycyle ramp rate. -
OpenloopRampRate
Open loop dutycycle ramp rate.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
create
Create double telemetry field.- Returns:
- Double telemetry field.
-