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

Erase dynamic sweep gvf #2534

Merged
merged 4 commits into from
May 27, 2020

Conversation

noether
Copy link
Member

@noether noether commented May 27, 2020

Finally I had some time to test the "dynamic sweep" in poly survey with GVF. It turns out that the code from that PR does not even compile when you set to true the corresponding define. The code does not make much sense anyway, so it is better to delete it.

Once I have a chance, I will also check whether the dynamic sweep works correctly with the original poly survey.

The bright side is in the second commit. I have found a bug in the GVF for tracking lines defined with two points. It did not work correctly for the corner case of "perfect horizontal lines" (90 or 270 degrees). Testing the poly survey triggered the bug. Now the fix is even more elegant, and I tested it thoruhgfully in simulation.

@noether noether added the Module label May 27, 2020
Copy link
Member

@gautierhattenberger gautierhattenberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you're happy with this, I am as well

@gautierhattenberger gautierhattenberger merged commit 5993d39 into paparazzi:master May 27, 2020
@noether noether deleted the erase_dynamic_sweep_gvf branch May 28, 2020 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants