Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show combined FLARM traffic from all available devices
The motivation is to support traffic streams from both FLARM and OGN (Open Glider Network) devices and display it on a single "FLARM Radar" screen. OGN devices can output position of nearby aircraft using FLARM protocol (i.e. using $PFLAA sentences), so that XCSoar or other FLARM displays could recognize and display the traffic data. If an aircraft is equipped with both FLARM and OGN device, and both transmit data to XCSoar, XCSoar sees both devices as "FLARM", but displays traffic only from the first device. This patch fixes the problem by combining traffic lists from both devices. If aircraft with the same ID appears on more than one device, the data from only the first one will be used.
- Loading branch information