setPose

open fun setPose(@NonNull newPose: Pose2d)

Reset the accumulated pose estimate to this pose. Further updates from an internal localizer will continue from this supplied pose estimate.

Parameters

newPose

the new pose to continue localization from