FAI-CIVL / FAI-Airscore

AirScore - online paragliding / hanggliding GAP-based scoring software.
https://airscore.cc/
GNU General Public License v3.0
14 stars 18 forks source link

check_launch incorrectly imported from FSDB causing missing radius cylinders around launch points, which is not handled #292

Open goatchurchprime opened 3 years ago

goatchurchprime commented 3 years ago

I found the check_launch setting in the Checking Parameters tab, which made it possible to set a Launch cylinder radius.

However this launch cylinder radius is not being subtracted from the track distance.

The distance between points 1 and 2 is 1.6km in the official results https://hgcomps.uk/sites/default/files/resultfiles/Class%201%20Task%201.pdf But on the task list it's 2.03km https://airscore.cc/users/task_admin/19

biuti commented 3 years ago

The code applies what can be found in Annex A of Section 7F of FAI Sporting Code: The first point used in the evaluation must be at index 1, because the distance is measured from the center of the launch waypoint (regardless of whether it has been given a radius). I understand that this makes impossible to compare with FSComp, but I don't think it makes sense to change the code at this stage.