-
Notifications
You must be signed in to change notification settings - Fork 1
MPC controller + E2E simulation in MuJoCo #27
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
base: main
Are you sure you want to change the base?
Conversation
return x + (1/6)*(f1 + 2*f2 + 2*f3 + f4) | ||
|
||
# Neutral position to linearize around | ||
xgoal = np.zeros(12) # On ground, straight up, no movement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this controller hard-code a "trajectory"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this specific controller targets a specific position to stabilize around. Trajectory tracking probably should have a slightly different formulation
This is a big PR and a lot of work! I probably need to be walked through a bunch of this so I understand how it works. Some questions I have are:
|
|
This pull request adds a
cvxpygen
-based MPC controller (using theosqp
) solver. It also adds a Mujoco simulation environment which can be used to test ASTRAFlightSoftware end-to-end.