• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Quad Race Start Sequence – GoRace OpenTX Lua Script

#1
[FONT=&quot]This script mimics the start sequence for quad racing. Pilots get their quads ready on the start line. They then return to their seats and get ready to race. The race official tells them to arm their quads and then after a random delay sounds a start buzzer.[/FONT]
[FONT=&quot]
[/FONT]

[FONT=&quot]To use the script:[/FONT]

  • The pilot activates a momentary switch.
  • An announcement to get ready to race is made.
  • After a random delay of up to 5 seconds a start buzzer sounds.
  • This switch used and delay can be configured.
[FONT=&quot]
[/FONT]

[FONT=&quot]The blog post covers the setup of OpenTX and the transmitter.[/FONT]
[FONT=&quot]
[/FONT]

[FONT=&quot]The video covers some of the features and basic setup and configurations.[/FONT]
[FONT=&quot]
[/FONT]

[FONT=&quot]Stay Safe & Have Fun[/FONT]
[FONT=&quot]
[/FONT]

[FONT=&quot]Check out the blog post and video.[/FONT]
[FONT=&quot]http://rcdiy.ca/quad-race-start-sequence-gorace/[/FONT]
 
#2
[FONT=&quot]This script mimics the start sequence for quad racing. Pilots get their quads ready on the start line. They then return to their seats and get ready to race. The race official tells them to arm their quads and then after a random delay sounds a start buzzer.[/FONT]
[FONT=&quot]
[/FONT]

[FONT=&quot]To use the script:[/FONT]

  • The pilot activates a momentary switch.
  • An announcement to get ready to race is made.
  • After a random delay of up to 5 seconds a start buzzer sounds.
  • This switch used and delay can be configured.
[FONT=&quot]
[/FONT]

[FONT=&quot]The blog post covers the setup of OpenTX and the transmitter.[/FONT]
[FONT=&quot]
[/FONT]

[FONT=&quot]The video covers some of the features and basic setup and configurations.[/FONT]
[FONT=&quot]
[/FONT]

[FONT=&quot]Stay Safe & Have Fun[/FONT]
[FONT=&quot]
[/FONT]

[FONT=&quot]Check out the blog post and video.[/FONT]
[FONT=&quot]http://rcdiy.ca/quad-race-start-sequence-gorace/[/FONT]

I can get the startup voice to work of Joe Scully but the tone doesn't work.
 
#3
[HR][/HR]I tested it on a Q X7 with 2.2.0 and it works...

Did you edit the lua file?

Can you try and get it working on Companion first?

Are you able to use the SD Card browser and to play the file?

screenshot_x7_17-12-01_18-01-55.png
 
Last edited:
#4
For the second file to play the buzzer the active switch needs to go inactive which is why the default switch is a momentary switch.
 
#5
The scripts has been updated.
It used to require the use of a momentary switch that gets activated and then deactivated immediately for the start sequence to initiate or a switch.
Now the start sequence switch can stay active.
 
#6
Hello I followed your tuto on the site but I can't make it work it doesn't find the .lua but I think it is because I couldn't transform the .txt to .lua I tried but I think it haven't work how did I do it? thanks
PS: I have a X9D+