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

fixes repeated divergence after crash #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kelia
Copy link
Contributor

@kelia kelia commented Apr 24, 2020

Crashing in simulation leads to divergence of MPC.
When resetting the simulation and restarting the MPC, the previous state corrupts the optimization, leading to repetitive crashes and requiring to restart the MPC node.

This change forces a clean solve from scratch, fixing above issue.

@kelia kelia requested a review from foehnx April 24, 2020 09:28
@foehnx
Copy link
Contributor

foehnx commented Apr 24, 2020

Thanks.
The change right now is on the wrapper level, which does not account for threading.
I will move the change to the controller and make it thread-safe... but has to wait for next week.
Cheers

@foehnx foehnx self-assigned this Apr 24, 2020
@foehnx foehnx added the enhancement New feature or request label Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants