Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Drone Agent

基于大模型的无人机控制智能体,运行在 WSL2 (Ubuntu 22.04) 环境下,通过 MAVSDK 控制 Unreal Engine 中的 PX4 飞行控制器。

环境要求

  • WSL2 (Ubuntu 22.04)
  • ROS2
  • PX4 (运行在 Unreal Engine 中)
  • Python 3.10+ px4: make px4_sitl_default none_iris PX4_SIM_HOST_ADDR=0.0.0.0

安装

# 创建虚拟环境
python3 -m venv venv
source venv/bin/activate

# 安装依赖
pip install -r requirements.txt

配置

在代码中配置 API 信息:

功能

  1. 基础飞行控制: 解锁、起飞、降落、任务飞行、Offboard 模式
  2. 态势汇报: 实时位置(经纬高)、电量等无人机状态
  3. 绕圈飞行: 围绕指定经纬度坐标作圆周飞行,机头对准圆心

使用方法

source venv/bin/activate
python -m drone_agent.main

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages