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

Catch and fix NaNs in the fillOrientations function #513

Merged
merged 2 commits into from
May 11, 2018

Conversation

kriskozak
Copy link

  • Check for NaNs in the swri_route_util/src/util.cpp fillOrientations function
  • Replace the invalid orientations with orientations from nearest neighbors
    in the route with valid orientations
  • Simplify the orientation calculation to use center difference rather than
    averaging of vectors

- Check for NaNs in the swri_route_util/src/util.cpp fillOrientations function
- Replace the invalid orientations with orientations from nearest neighbors
  in the route with valid orientations
- Simplify the orientation calculation to use center difference rather than
  averaging of vectors
@pjreed
Copy link
Contributor

pjreed commented May 11, 2018

I'm going to make a new release of marti_common soon, should we get this change in first?

@malban
Copy link

malban commented May 11, 2018

probably

@malban malban merged commit 29658ac into swri-robotics:master May 11, 2018
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.

None yet

3 participants