Config

data class Config(var enablePoseUpdates: Boolean = true, var enableLogging: Boolean = true, var maxPoseAmbiguity: Double = 0.2, var minTargetsForPose: Int = 1, var rejectOutlierPoses: Boolean = true, var maxPoseDistance: Distance = Units.Meters.of(2.0))

Configuration for the vision system.

Constructors

Link copied to clipboard
constructor(enablePoseUpdates: Boolean = true, enableLogging: Boolean = true, maxPoseAmbiguity: Double = 0.2, minTargetsForPose: Int = 1, rejectOutlierPoses: Boolean = true, maxPoseDistance: Distance = Units.Meters.of(2.0))

Properties

Link copied to clipboard

Whether to log vision data to NetworkTables.

Link copied to clipboard

Whether to automatically update pose estimates.

Link copied to clipboard

Maximum allowed pose ambiguity for single-tag measurements (unitless).

Link copied to clipboard
var maxPoseDistance: Distance

Maximum allowed distance between vision pose and current pose.

Link copied to clipboard

Minimum number of targets required for pose estimation.

Link copied to clipboard

Whether to reject poses that are far from the current estimate.