Copyright (C) 2023-2024 Filip Szczerek (ga.software@yahoo.com)
This program is licensed under MIT license (see LICENSE.txt for details).
Plots aircraft based on received SBS messages.
Building plane-tracker
requires the Rust toolchain and GTK4 development libraries.
The dump1090
tool can be used as a data source; e.g., plug in an RTL-SDR dongle and run:
$ dump1090 --net --interactive
then launch plane-tracker
(e.g., cargo run --release
) and connect to localhost:30003
.
The observer location (format: <lat.>;<lon.>;<elevation in meters>
) is set via the configuration file plane-tracker.cfg
(on Linux, found in ~/.config
; on Windows, in C:\Users\<USERNAME>\AppData\Roaming
), e.g.:
[Main]
ObserverLocation=11.345678;12.345678;500
Clicking on one of the aircraft markers makes it the current data source (the icon will be displayed in white). The data will be sent over TCP/IP to any connected client (default listening port: 45500), in the following (text) format:
<x>;<y>;<z>;<vx>;<vy>;<vz>;<track>;<altitude>\n
where x
, y
, z
and vx
, vy
, vz
are the target position (m) and velocity (m/s) in the observer's frame of reference (in which X points north, Y points west, Z points up); track
(°) is the azimuth of the travel direction; altitude
is specified in meters a.s.l.
Example message:
11000.0;5000.0;7000.0;220.0;0.0;0.0;52.1;7000.0\n