abstract class ThreeTrackingWheelLocalizer : Localizer
(source)
Localizer based on three unpowered tracking omni wheels.
wheelPoses
- wheel poses relative to the center of the robot (positive X points forward on the robot)
<init> |
Localizer based on three unpowered tracking omni wheels. ThreeTrackingWheelLocalizer(wheelPoses: List<Pose2d>) |
poseEstimate |
Current robot pose estimate. open var poseEstimate: Pose2d |
poseVelocity |
Current robot pose velocity (optional) open var poseVelocity: Pose2d? |
getWheelPositions |
Returns the positions of the tracking wheels in the desired distance units (not encoder counts!) abstract fun getWheelPositions(): List<Double> |
getWheelVelocities |
Returns the velocities of the tracking wheels in the desired distance units (not encoder counts!) open fun getWheelVelocities(): List<Double>? |
update |
Completes a single localization update. open fun update(): Unit |