Skip to content

How to run the Yaapu script on X10 and X12 as a Widget

Alessandro Apostoli edited this page Jul 27, 2018 · 37 revisions

When running the Yaapu script as a widget you need to configure up to 4 full screen telemetry pages.

Each page will have the Yaapu Widget configured to show different information.

To toggle between pages short press the [PAGE] button.

The Widget is configured by changing the page option in the "Widget settings".

Widget valid page options are

  1. main screen for single or aggregate view (mandatory)
  2. mavlink message history screen (mandatory)
  3. min/max screen for single or aggregate view (optional)
  4. main screen for dual battery view (optional)

Index

Mandatory steps

First select the blue theme by following this guide

from the model page

X10

  1. long press [TELE] to enter telemetry page setup

X10

  1. short press [ENCODER] and use the encoder to change the "Layout" to full screen, confirm with [ENCODER] and press [RTN] to exit from the "Layout" setup

X10

  1. uncheck "Top Bar" and "Sliders+Trims"

X10

  1. select "Setup widgets" and press [ENCODER], you'll be presented with a full screen empty widget layout

X10

  1. short press [ENCODER] to assign a widget to the layout, the first available widget will be shown, "Gauge" in this example

X10

  1. scroll the encoder until you see the Yaapu scritp main display

X10

  1. press [ENCODER] to confirm the widget selection

X10

  1. press [RTN] to return to the telemetry pages setup

X10

  1. next add a new telemetry page by pressing [PAGE] to select the plus icon

X10

  1. press [ENCODER] to create a new page, the Yaapu widget instance of this page will hold the mavlink message history

X10

  1. uncheck "Top Bar" and "Sliders+Trims"

X10

  1. select "Setup widgets" and press [ENCODER], you'll be presented with a full screen empty widget layout

X10

  1. short press [ENCODER] to assign a widget to the layout, the first available widget will be shown, "Gauge" in this example

X10

  1. scroll the encoder until you see the Yaapu scritp main display

X10

  1. confirm the selection with [ENCODER]

X10

  1. long press [ENCODER] to enter the widget menu

X10

  1. select "Widget settings" to enter the Yaapu widget options menu

X10

  1. press [ENCODER] (1 will start blinking) and change the "page" option to 2

X10

  1. press [RTN] to display the mavlink message history screen

X10

  1. press [RTN] to return to the main telemetry setup page

X10

Optional steps

To display the min/max screen repeat the steps from 9 to 20, you have to add an extra Yaapu full screen widget and set the script "page" option to 3 (step 18)

To display dual battery screen repeat the steps from 9 to 20, you have to add an extra Yaapu full screen widget and set the script "page" option to 4 (step 18)

Turn your radio OFF and ON, the Yaapu widget should start at Power On!

Sensor discovery

Now from the Yaapu widget page long press [MDL]

X10

press [PAGE] and select the telemetry page

X10

run "Discover new sensors", press [RTN] twice to go back to the Yaapu widget while discovery is running (do not stop sensor discovery)

As a last step from the Yaapu widget page long press [MDL]

X10

use the encoder to select the telemetry page:

all sensors should have been discovered

stop discovery and press [RTN] twice to go back to the Yaapu widget

How to access the script configuration MENU while in Widget mode

From any of the telemetry pages, (the Yaapu main widget page in this example)

X10

long press [SYS] to enter the Radio Setup

X10

press [PAGE] to select the "SD CARD" tab

X10

browse to the /SCRIPTS/YAAPU folder

X10

and run the "menu.lua" or "menu.luac" file by pressing [ENCODER] and selecting the "Execute" option

X10

this will show the Yaapu script configuration menu

X10

all changes are saved automatically.

Exit from the menu script by long pressing [RTN], then short press [RTN] twice to return to the main model telemetry page

X10

Note: to apply the changes to the running widget you have change page at least once by short pressing [PAGE], for instance toggle from the main screen to the message history screen

Clone this wiki locally