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

made step_size of Carrot.move() independent from the Spline length #23

Merged
merged 4 commits into from
Sep 29, 2023

Conversation

AndyPermaRobotics
Copy link
Contributor

this optimizes the behavior of move() for very long splines and avoids that the Driver aborts at 99% because of the former stepsize of 1%

this optimizes the behavior of move() for very long splines and avoids that the Driver aborts at 99% because of the former stepsize of 1%
@falkoschindler falkoschindler linked an issue Sep 22, 2023 that may be closed by this pull request
Copy link
Contributor

@falkoschindler falkoschindler left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this pull request, @AndyPermaRobotics!
I just did some minor changes and added a pytest to cover the case of driving long splines. It indeed succeeds when using the new step size. 👍

@falkoschindler falkoschindler added this to the 0.9.2 milestone Sep 29, 2023
@falkoschindler falkoschindler added the bug Something isn't working label Sep 29, 2023
@falkoschindler falkoschindler merged commit 6fe7492 into zauberzeug:main Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Carrot.move() strategy is not optimal for long splines.
2 participants