how to implement ar drone controller using matlab and simulink
4 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Birdman
2017-11-26
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 个评论
Birdman
2017-11-26
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 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!