Dear all,
I’m currently trying with the help of a friend to create a “virtual caller” app to be used during training in remote control precision aerobatic.
We have different sequences of aerobatic maneuvers to execute and the goal of the app is to tell what we have to do next (Looping, rolls…).
Here is an example of the flying maneuvers:
The app is currently built so that once you press the button (P21) it start the 1st text to speech (take off) and then start Speech Recognizer to ask for the instructions so that it can be used free hands.
Instructions are simple, either we ask for the next maneuver (“suite” in the code in French) either we ask to repeat the maneuver (“répéter” in the code in French).
The current version of the code is working but we have two main problems.
-
The speech recognizer period is too short. Sometimes it can take more than 20 seconds until I need to ask for the next maneuver instruction.
Each times this period is passed, the SR goes in “click to try again” mode which is impossible to do during the flight as our hands are not free. -
Each times the SR do not understand the instruction, it goes in a sort of failed mode and stop the application.
So could you please help so that the SR automatically start again until it as an instruction, and/or automatically start again until it receive a valid instruction?
Attached is the corresponding .aia file for analysis.
Thanks in advance for your advice.
Appli_F3a_V1.aia (39.4 KB)