Version 4 (modified by Stein Tore Erdal, 13 years ago) (diff)


On task distance

There are basically 2 ways to calculate the distance.

  1. Task distance is total distance calculated as the distance from tp1 to tp2 to tp3
  1. Task distance is the shortest way to fly the task from TP1 and touching the cylinder edge on tp2 where it is the shortest route from tp1 to tp3 via the edge of tp2.
  1. is what is normally done now in CompeGPS and RACE. 2. is what is already implemented in FS.

Below is Task2 form PG Worlds in Manilla 2007.

TaskDistance illustration

Tp3 (on top) is with 3km radius. The task distance in CompeGPS as in the official results is: 60.7km. The task distance in FS is 52.5km. The difference is because of CompeGPS calculates total distance as the distance into the center of each turnpoint not taking the cylinders into account. The blue line is the long version with total distance as the excact TP to TP distance. The red line is the shortest distance possible for pilot to fly the task, as done by FS.

We can look at the flights of 3 pilots.

First two did not make the TP3 (pilot1 red, pilot2 black):

TaskDistance illustration

The third pilot did just make the TP3 (pilot1 black, pilot3 red):

TaskDistance illustration

More close up picture of the turnpoint (pilot1 black, pilot3 red):

TaskDistance illustration

According to the distance calculations in CompeGPS (and in the official results) the pilot3 did get 6km longer distance than the other two pilots by just entering into the 3km radius cylinder.

Official results:
Pilot3 : 16,9 km
Pilot2: 11,3km
Pilot1: 10,9 km

FS calculates the task distance as the shortest distance for pilot to fly the task.

The distance a pilots has flown is then the task distance minus the shortest distance the pilot must fly to finish the task.

Results with FS way of calculating distance:
Pilot3: 10.4 km
Pilot2: 9,5 km
Pilot1: 10,0 km

Attachments (4)

Download all attachments as: .zip