GlideAngle / flare-timing

Scoring for free flight competitions.
Mozilla Public License 2.0
11 stars 2 forks source link

FS extra reach zero, but no. #444

Closed philderbeast closed 3 years ago

philderbeast commented 4 years ago

For Greda 2018 task 2, a stopped task, most of the differences are coming from reach where some pilots are given 0 km distance by FS but not for flare-timing.

Pilot Extra
113-Zsolt Sandor 7.107
063-Marketa Tomaskova 5.820
040-Ivica Huljek 2.023
philderbeast commented 3 years ago
  - - - '113'
      - Zsolt Sandor
    - breakdown:
...
      reach:
        extra: 0.000000 km
        flown: 6.973000 km
...
  - - - '63'
      - Marketa Tomaskova
    - breakdown:
...
      reach:
        extra: 0.000000 km
        flown: 5.700000 km
...
  - - - '40'
      - Ivica Huljek
    - breakdown:
...
      reach:
        extra: 0.000000 km
        flown: 1.898000 km
...
philderbeast commented 3 years ago

All three of these pilots have a "No baro-altitude!" warning.

<FsParticipant id="40">
  <FsFlightData distance="1.898" bonus_distance="0.000"/>
  <FsFlightDataWarning warning="No baro-altitude!" />
  <FsResult rank="21" points="47" distance="1.898" real_distance="1.898"  last_distance="1.895"/>
</FsParticipant>
philderbeast commented 3 years ago

It looks to me like FS gives @bonus_distance="0.000" and then goes on to use @distance with no extra glide if the comp is using barometric altitude and a pilot only has GPS altitude.

Screen Shot 2020-12-28 at 10 37 20 AM

philderbeast commented 3 years ago

After the fix:

Screen Shot 2020-12-28 at 2 55 10 PM