Windows下使用Airsim+QGC进行PX4硬件在环HITL(三)

Windows下使用Airsim+QGC进行PX4硬件在环HITL

This tutorial will guide you through the installation of Airsim and QGC on Windows, so that the hardware-in-the-loop experiment can be conducted.

Hardware-in-the-Loop (HITL or HIL) is a simulation mode in which normal PX4 firmware is run on real flight controller hardware. This approach has the benefit of testing most of the actual flight code on the real hardware.

In 2017 Microsoft Research created AirSim (Aerial Informatics and Robotics Simulation) – an open-source robotics simulation platform. From ground vehicles, wheeled robotics, aerial drones, and even static IoT devices, AirSim enabled data capture data for models without costly field operations.​

(一)Required softwares

Windows下使用Airsim+QGC进行PX4硬件在环HITL(一)

(二)Preperation for HITL

Windows下使用Airsim+QGC进行PX4硬件在环HITL(二)

(三)HITL Testing

1, Launching order

(1) Open QGC (Status: Disconnected)
(2) Connect Pixhawk
(3) Open Unreal Engine
在这里插入图片描述

在这里插入图片描述

2, HITL

Press the play button
在这里插入图片描述
If there is nothing wrong with the connection, you should see prompts like this:
在这里插入图片描述
QGC is connected too. Ignore the error reports. Status is Not Ready. Click on the Not Ready.
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
You will hear a voice reminder “Armed”, and the UAV in Airsim will rotate its propellers, preparing for flight. If there are no further actions in a few seconds, it will automatically disarm to stop the propellers rotating.
在这里插入图片描述
Send a takeoff command using QGC:
在这里插入图片描述
The drone will fly to the given height in Airsim.
在这里插入图片描述

To land the drone, you can click on the Land icon in QGC.
在这里插入图片描述

(四)Virtual flight in HITL

Windows下使用Airsim+QGC进行PX4硬件在环HITL(四)

  • 29
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值