Enum Class SwerveDriveTelemetry.DoubleTelemetryField
java.lang.Object
java.lang.Enum<SwerveDriveTelemetry.DoubleTelemetryField>
yams.core.telemetry.SwerveDriveTelemetry.DoubleTelemetryField
- All Implemented Interfaces:
Serializable, Comparable<SwerveDriveTelemetry.DoubleTelemetryField>, Constable
- Enclosing class:
SwerveDriveTelemetry
public static enum SwerveDriveTelemetry.DoubleTelemetryField
extends Enum<SwerveDriveTelemetry.DoubleTelemetryField>
Double telemetry field for
SwerveDrives.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRotation of the auto-align target pose, in degrees.X position of the auto-align target pose, in meters.Y position of the auto-align target pose, in meters.Gyro angle, in degrees.Tunable angle setpoint applied to every module's azimuth motor, in degrees.Derivative gain for tuning every module's azimuth motor closed-loop controller.Integral gain for tuning every module's azimuth motor closed-loop controller.Acceleration feedforward gain for tuning every module's azimuth motor.Static feedforward gain for tuning every module's azimuth motor.Velocity feedforward gain for tuning every module's azimuth motor.Proportional gain for tuning every module's azimuth motor closed-loop controller.Tunable voltage applied to every module's azimuth motor, without its closed loop controller, whileSwerveDriveTelemetry.BooleanTelemetryField.ModulesAzimuthVoltageEnabledis on.Derivative gain for tuning every module's drive motor closed-loop controller.Integral gain for tuning every module's drive motor closed-loop controller.Acceleration feedforward gain for tuning every module's drive motor.Static feedforward gain for tuning every module's drive motor.Velocity feedforward gain for tuning every module's drive motor.Proportional gain for tuning every module's drive motor closed-loop controller.Tunable velocity setpoint applied to every module's drive motor, in meters per second.Tunable voltage applied to every module's drive motor, without its closed loop controller, whileSwerveDriveTelemetry.BooleanTelemetryField.ModulesDriveVoltageEnabledis on.Rotational derivative gain for auto-aligning the robot.Rotational integral gain for auto-aligning the robot.Rotational proporational gain for auto-aligning the robot.Translational derivative gain for auto-aligning the robot.Translational integral gain for auto-aligning the robot.Translational proporational gain for auto-aligning the robot. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create aDoubleTelemetryobject for non-static usage.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TranslationP
Translational proporational gain for auto-aligning the robot. -
TranslationI
Translational integral gain for auto-aligning the robot. -
TranslationD
Translational derivative gain for auto-aligning the robot. -
RotationP
Rotational proporational gain for auto-aligning the robot. -
RotationI
Rotational integral gain for auto-aligning the robot. -
RotationD
Rotational derivative gain for auto-aligning the robot. -
AutoAlignPoseX
X position of the auto-align target pose, in meters. -
AutoAlignPoseY
Y position of the auto-align target pose, in meters. -
AutoAlignPoseRotation
Rotation of the auto-align target pose, in degrees. -
ModulesDriveP
Proportional gain for tuning every module's drive motor closed-loop controller. -
ModulesDriveI
Integral gain for tuning every module's drive motor closed-loop controller. -
ModulesDriveD
Derivative gain for tuning every module's drive motor closed-loop controller. -
ModulesDriveKs
Static feedforward gain for tuning every module's drive motor. -
ModulesDriveKv
Velocity feedforward gain for tuning every module's drive motor. -
ModulesDriveKa
Acceleration feedforward gain for tuning every module's drive motor. -
ModulesDriveVelocity
Tunable velocity setpoint applied to every module's drive motor, in meters per second. -
ModulesDriveVoltage
Tunable voltage applied to every module's drive motor, without its closed loop controller, whileSwerveDriveTelemetry.BooleanTelemetryField.ModulesDriveVoltageEnabledis on. -
ModulesAzimuthP
Proportional gain for tuning every module's azimuth motor closed-loop controller. -
ModulesAzimuthI
Integral gain for tuning every module's azimuth motor closed-loop controller. -
ModulesAzimuthD
Derivative gain for tuning every module's azimuth motor closed-loop controller. -
ModulesAzimuthKs
Static feedforward gain for tuning every module's azimuth motor. -
ModulesAzimuthKv
Velocity feedforward gain for tuning every module's azimuth motor. -
ModulesAzimuthKa
Acceleration feedforward gain for tuning every module's azimuth motor. -
ModulesAzimuthAngle
Tunable angle setpoint applied to every module's azimuth motor, in degrees. -
ModulesAzimuthVoltage
Tunable voltage applied to every module's azimuth motor, without its closed loop controller, whileSwerveDriveTelemetry.BooleanTelemetryField.ModulesAzimuthVoltageEnabledis on. -
Gyro
Gyro angle, in degrees.
-
-
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 aDoubleTelemetryobject for non-static usage.- Returns:
DoubleTelemetry
-