applets
HelloWorld
Sends a periodic greeting message to the GCS every 5 seconds.
| Version | 1.0.0 |
|---|---|
| Date | 2026-05-18 |
| Min firmware | 4.5 |
| Vehicle | copter, plane, rover |
/lua_ardupilot_scripts/applets/HelloWorld.lua
Download .lua
HelloWorld
Description
HelloWorld is the minimal example applet for this repository. It sends a friendly message to the Ground Control Station every 5 seconds.
Use this as a starting point when writing a new applet.
Setup
- Copy
HelloWorld.luato theAPM/scripts/folder on your autopilot SD card (or use MAVFTP from Mission Planner). - Set
SCR_ENABLE = 1and reboot if scripting is not already enabled. - Open the Messages tab in your GCS - you should see the greeting every 5 s.
Parameters
None.