The HITL example of UAV toolbox, there was a problem with QGC mission

8 ビュー (過去 30 日間)
SeungWoo Park
SeungWoo Park 2022 年 10 月 31 日
回答済み: Arun Mathamkode 2024 年 4 月 2 日 11:02
Hello, everyone.
I'm Park, I have studied design drone's controller.
I'm following this example:
and I followed step 3-5.
In step 3-6, I set mission and started flight.
It succeeded to take-off and move waypoint 2.
The problem occurred when drone had to go to the next waypoint.
As shown in the picture, as soon as Waypoint 2 was reached, the drone was disarmed, and it no longer flied normally.
I didn't change any values in the example and only changed the settings for the connection.
Seeing that it is flying to waypoint 2, the controller seems to be working properly, but I wonder how to solve the phenomenon of not specifying the next waypoint.
It seems to be a problem that occurs in UAV toolbox because it cannot be found in the PX4 community.
If anyone knows how to solve this problem, I'd really appreciate it if you could reply.
  1 件のコメント
John conner
John conner 2024 年 2 月 21 日
i have the same problem.
the drone fly as well as possible, but after 20-30 seconds controller failes. i thinks its due to loosing position several times.

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

回答 (1 件)

Arun Mathamkode
Arun Mathamkode 2024 年 4 月 2 日 11:02
Are you seeing any errors in the QGC or in NSH shell that why its disarming? without that it is bit difficult to understand whats happening here.
I can provide few generic pointers. Since the plant model is also running in the same PC as a Simulink Simulation, if the PC is getting busy with multiple applications and if your Simulink plant simulation slows down this can cause unexpected behaviours such a position or GPS loss etc. You might need to use a PC with better compute capability in this case.
You can also consider setting parameter COM_DISARM_LAND to -1. This disables the timeout for auto-disarm when QGC detects a landing. This helps in avoiding a potential PX4 failsafe when drone motors stops at highest take-off point momentarily.

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by