distance To
Calculates the distance from a robot pose to an arbitrary field location.
Receiver
Pose2d The robot's current pose.
Return
Distance The distance to the target location.
Parameters
target Location
The target location on the field.
Calculates the distance from a robot pose to another pose on the field.
Receiver
Pose2d The robot's current pose.
Return
Distance The distance to the target pose.
Parameters
target Pose
The target pose on the field.