Pilot Features

class igclib.core.pilot_features.GroupRelation(pilot_id, snapshot)[source]

Convention : If a GroupRelation feature is > 0, it means that the original pilot is in a better position than the other pilot in the group. This means that :

  • delta_altitude > 0 : original pilot is higher
  • delta_distance > 0 : original pilot closer to goal
other_pilot_id

A list of IDs pilots being compared

Type:list [str]
delta_altitude

The altitude differences.

Type:list [float]
delta_distance

The goal distances differences.

Type:list [float]
class igclib.core.pilot_features.PilotFeatures(pilot_id, timestamp, snapshot)[source]
pilot_id

The pilot’s ID

Type:str
timestamp

The timestamp associated with the features.

Type:time
position

The current position of the pilot.

Type:GeoPoint
group_relation

The current position of the pilot.

Type:GroupRelation