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

  1. Copy HelloWorld.lua to the APM/scripts/ folder on your autopilot SD card (or use MAVFTP from Mission Planner).
  2. Set SCR_ENABLE = 1 and reboot if scripting is not already enabled.
  3. Open the Messages tab in your GCS - you should see the greeting every 5 s.

Parameters

None.

Back to browse