It would be very helpful, although I'm sure less than trivial.
The ability to set local or global variables such as
#Local Vars
supercruise_state=true
fuel_percent=90
#Global vars
~last_left_panel=2
~left_panel[2]=Transactions
~left_panel[3]=Contacts
~left_panel[1]=Navigation
This would also hopefully enable automatic variables like:
command_text=$command_text
command_segment1= $command_text[1]
where for instance the command name was
"[open,close] the [cargo,landing gear]"
and the matching string from vosk was "open landing gear" would result in:
command_text[0]= "open the landing gear" and
command_text[1]="open"
command_text[2]="landing gear"
This could then allow conditional loops {if, while and loop} to become a viable option or even further commands like 'speak "$command_text[0]"' to hand off to a speech engine as part of an 'execute external script or external command'
It would be very helpful, although I'm sure less than trivial.
The ability to set local or global variables such as
This would also hopefully enable automatic variables like:
where for instance the command name was
and the matching string from vosk was "open landing gear" would result in:
This could then allow conditional loops {if, while and loop} to become a viable option or even further commands like 'speak "$command_text[0]"' to hand off to a speech engine as part of an 'execute external script or external command'