The generated code is it the same of the framwork ?

5 vues (au cours des 30 derniers jours)
James
James le 3 Sep 2015
the question is in the title
  2 commentaires
Cedric
Cedric le 3 Sep 2015
Modifié(e) : Cedric le 3 Sep 2015
The question mark isn't enough to make a valid question out of your title.
James
James le 4 Sep 2015
Hello, Cedric i'm a developer i modelede control law command on simulink. now i'm working on a project "quadcopter extreme stability", i will work on a open source quadcopter, i will use the pixhawk flight control, i see that a simulink model exist for the pixhawk http://www.mathworks.com/hardware-support/pixhawk.html . My goal is to replace the simpl PID by a non lineare control law commande, so i want to know if i generate the simulink model to c, i will get the same framework that existe on pixhawk framework ? Thanks

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 4 Sep 2015
No.
  1 commentaire
Walter Roberson
Walter Roberson le 4 Sep 2015
You are using the complete pixhawk tool chain, creating whatever binary format it needs using the code generation tools that people would normally use to program pixhawk. If that is what you mean by "framework" then the answer to your question is Yes.
However, the algorithm that is developed will not be the same as the algorithms supplied with pixhawk. You are making a custom modification, your whole point is to have something different. So if by "framework" you are talking about the details of the algorithms and code that control a flight, then No, you will be generating something different.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by