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

MPC linearization option use the previous solution #35

Merged
merged 9 commits into from
Mar 27, 2019
Merged

Conversation

avikde
Copy link
Owner

@avikde avikde commented Mar 27, 2019

Closes #34

Related to #31

  • implement storing the previous trajectory
  • fix bug in using a given traj if x0 is wrong
  • also animate the arrow to visualize better

@avikde
Copy link
Owner Author

avikde commented Mar 27, 2019

From looking at

With linear constraints the only way it can return problem non-convex is from P (not even q)

@avikde
Copy link
Owner Author

avikde commented Mar 27, 2019

Yes, confirmed - the non-convex problem was being caused by updateWeights. Removing it actually resulted in better behavior as well.

@avikde avikde mentioned this pull request Mar 27, 2019
4 tasks
@avikde avikde merged commit 34ae490 into master Mar 27, 2019
@avikde avikde deleted the mpc-use-prev-sol branch March 27, 2019 13:45
@avikde
Copy link
Owner Author

avikde commented Mar 27, 2019

Results

ezgif com-video-to-gif (1)

ezgif com-video-to-gif

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.

MPC use previous solution for trajectory
1 participant