[Docs]: MPPI and MPC path tracking#78
Open
mohitk3000 wants to merge 27 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds the documentation of the MPC and MPPI path tracking controllers, explaining the maths, code, optimization process, and a comparison of how MPC and MPPI work. Additionally some chore work on optimisation.
Changelogs:
eariler
np.linalg.inv(self.Sigma)was computed insideupdate()on every call even thoughSigmanever changes after construction. A minor optimisation is to compute it once in__init__asself.Sigma_inv = np.linalg.inv(self.Sigma)and reference in theupdate().added includes of warning module to suppress unnecessary warning of full version of do-mpc and some edit in comments
I have run both the MPPI and MPC path tracking controllers after these changes, and they are working as expected.
Checkpoints: