lua

Develop and modify ArduPilot Lua applets with API-verified Lua 5.3 scripting.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the creation, debugging, and modification of Lua scripts for the ArduPilot flight controller's scripting engine, streamlining the development of custom autopilot functionalities.

Core Features & Use Cases

  • Applet Development: Generate new Lua applets with proper structure, parameter definitions, and activation logic.
  • Code Modification: Debug and refactor existing Lua scripts, ensuring adherence to ArduPilot's API and constraints.
  • Use Case: You need to create a new Lua script that monitors battery voltage and triggers a warning when it drops below a certain threshold.

Quick Start

Use the lua skill to write a new ArduPilot Lua applet that monitors battery voltage and triggers a warning.

Frequently Asked Questions about lua

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

FAQPage Schema
How do I write a Lua applet for ArduPilot to monitor battery voltage?

You can create an ArduPilot Lua applet to monitor battery voltage by defining parameters and implementing activation logic within the scripting sandbox, triggering warnings when voltage drops below your specified threshold.

What is the Lua version supported by the ArduPilot scripting engine?

ArduPilot's scripting engine supports Lua 5.3 standards. Applets must adhere to this version and comply with strict API documentation and scripting constraints to execute properly within the flight controller sandbox.

How do I bind parameters when creating an ArduPilot Lua script?

Parameter binding in ArduPilot Lua scripts requires defining parameters within the applet structure and linking them to vehicle control logic. This process demands strict verification of API calls against provided documentation to ensure correct parameter activation and execution.

Can I use this to debug and refactor existing Lua scripts for autopilot functionalities?

Yes, you can debug and refactor existing Lua scripts for autopilot functionalities. The Skill modifies code while ensuring adherence to ArduPilot's API and scripting constraints, maintaining compatibility with the flight controller's sandbox environment.

What are the limitations when developing vehicle control logic in the ArduPilot scripting sandbox?

Developing vehicle control logic in the ArduPilot scripting sandbox is limited by strict API documentation and scripting constraints. Applets must adhere to Lua 5.3 standards and require verification of all API calls to prevent sandbox execution errors.