getHeading

fun getHeading(): Rotation2d

Method to get the current heading of the robot.

Return

The current heading of the robot.