getEstimatedGlobalPose

public EstimatedRobotPose getEstimatedGlobalPose(Pose2d prevEstimatedRobotPose)

Gets the estimated global pose of the robot using the best available camera.

Return

The estimated robot pose, or null if no pose could be estimated

Parameters

prevEstimatedRobotPose

The previous estimated pose of the robot


public Transform3d getEstimatedGlobalPose()

Gets the estimated global pose of the robot as a Transform3d.

Return

The estimated global pose as a Transform3d