getPose

fun getPose(): Pose2d

Method to get the current pose of the robot.

Return

The current pose of the robot.