Skip to content

allow user to force new computation for the same input #132

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

Merged
merged 2 commits into from
Jun 29, 2022

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Jun 15, 2022

Otherwise sending the same target with non-zero min_duration
multiple times in a control loop will not trigger a new trajectory.
Instead it claims that it already achieved the target.

An alternative way to address the problem is to add a flag to
InputParameter that can force a fresh computation in the next update.

I'm not particularly in love with the proposed solution,
so if you have better ideas I would like to hear them. :)

Otherwise sending the same target with non-zero min_duration
multiple times in a control loop will not trigger a new trajectory.
@pantor
Copy link
Owner

pantor commented Jun 22, 2022

Hey @v4hn!

Am I understanding this correctly, that the trajectory doesn't get re-calculated although you changed the minimum duration of the input parameters?

@v4hn
Copy link
Contributor Author

v4hn commented Jun 22, 2022 via email

@pantor pantor merged commit 7645ca2 into pantor:master Jun 29, 2022
@pantor
Copy link
Owner

pantor commented Jun 29, 2022

Btw, I've renamed it to reset. Thanks for your input!

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.

2 participants