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

Fix spline collision point calculation #1136

Closed

Conversation

TauTheLepton
Copy link
Contributor

@TauTheLepton TauTheLepton commented Nov 14, 2023

Types of PR

  • New Features
  • Upgrade of existing features
  • Bugfix

Link to the issue

#1120

Description

I have fixed spline collision implementation error which caused spline to add normalized length to absolute lengths which is incorrect.

How to review this PR.

Others

Please note that in the BuildAndRun workflow the build was successful and only one test did not pass.
This test does not pass because of the floating point numbers precision. The imperfection happens in a lambda I have added, specifically in line 159 in hermite_curve.cpp.
The length of the spline is calculated by interpolating it with 100 points which leads to minor errors.
I am in the process of improving geometry tests and these test issues will be resolved.

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

Successfully merging this pull request may close these issues.

1 participant