How to set the control algorithm's execution frequency on the flight control board when using the UAV Toolbox Support Package for PX4 Autopilots?
2 ビュー (過去 30 日間)
古いコメントを表示
When I am designing a control algorithm using the PX4 support package, I want to set the execution frequency of my control algorithm on the real flight board. I'm not sure if it's set under "Model settings -> solver". Moreover, I don't know how to verify whether my control algorithm is running with the step size I've set. Does anyone understand this issue? Please help me, thank you very much!
0 件のコメント
回答 (1 件)
Arun Mathamkode
2024 年 10 月 8 日
The execution rate is defined by the sample time of your model. The base sample time is decided based on the Sample time paramter value you have set on the source blocks mask. To know how to view the model sample time and which blocks run at what rate, refer this documentation.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!