how to implement ar drone controller using matlab and simulink

I'd like to implent a controller in ar drone using darenlee/Simulink ar drone target

 채택된 답변

Birdman
Birdman 2017년 11월 26일

0 개 추천

If you are talking about a linear PID controller, then there is an already defined block in Control System Toolbox in Simulink. I could be more helpful if you can be more specific.

댓글 수: 2

I have PID controler, I'd like to implement it on ar drone 2.0. After generating a C code how to use tool chain interface.
Ok, in Simulink you can generate code for your PID controller using Embedded Coder(there are other coders but this is the most used one). Then open code generation report and see how the PID controller is implemented. The generated code is in C language, which is really easy to understand.
Build a simple model, generate code for it and see how PID is implemented.

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

추가 답변 (1개)

Briand
Briand 2017년 11월 27일

0 개 추천

The question is how PID is implemented? The generation of code C is not a problem but How to implement it on Quadcopter How to do it?
I have already implement a HDL code in FPGA with HDL Workflow Advisor but for C to ar drone We use what?

카테고리

도움말 센터File Exchange에서 Quadcopters and Drones에 대해 자세히 알아보기

제품

태그

질문:

2017년 11월 26일

답변:

2017년 11월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by