-
Notifications
You must be signed in to change notification settings - Fork 4
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
Applicable version and operation process issues #1
Comments
Sure! The project includes two parts, first is a pure python simulation that runs a simple quadrotor model controlled by MPC. You should be able to run this using execute_trajectory.py. This script should be enough if your main interest is the MPC algorithm implemented using acados. The second part of the project uses Gazebo as the simulation environment. Using the ROS messaging system, the script mpc_controller_node.py takes measurements of the current state of the quadrotor in Gazebo and using the same model and controller as in execute_trajectory.py computes the optimal control, which it then sends using the ROS messaging system back to the Gazebo drone. If RGP is enabled, the mpc_controller_node.py also tracks the differences between the state predicted using quad.py and the measurement from Gazebo and tries to fit the RGP to this discrepancy. The RGP is used in the MPC controller to enhance the quad.py model. I'm afraid I can't tell you the proper order of running the code, since I haven't touched it for almost a year, and to be frank, I haven't done the best possible job of documentation I could have. |
Actually, I would like to do some online identification work on quadcopter drones, of course thank you very much for your answer, I hope you can forgive me for bothering you |
If its identification that you are after then my project is probably not what you want. The only identification I am doing is in the RGP module, but that is very simple compared to the nonlinear quadrotor model. The RGP module fits three independent nonlinear scalar functions from the gathered data, while the quadrotor model is a set of 13 nonlinear ODEs. If you are determined to use RGP for quadrotor identification, I would start with researching if a GP model was used for this purpuse and then add the recursive (online) part later. |
Excuse me, but can I ask you about the software and version of the source code? And can you tell me the operation process of the project (such as the command to run some files and the order of running), I hope it doesn't bother you, thank you very much
The text was updated successfully, but these errors were encountered: