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

Add .equals and .fuzzyEquals to Waypoint and Config classes #33

Open
SPCOxion opened this issue Feb 10, 2018 · 0 comments
Open

Add .equals and .fuzzyEquals to Waypoint and Config classes #33

SPCOxion opened this issue Feb 10, 2018 · 0 comments

Comments

@SPCOxion
Copy link

SPCOxion commented Feb 10, 2018

Our team is currently using Pathfinder to pregenerate and save trajectories. In order to validate that two trajectories are the same, we also save the settings used in the Trajectory.Config and the Waypoint array used to generate a trajectory.

We found that, in Java, the built-in .equals function on a Trajectory.Config object will return false, even if all of the properties in each of the Config objects are equal. We weren't able to test this on waypoints, as we rounded the waypoints off at a certain decimal place; however, a .fuzzyEquals method for both classes would be helpful as well.

This is more of a feature request than a bug report.

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