The generated code is it the same of the framwork ?

the question is in the title

2 Comments

Cedric
Cedric on 3 Sep 2015
Edited: Cedric on 3 Sep 2015
The question mark isn't enough to make a valid question out of your title.
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

Sign in to comment.

Answers (1)

No.

1 Comment

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.

Sign in to comment.

Tags

Asked:

on 3 Sep 2015

Commented:

on 4 Sep 2015

Community Treasure Hunt

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

Start Hunting!