class MecanumLocalizer : Localizer
(source)
Default localizer for mecanum drives based on the drive encoders and (optionally) a heading sensor.
useExternalHeading
- use external heading provided by an external sensor (e.g., IMU, gyroscope)
<init> |
Default localizer for mecanum drives based on the drive encoders and (optionally) a heading sensor. MecanumLocalizer(drive: MecanumDrive, useExternalHeading: Boolean = true) |
poseEstimate |
Current robot pose estimate. var poseEstimate: Pose2d |
poseVelocity |
Current robot pose velocity (optional) var poseVelocity: Pose2d? |
update |
Completes a single localization update. fun update(): Unit |