The generated code is it the same of the framwork ?

the question is in the title

댓글 수: 2

Cedric
Cedric 2015년 9월 3일
편집: Cedric 2015년 9월 3일
The question mark isn't enough to make a valid question out of your title.
James
James 2015년 9월 4일
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

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2015년 9월 4일

0 개 추천

No.

댓글 수: 1

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.

댓글을 달려면 로그인하십시오.

태그

질문:

2015년 9월 3일

댓글:

2015년 9월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by