Killian Hyron
Hello everyone,

I am trying to get the average amount of understeer at the end of a lap in a channel report. I created an US math channel to return the current US angle and a math channel that calculate the average of the US throughout the lap (UNS_LAP, reset  at the beginning of each lap). The problem is, I can't get that average value at the end of each lap with the channel report. The min value is reached during the lap, and display the mean value of that channel would have no point. Also display the mean of the US channel would be inexact as it would be taking all the 0 values into account.  Does someone have an idea of what I could do to solve this problem?
Thank you very much.

Killian
US.png 
unslap.png  uslap.png
Quote 0 0
littleozfella
you could try this..
register @a1;

register @a2;

register @a3;

@a1 = choose(@a2>0, [UNS_LAP], 0);

@a2= choose([Lap Number]>@a3,1,0);
@a3= [Lap Number];
@a1

This will give you a value depending on the logging rate of Lap Number.   be careful as different systems may have different channel names lapnumber or LapNumber etc.    if you wish to get more or less data decrease/increase logging rate of lap number.    I have also done this against lap distance if your don't have lap number logged.. you can make a register lap distance greater than say 10m before end of lap.    I think this is what you are trying to achieve.
Cheers
Quote 0 0
littleozfella
This is v distance, lap is 6060m.  same caution for Lap Distance channel name as for Lap number above. 

register @a1;

register @a2;

@a1 = choose(@a2>0, [UNS_LAP], 0);

@a2= choose([Lap Distance]>6050,1,0);

@a1
Quote 0 0
Killian Hyron
Hi Littleozfella,

I found we can get the value of the channel at the end of a lap directly in the channel report. I tried to delete the topic just after that but I can't. Thank you for the help though.
Quote 0 0
littleozfella
Ahh, you wanted in Excel report  I thought you wanted in Tabular outing report..  

cheers.
Quote 0 0
Killian Hyron
No I wanted Tabular outing report, sorry for the wrong term. But anyway my problem is solved. Have a good day!
Quote 0 0