Skip to content

Repository files navigation

Terminal Radar

This is a light weight visualizer of air traffic in your location for dump1090 messages.

Prerequisites

  • rtl-sdr module with antenna connected to your device and its drivers installed

  • Java SDK installed

  • Dump1090 installed and running (tcp dump on port 30003)

    Useful scripts

How to run

Build the project:

./gradlew clean build

Export you location coordinates:

export MY_LAT=50.000
export MY_LONG=20.000

If you want to track specific flight and save its data to h2 database file just set:

export TRACING_CALLSIGN = (callsing of the flight you want to track)

Run the app:

./run.sh

Viewing live aircraft data

While the radar is running, open a second terminal and run:

watch -c -n 0.5 cat /tmp/radar-data.txt

This shows a live table (refreshed every 0.5s) with callsigns, ICAO hex codes, altitude, heading, and position for all tracked aircraft. The ID column matches the number shown on the radar dot.

This is what you should be able to see:

Testing

If you would like to play around with code you can test the app using mocked dump1090 tcp server in test resources

About

Display air traffic in your console

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages