Page 1 of 1

ShiftX2

Posted: Mon Jul 17, 2017 10:20 pm
by cobra440
Is there any existing script for Predictive timing indication for the ShiftX2 module or does "implement me" mean get off your duff and write your own script?

Posted: Sat Jul 22, 2017 5:54 am
by brentp
Nope! I need to write up the script - it's very similar to the sequential shift light. It will also need the Beta 2.12.0 firmware as it uses the new Lua script function - getPredTime().

Hang tight! :)

Posted: Wed Jul 26, 2017 4:41 am
by brentp
Alright! A preliminary Predictive timing visualizer script has been added to the wiki:

https://wiki.autosportlabs.com/ShiftX2

Posted: Fri Aug 11, 2017 10:43 pm
by cobra440
brentp wrote:Alright! A preliminary Predictive timing visualizer script has been added to the wiki:

https://wiki.autosportlabs.com/ShiftX2
I have not been able to get this script to do anything. Has anyone else been able to get the visual predictive timing working? I am not at all familiar with Lau script although it looks like visual basic that I have used. Is there a way to step through the program to debug it?

Posted: Fri Aug 11, 2017 10:49 pm
by brentp
Hi,

Thanks for the follow up.

I take it you have the rainbow test script working, so that is good.

When you test with the predictive timer, are you also monitoring the App's predictive timer indicator as well?

The display will start working only when a predictive time is actually available. That means, completing a 1 full lap of the circuit you are running. After the first lap, the predictive timer kicks in and starts updating.

You can simulate this by setting up an ad-hoc course in a parking lot or around your local streets.

Let us know, I'll watch for updates.