Trackreport - include analysis of segments
Land has potential and some of it is in an adapted trackreport.
I want to add a segmential analysis in "track template 1.html".
Taking the case my track is 5km long, I want the track segmented every km and then analyse all 5 segments regarding:
240 | Current lap |
241 | Lap Distance |
242 | Lap Time |
243 | Lap mean speed |
244 | Lap pace |
245 | Lap ascent |
246 | Lap descent |
I figured out that this code should show what I want but I couldn't find out, how to tell Land the Lap number it needs to create the report. Can someone point me into the right direction?
CompeGPS.Exec(732,"2");//segment track by distance
lista = CompeGPS.new("TArray");
lista.SetValues (230,240,241,242,243,244,245,246,247,248,249,250);
for (f=0;f<lista.Count();f++){
i = lista[f];
CompeScript.Echo ("\n<tr>");
CompeScript.Echo ("<td>");
CompeScript.Echo (CompeGPS.PropertyName(i));
CompeScript.Echo (": </td>");
CompeScript.Echo ("<td>");
CompeScript.Echo (track.GetPropertyStr(i,0,1));
CompeScript.Echo ("</td>");
CompeScript.Echo ("</tr>");
};
Please sign in to leave a comment.
Comments
0 comments