Understand EKF with SITL/HITL simulation with PX4

17 ビュー (過去 30 日間)
Paolo
Paolo 2023 年 1 月 7 日
コメント済み: Paolo 2023 年 1 月 9 日
Hi at all, I have a question about SITL/HITL simulation and EKF estimation algorithm. I understand how PX4 flight stack works but I didn't understand if EKF is used by the PX4 host target in the example SITL with Simulink plant or in my real hw in the example HITL with Simulink plant. The plant send messages about the position and other information via MAVLink messages and the controller uses the uORB read block to get this data, but I didn't understand if EKF is working by default and get this data, compute an estimation and passes it to the controller.
Thanks in advice.

採用された回答

Arun Mathamkode
Arun Mathamkode 2023 年 1 月 9 日
The SITL and HITL example you have mentioned is based on replacing the PX4 controller with the controller designed in Simulink. Other PX4 modules including Estimator are enabled and used for these examples. The sensor data sent from the Simulink plant through MAVLink will be read by the estimator module through uORB messages. The estimator module estimates the position and attitude etc through these sensor data. The local position and attitude uORB messages which are read in the controller are published by the estimator module. You can refer to the uORB graph to get more ideas.
  1 件のコメント
Paolo
Paolo 2023 年 1 月 9 日
Hi @Arun Mathamkode thank you for this exhaustive explanation. Really appreciate it.

サインインしてコメントする。

その他の回答 (1 件)

Mary
Mary 2023 年 1 月 9 日
Without a doubt, you are a fantastic storyteller we become what we behold. We appreciate you informing us about your blog.

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by