BE

bilalileri/echopilot---ollama---px4---mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

23 stars 4 forks 质量 44 趋势 10

与你的无人机对话!EchoPilot是一款语音控制智能体,利用Ollama获得本地大型语言模型能力,通过LangGraph生成复杂的PX4任务。

概览

你有没有想过像在科幻电影里那样和你的无人机对话?EchoPilot让这一切成为可能。这个开源项目弥合了自然语言与自主飞行之间的鸿沟,让你只需说话就能指挥无人机。 EchoPilot 的核心是利用强大的本地大型语言模型(LLM),通过单一语音命令自动生成复杂的任务计划。与依赖外部 API 的解决方案不同,EchoPilot 直接在您的系统上处理命令,提供更高的隐私和控制。这些计划随后由一套强大的工具执行,作为后台服务运行,通过模型上下文协议(MCP)进行通信。 https://www.youtube.com/watch?v=-IVD1Tpn5w0&ab_channel=Bilal%C4%B0leri - 用复杂的句子指令无人机,比如“起飞,飞往埃菲尔铁塔,绕轨道飞行,然后返回发射”。- LLM充当智能飞行官员,根据你的语音指令自动创建安全且合乎逻辑的工具调用序列。

概述(AI 翻译)

你有没有想过像在科幻电影里那样和你的无人机对话?EchoPilot让这一切成为可能。这个开源项目弥合了自然语言与自主飞行之间的鸿沟,让你只需说话就能指挥无人机。

EchoPilot 的核心是利用强大的本地大型语言模型(LLM),通过单一语音命令自动生成复杂的任务计划。与依赖外部 API 的解决方案不同,EchoPilot 直接在您的系统上处理命令,提供更高的隐私和控制。这些计划随后由一套强大的工具执行,作为后台服务运行,通过模型上下文协议(MCP)进行通信。

https://www.youtube.com/watch?v=-IVD1Tpn5w0&ab_channel=Bilalİleri

✨ 特色

  • 自然语言控制: 用复杂句子命令无人机,如“起飞,飞往埃菲尔铁塔,绕其轨道飞行,然后返回发射。”
  • 自动任务规划: LLM作为智能飞行官员,根据你的语音指令自动创建安全且合乎逻辑的工具调用序列。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🚁 EchoPilot: A Voice-Controlled Drone Agent

Ever wanted to talk to your drone like you’re in a sci-fi movie? EchoPilot makes it happen. This open-source project bridges the gap between natural language and autonomous flight, allowing you to command a drone simply by speaking.

At its core, EchoPilot uses a powerful, local Large Language Model (LLM) to automatically generate complex mission plans from a single voice command. Unlike solutions relying on external APIs, EchoPilot processes your commands right on your system, offering enhanced privacy and control. These plans are then executed by a robust set of tools running as a background service, communicating via the Model Context Protocol (MCP).

https://www.youtube.com/watch?v=-IVD1Tpn5w0&ab_channel=Bilalİleri

✨ Features

  • Natural Language Control: Command the drone with complex sentences like, “takeoff, fly to the Eiffel tower, orbit it, and then return to launch.”
  • Automatic Mission Planning: The LLM acts as an intelligent flight officer, automatically creating a safe and logical sequence of tool calls based on your voice command.
  • Decoupled Tool Server: Drone capabilities run as an independent MCP Server in the background, making the system modular and easy to extend.
  • Local & Offline First: Designed to run primarily with a local LLM via Ollama and offline Text-to-Speech (pyttsx3), giving you full control without constant internet access.
  • Telemetry-Verified Execution: This isn’t fire-and-forget. The drone’s tools use real-time telemetry to confirm actions are physically complete—it waits for the drone to actually arrive at a location before proceeding.
  • Safe by Design: The Planner-Executor model ensures predictable behavior. The agent generates a full plan, which can be reviewed before the drone ever takes off.

🛠️ Architecture: The Brain-Hand-Voice Model

This project’s power comes from its decoupled, three-part architecture, connected by the Multi-Server Control Protocol (MCP).

+--------------------------+           +-----------------------------+
|    Drone Agent (Brain)   |           |    Tool Server (Hands)      |
|      (drone_agent.py)    |           |     (drone_server.py)       |
|--------------------------|           |-----------------------------|
| - Listens for Voice      |           | - Runs as a background      |
| - Uses LLM to create     |--(MCP)--> |   process (MCP Server)      |
|   a JSON mission plan    |           | - Exposes tools like        |
|   (a sequence of tools)  |           |   'fly_to_coordinates'      |
| - Executes plan step by  |           | - Talks to drone via MAVSDK |
|   step                   |           | - Verifies actions w/ telemetry |
+--------------------------+           +-----------------------------+
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →