by jacapec on Tue Oct 30, 2018 7:23 am
Hello Martijn,
I've tried to do exactly the same Variance Track Map as you tried few months ago (and Google brought me here).
How are you calculating your "Variance"?
In my case, I am simply doing "variance_dist('LapCurrentLapTime' [s])". As explained in the Function Help, "variance_dist(x)" calculates the difference between the main lap and the overlay/s selected. So, obviously, you need to select two different laps to make your "Variance" calculated channel to work.
This seems to be a problem when trying to use this channel in a Track Report. Here, you have one (track) line for each lap selected. I think that it is required by the Track Report tool that the channel you want to plot, has to be able to work without the requiriment of having two laps selected. From my point of view is easy to understand but hard to explain (and maybe I'm wrong).
Of course, it doesn't work even if you select two laps (this only creates a new white line at the Track Report).
I have tried as well to create a new channel called "Variance V2" that is simply equal to my calculated "Variance_V1", but it's useless to do it.
Additionally, I've tried to do something like " 'LapCurrentLapTime' [s] - ref:'LapCurrentLapTime' [s]" (I've read that "ref:" uses the value of the overlay lap data) but it doesn't work neither.
The only possible solution that comes to my head is to create an external function (using c++ or similar) and use it in Motec (Maths window>Add plugin).
PD. Avoid to name the calculated variance channel simply as "Variance". This seems to bring some problems when plotting the default Variance (F3 key)
Javier Catalán (@jacapec)
Fast Lap Racing Team @(FastLRT)