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

ops/2024/9/23 14:23:45/

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.​

文章目录

  • Windows下使用Airsim+QGC进行PX4硬件在环HITL
    • (一)Required softwares
      • 1, QGroundControl
      • 2, Visual Studio
      • 3, Epic Games & Unreal Engine & Airsim
      • 4, Troubleshooting Reference
    • (二)Preperation for HITL
    • (三)HITL Testing
    • (四)Virtual flight in HITL

(一)Required softwares

Install the following software in your custom path. (C Disk is not recommended, better in D or E).

  • 16GB memory is recommended.

  • 50GB disk space or more is recommended.

  • Operation System: Windows (STRONGLY recommended)

1, QGroundControl

This software is the ground station for aerial vehicle control. You can send command and inspect the status of the drone in this software.

Official website: QGC - QGroundControl - Drone Control

2, Visual Studio

For building the airsim code.

Official wesite: Visual Studio: 面向软件开发人员和 Teams 的 IDE 和代码编辑器 (microsoft.com)

Tick the items as the figure shows. Make sure they are properly installed or you will get in to some errors.
在这里插入图片描述
在这里插入图片描述

3, Epic Games & Unreal Engine & Airsim

Follow the official documentation: Build on Windows - AirSim (microsoft.github.io)

Developer Command Prompt for VS 2022 can be started from the search box on the bottom right of your desktop.

请添加图片描述

4, Troubleshooting Reference

创建 Unreal Project with AirSim Blocks Environment - 知乎 (zhihu.com)

(二)Preperation for HITL

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

(三)HITL Testing

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

(四)Virtual flight in HITL

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


http://www.ppmy.cn/ops/47357.html

相关文章

AndroidStudio电脑连接手机后但AndroidStudio识别不到

我用的是mac androidstudio,通过USB数据线连接了小米手机,手机可以通过USB充电,但androidstudio没有显示对应的设备,adb命令检查不到设备: 后来发现是因为手机的开发者选项没有打开,其实以前是打开了的&…

Python面试宝典:Python中与设计模式相关的面试笔试题(1000加面试笔试题助你轻松捕获大厂Offer)

Python面试宝典:1000加python面试题助你轻松捕获大厂Offer【第二部分:Python高级特性:第二十二章:代码设计和设计模式:第二节:设计模式】 第二十二章:代码设计和设计模式第二节:设计模式创建型模式结构型模式行为型模式python中与设计模式相关的面试笔试题面试题1面试题…

论文降重:AI辅助工具的高效策略

现在大部分学校已经进入到论文查重降重的阶段了。如果查重率居高不下,延毕的威胁可能就在眼前。对于即将告别校园的学子们,这无疑是个噩梦。四年磨一剑,谁也不想在最后关头功亏一篑。 查重率过高,无非以下两种原因。要么是作为“…

C#WPF数字大屏项目实战02--主窗体布局

1、主窗体起始属性 设置有关属性如下: WindowStyle"None"-》无边框 AllowsTransparency"True" -》允许透明 WindowStartupLocation"CenterScreen"-》启动时位于屏幕中间 FontFamily"Microsoft YaHei"-》字体微软雅黑 …

落地式台灯怎么选比较好?五款618可入护眼大路灯分享

落地式台灯怎么选比较好?落地式台灯,简而言之,即一款提供健康舒适照明的立式灯具。它凭借卓越的LED光源和先进的科技技术,实现了传统台灯难以企及的健康照明效果,满足了从日常阅读、工作加班到小说阅读、艺术创作等多元…

机器学习知识点总结

简介:随着人工智能(AI)蓬勃发展,也有越来越多的人涌入到这一行业。下面简单介绍一下机器学习的各大领域,机器学习包含深度学习以及强化学习,在本节的机器学习中主要阐述一下机器学习的线性回归逻辑回归&…

MySQL数据库开发设计规范总结

MySQL数据库开发设计规范总结 概述MySQL数据库设计规范设计规范-库设计规范-表、列设计规范-索引跟索引相关的SQL优化设计规范-视图设计规范-存储过程设计规范-触发器设计规范-安全规范 数据库架构设计原则一、高可用架构选择二、扩展性三、安全性策略四、数据完整性策略五、规…

Kimichat使用案例007:用kimichat批量重命名txt文本文件

文章目录 一、介绍二、txt文件集三、Kimi操作内容四、Kimi输出内容一、介绍 一个文件夹中有很多个txt文本文件,需要全部进行重命名。 二、txt文件集 三、Kimi操作内容 可以在kimichat中输入提示词: 你是一个Python编程专家,要完成一个关于批量重命名txt文本文件的Python脚本…