Scripts2026年7月19日·1 分钟阅读

AirSim — Open Source Simulator for Autonomous Vehicles

A high-fidelity simulation platform built on Unreal Engine for testing drones, cars, and other autonomous systems with realistic physics and sensor models.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
AirSim Overview
直接安装命令
npx -y tokrepo@latest install 588c1973-832b-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

AirSim is a simulation platform from Microsoft Research for testing autonomous vehicles including drones and cars. Built on Unreal Engine, it provides photorealistic environments with accurate physics, weather simulation, and sensor models for cameras, LiDAR, IMU, and GPS.

What AirSim Does

  • Simulates multirotor drones and ground vehicles with realistic aerodynamics and physics
  • Provides synthetic sensor data including RGB cameras, depth, segmentation, and LiDAR point clouds
  • Supports hardware-in-the-loop (HITL) and software-in-the-loop (SITL) configurations
  • Exposes Python and C++ APIs for programmatic control and data collection
  • Integrates with reinforcement learning frameworks for training autonomous agents

Architecture Overview

AirSim runs as an Unreal Engine plugin that communicates with external code through an RPC server. The physics engine simulates vehicle dynamics at high frequency while the rendering pipeline generates sensor outputs at configurable rates. Client libraries connect over MessagePack-RPC, allowing control from Python, C++, or any language with an RPC client. Multiple vehicles can run simultaneously in a shared environment.

Self-Hosting & Configuration

  • Requires Unreal Engine 4.27+ or pre-built environment binaries for quick start
  • Configure vehicles, sensors, and environment via settings.json in the user home directory
  • Set camera resolution, FOV, and position offsets per vehicle
  • Weather parameters (rain, fog, snow, dust) are adjustable at runtime via API
  • Supports Docker deployment for headless training without GPU rendering

Key Features

  • Photorealistic rendering with dynamic lighting, shadows, and weather effects
  • Domain randomization for robust perception model training
  • Built-in recording mode saves synchronized images, poses, and sensor data
  • Multi-vehicle support for swarm simulation and cooperative scenarios
  • Compatible with PX4, ArduPilot, and custom flight controllers

Comparison with Similar Tools

  • Gazebo — better ROS integration but lower visual fidelity; AirSim excels at photorealism
  • CARLA — focused on urban driving; AirSim covers both aerial and ground vehicles
  • FlightGoggles — MIT drone racing simulator; AirSim offers broader vehicle and sensor support
  • Isaac Sim — NVIDIA commercial offering; AirSim is fully open source and free

FAQ

Q: Does AirSim require a powerful GPU? A: For rendering, yes. A modern NVIDIA GPU with 4+ GB VRAM is recommended. Headless mode works without one.

Q: Can I create custom environments? A: Yes, any Unreal Engine environment can host AirSim by adding the plugin.

Q: Is AirSim still maintained? A: Microsoft moved it to maintenance mode in 2022, but the community continues development.

Q: Can I use AirSim for real drone flight testing? A: Yes, HITL mode connects to real flight controllers for pre-flight validation.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产