lua-vehicle

Generate ArduPilot Lua scripts for vehicle movement, RC input, and telemetry.

17|6|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/fossuav/aap --skill lua-vehicle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lua-vehicle
Source: https://github.com/fossuav/aap/tree/main/claude/skills/lua-vehicle
Command: npx skills add https://github.com/fossuav/aap --skill lua-vehicle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables users to write and execute ArduPilot Lua scripts for controlling vehicle movement, managing RC inputs, and accessing telemetry data.

Core Features & Use Cases

  • Vehicle Control: Implement custom flight behaviors using position, velocity, or rate control commands.
  • RC Input Handling: Read and process auxiliary switch positions and normalized stick inputs.
  • Telemetry Access: Retrieve real-time vehicle state such as location, velocity, and attitude.
  • Use Case: Create a Lua script that autonomously navigates the vehicle to a series of GPS waypoints, adjusting speed based on battery level.

Quick Start

Use the lua-vehicle skill to write a Lua script that makes the vehicle move forward at a velocity of 5 m/s.

Frequently Asked Questions about lua-vehicle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write ArduPilot Lua scripts to control vehicle movement?

ArduPilot Lua scripts enable vehicle movement control by allowing you to implement custom flight behaviors using position, velocity, or rate control commands for autonomous navigation and custom flight logic.

Can I read RC input and telemetry data in an ArduPilot Lua script?

Yes, ArduPilot Lua scripts can read and process auxiliary switch positions and normalized stick inputs. Scripts can also retrieve real-time telemetry data, accessing vehicle state such as location, velocity, and attitude during flight.

What is the best way to autonomously navigate an ArduPilot vehicle to GPS waypoints?

The best way to autonomously navigate to GPS waypoints is by writing a custom ArduPilot Lua script. You can combine velocity control commands with telemetry access to navigate sequences of waypoints while adjusting parameters like speed based on battery level.

Does ArduPilot scripting support real-time vehicle state monitoring?

Yes, ArduPilot scripting supports real-time vehicle state monitoring through telemetry access. Lua scripts can retrieve live data including the vehicle's location, velocity, and attitude, enabling dynamic adjustments to flight logic.

How do I make an ArduPilot vehicle move forward at a specific velocity using Lua?

To make an ArduPilot vehicle move forward at a specific velocity using Lua, you write a script utilizing velocity control commands. For example, you can set a target forward velocity of 5 m/s directly within your custom flight logic.