Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RigidBodyTransformReadOnly#epsilonEquals should accept separate epsilons for rotation and translation #65

Open
calvertdw opened this issue May 31, 2024 · 0 comments

Comments

@calvertdw
Copy link
Member

calvertdw commented May 31, 2024

I made this in EuclidCoreMissingTools for now.

public static boolean epsilonEquals(RigidBodyTransformReadOnly a, RigidBodyTransformReadOnly b, double rotationEpsilon, double translationEpsilon)
{
   return a.getRotation().geometricallyEquals(b.getRotation(), rotationEpsilon)
       && a.getTranslation().geometricallyEquals(b.getTranslation(), translationEpsilon);
}
@calvertdw calvertdw changed the title Pose3DReadOnly#epsilonEquals should accept separate epsilons for position and orientation RigidBodyTransformReadOnly#epsilonEquals should accept separate epsilons for position and orientation May 31, 2024
@calvertdw calvertdw changed the title RigidBodyTransformReadOnly#epsilonEquals should accept separate epsilons for position and orientation RigidBodyTransformReadOnly#epsilonEquals should accept separate epsilons for rotation and translation May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant