Enum Class VisionTelemetryField
- All Implemented Interfaces:
Serializable, Comparable<VisionTelemetryField>, Constable
One group of values a camera can publish, and the lowest verbosity that publishes it.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionacceptedPoses: the pose estimates the filter accepted in the last update.connected: whether the camera is sending data.stats/...: pose filter counts (accepted, rejected, rejected by each check, acceptance rate) and the spread of the accepted poses (mean, standard deviations, sample count).hasTargets: whether the newest frame has targets.latencyMillis: the newest frame's latency.rejectedPoses: the pose estimates the filter rejected in the last update.rejectionReason: why the filter last rejected an estimate.targetCount: how many targets the newest frame has.targets/...: every target's ID, yaw, pitch and area. -
Method Summary
Modifier and TypeMethodDescriptionThe lowest verbosity that publishes this field.static VisionTelemetryFieldReturns the enum constant of this class with the specified name.static VisionTelemetryField[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONNECTED
connected: whether the camera is sending data. -
HAS_TARGETS
hasTargets: whether the newest frame has targets. -
TARGET_COUNT
targetCount: how many targets the newest frame has. -
ACCEPTED_POSES
acceptedPoses: the pose estimates the filter accepted in the last update. -
REJECTED_POSES
rejectedPoses: the pose estimates the filter rejected in the last update. -
REJECTION_REASON
rejectionReason: why the filter last rejected an estimate. -
LATENCY
latencyMillis: the newest frame's latency. -
FILTER_STATS
stats/...: pose filter counts (accepted, rejected, rejected by each check, acceptance rate) and the spread of the accepted poses (mean, standard deviations, sample count). Setstats/resetto true to start counting again. -
TARGETS
targets/...: every target's ID, yaw, pitch and area.
-
-
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
-
getVerbosity
The lowest verbosity that publishes this field.- Returns:
- The verbosity.
-