pyrobosim.utils.pose.Pose.is_approx

Pose.is_approx(other: Self, rel_tol: float = 1e-06, abs_tol: float = 1e-06) bool

Check if two poses are approximately equal with a tolerance.

Parameters:
  • other – Pose with which to check approximate equality.

  • rel_tol – Relative tolerance

  • abs_tol – Absolute tolerance

Returns:

True if the Poses are approximately equal, else False