-
Notifications
You must be signed in to change notification settings - Fork 34
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
[Control] Add Nonlinear Model Predictive Controller for all robots #571
Closed
Conversation
This file contains 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
…d by Acados Python Interface automatically.
…MPCSolver::reset()
…tructor, so I have to move parameters to initialize()
…ler. Compiled. No testing.
… compiling, but the system crashes during running.
…ce. Still bugs in solveOCPInLoop
…date mini_quadrotor parameters; generate acados C code again!
…ediction for NMPC
…ller. Try bringup_nmpc.launch if want to use NMPC
…flict in the eigen library
…factor from MPCController to NMPCController; use LQI attitude controller; takeoff and land successfully!
…shift all values forward and add the target point at the end
…by using external project
[Aerial Robot Control][MPC] deploy ACADOS automatically in catkin workspace
…mmit is tested in the real world.
…mpc file. Now nmpc_controller can be used independent with lqi controller file. Tested in sim.
…ontrol/nmpc folder
…te == true, the body_rate cmd will be set as target_ang_vel and hence becomes the feedforward term. Note that I change the sign of d term in control_feedback_state_msg_ to be compatible with p and i.
…d attitude + body rate is better
…that leverages 4 thrusts as input
…ng for implementing multiple kinds of nmpc
…hovering in simulation! Only body_rate controller in Spinal should be used. The use of attitude controller in Spinal cannot guarantee the convergence of yaw angle.
…nd ft1, ft2, ft3, ft4 in base_thrust to Spinal. Better performance than pure body_rate controller.
…eate files for base solver and controller, not implemented.
… why body_rate controller is incorrect, cannot take off, very weird.
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.
What is this
Try to implement Nonlinear Model Predictive Controller for all robots
TODO
If there is still some work to do. Please list up as follows:
Video
Milestone 1: position control for a under actuated aerial robot. The yaw control problem in this video has been fixed.
nmpc_mini_qd-2023-11-04_19.05.07.mp4