pyrobosim.utils.pose.Pose.is_approx

Pose.is_approx(other, rel_tol=1e-06, abs_tol=1e-06)

Check if two poses are approximately equal with a tolerance.

Parameters:
  • other (pyrobosim.utils.pose.Pose) – Pose with which to check approximate equality.

  • rel_tol (float) – Relative tolerance

  • abs_tol (float) – Absolute tolerance

Returns:

True if the Poses are approximately equal, else False

Return type:

bool