ThreeTrackingWheelLocalizer

public abstract class ThreeTrackingWheelLocalizer implements Localizer

Localizer based on three unpowered tracking omni wheels.

Parameters

wheelPoses

wheel poses relative to the center of the robot (positive X points forward on the robot)

Constructors

Properties

Link copied to clipboard

Current robot pose estimate.

Link copied to clipboard

Current robot pose velocity (optional)

Link copied to clipboard
public final List<Pose2d> wheelPoses

Functions

Link copied to clipboard

Current robot pose estimate.

Link copied to clipboard

Current robot pose velocity (optional)

Link copied to clipboard
public abstract List<Double> getWheelPositions()

Returns the positions of the tracking wheels in the desired distance units (not encoder counts!)

Link copied to clipboard

Returns the velocities of the tracking wheels in the desired distance units (not encoder counts!)

Link copied to clipboard
public Unit setPoseEstimate(Pose2d poseEstimate)

Current robot pose estimate.

Link copied to clipboard
public Unit setPoseVelocity(Pose2d poseVelocity)

Current robot pose velocity (optional)

Link copied to clipboard
public Unit update()

Completes a single localization update.