Hi,
I’m trying to play with the scripted aerobatics.
I’m using a Matek H473 and plane 4.6.3.
I loaded the plane_aerobatics.lua but when I turn on the flight controller I get the error
29/12/2025 10:32:25 : nexpected symbol near ‘<’
29/12/2025 10:32:25 : Lua: Error: /APM/scripts/plane_aerobatics.lua:7: u
What is happening? I didn’t modified the script at all.
Thanks for the help
Below the complete messages
29/12/2025 10:32:37 : b202e)
29/12/2025 10:32:37 : u-blox SAM-M10Q 1 HW: 000A0000 SW: ROM SPG 5.10 (7
29/12/2025 10:32:35 : nexpected symbol near ‘<’
29/12/2025 10:32:35 : Lua: Error: /APM/scripts/plane_aerobatics.lua:7: u
29/12/2025 10:32:33 : GPS 1: detected u-blox
29/12/2025 10:32:33 : GPS 1: probing for u-blox at 230400 baud
29/12/2025 10:32:27 : Airspeed 1 calibrated
29/12/2025 10:32:26 : IMU1: normal sampling 1.0kHz/1.0kHz
29/12/2025 10:32:26 : IMU0: fast sampling 2.0kHz/2.0kHz
29/12/2025 10:32:26 : RCOut: PWM:1-13
29/12/2025 10:32:26 : MatekH743 003E0035 31335108 32323830
29/12/2025 10:32:26 : ChibiOS: 88b84600
29/12/2025 10:32:26 : ArduPlane V4.6.3 (3fc7011a)
29/12/2025 10:32:25 : nexpected symbol near ‘<’
29/12/2025 10:32:25 : Lua: Error: /APM/scripts/plane_aerobatics.lua:7: u
29/12/2025 10:32:25 : RCOut: PWM:1-13
29/12/2025 10:32:25 : AHRS: DCM active
29/12/2025 10:32:25 : ArduPilot Ready
29/12/2025 10:32:25 : Airspeed 1 calibration started
29/12/2025 10:32:25 : Barometer 1 calibration complete
29/12/2025 10:32:25 : IMU1: normal sampling 1.0kHz/1.0kHz
29/12/2025 10:32:25 : IMU0: fast sampling 2.0kHz/2.0kHz
29/12/2025 10:32:25 : RCOut: Initialising
29/12/2025 10:32:25 : MatekH743 003E0035 31335108 32323830
29/12/2025 10:32:25 : ChibiOS: 88b84600
29/12/2025 10:32:25 : ArduPlane V4.6.3 (3fc7011a)
29/12/2025 10:32:25 : IMU1: normal sampling 1.0kHz/1.0kHz
29/12/2025 10:32:25 : IMU0: fast sampling 2.0kHz/2.0kHz
29/12/2025 10:32:25 : RCOut: Initialising
29/12/2025 10:32:25 : MatekH743 003E0035 31335108 32323830
29/12/2025 10:32:25 : ChibiOS: 88b84600
29/12/2025 10:32:25 : ArduPlane V4.6.3 (3fc7011a)
29/12/2025 10:32:25 : IMU1: normal sampling 1.0kHz/1.0kHz
29/12/2025 10:32:25 : IMU0: fast sampling 2.0kHz/2.0kHz
29/12/2025 10:32:25 : RCOut: Initialising
29/12/2025 10:32:25 : MatekH743 003E0035 31335108 32323830
29/12/2025 10:32:25 : ChibiOS: 88b84600
29/12/2025 10:32:25 : ArduPlane V4.6.3 (3fc7011a)
29/12/2025 10:32:24 : Calibrating barometer
29/12/2025 10:32:23 : Beginning INS calibration. Do not move plane
29/12/2025 10:32:23 : Ground start
I followed the documentation here:
or here: