pyrobosim.utils.pose.Pose.get_linear_distance

Pose.get_linear_distance(other: Self, ignore_z: bool = False) float

Gets the straight-line distance between two poses.

Parameters:
  • other – Pose from which to get the linear distance.

  • ignore_z – If True, ignores the Z component of the distance.

Returns:

Linear distance between this and the other pose.