ardupilot
通过 pymavlink 连接并控制 ArduPilot 无人机。使用此 skill 来操作无人机起飞、降落、移动等。
Why use this skill?
Control ArduPilot drones with OpenClaw. Automate takeoff, landing, and flight monitoring using pymavlink with this expert-level integration skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/luweiliao/ardupilotWhat This Skill Does
The ardupilot skill allows the OpenClaw AI agent to interface directly with ArduPilot-compatible flight controllers (such as the Pixhawk/CubeOrange series) using the MAVLink protocol via pymavlink. It provides low-level control over unmanned aerial vehicles (UAVs), enabling the agent to perform complex flight operations including arming the motors, switching flight modes (GUIDED, LAND), executing takeoff sequences, and monitoring real-time telemetry like altitude, GPS status, and battery levels.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/luweiliao/ardupilot
Ensure your host machine has a stable network connection to the MAVLink bridge (e.g., TCP port 5762) and that the necessary Python dependencies for pymavlink are installed in your environment.
Use Cases
This skill is ideal for autonomous drone development, remote site inspection, and automated flight testing. It allows an AI agent to handle complex, timing-sensitive operations like "Taking off to a height of 10 meters" or "Conducting a landing procedure" based on environmental sensor triggers. It is particularly useful for developers building custom autonomous navigation pipelines or AI-driven flight mission planners.
Example Prompts
- "Check the current battery voltage and satellite count of the drone, then report if it is safe to arm."
- "Execute a takeoff sequence to an altitude of 8 meters and hold position."
- "Switch to land mode and monitor the descent until the drone is on the ground."
Tips & Limitations
- Timing is critical: When executing the takeoff sequence, the skill must send ARM, GUIDED mode, and TAKEOFF commands in rapid succession. Delays between these commands may cause the flight controller to time out or re-arm.
- Always have a physical emergency kill switch or RC override ready when testing this skill in real flight environments.
- Use the
force=21196magic value carefully, as it is specific to ArduPilot's safety protocols. - Ensure your network latency to the flight controller is minimal to avoid connection heartbeats dropping during critical maneuvers.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-luweiliao-ardupilot": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution