- 6.a. Maestro Script Language Basics
- 6.b. Command Reference
- 6.c. Example Scripts
- 6.d. Script Specifications
A script is a sequence of commands that is executed by the Maestro. Commands can set servo targets, speeds, and accelerations, retrieve input values, and perform mathematical computations. Basic control structures – looping and conditionals – are available for use in making complicated scripts. The Maestro script language is a simple stack-based language very similar to FORTH, and scripts compile to a compact bytecode in which commands and subroutine calls each take just a single byte. A basic editor/debugger is available in the Script tab of the Maestro Control Center application.