GithubHelp home page GithubHelp logo

mellowyarker / dump1090 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from malcolmrobb/dump1090

1.0 2.0 0.0 9.39 MB

A fork of MalcolmRobb's Dump1090, which ports the frontend from Google Maps to Mapbox

Makefile 0.19% C 64.94% Shell 0.83% C++ 9.41% JavaScript 21.81% HTML 2.50% CSS 0.32%

dump1090's Introduction

Dump1090 README

This software requires an RTL-SDR and an antenna, for more details, see the full Dump 1090 README.

This README is a largely stripped down version of the one linked above, which goes into much more depth on the dump1090 ModeS decoder. This repo is a fork of MalcolmRobb's dump1090 repo, effectively all changes can be found in the frontend browser client. If you want to extend dump1090's browser frontend with mapbox, then this software lays out the groundwork for you.

Changes

  • We use Mapbox GL JS instead of Google Maps, enabling a new dimension of map customization.
    • The map's style can be changed by linking a style in public_html/config.js
    • You can use Mapbox Studio to style your maps.
    • If you're dedicated, you can replace the 2D map with a 3D map that includes extruded buildings and 3D models, though you'll need to find some good .gltf aircraft models.
  • The original frontend only displays planes at their known locations, whereas we animate the transition between known locations. This can be slightly buggy when an aircraft's signal is low or if the broadcast frequency is inconsistent.
  • We use VueJS to display a reactive information window when a plane is selected.

Old Map

alt-text-1

New Map

The gif is slightly blurry, for a more accurate representation of the map, see the image below the gif. alt-text-2

alt-text-2

Installation

Type "make".

Normal usage

First, add your mapbox API key to public_html/config.js. You can modify the map style url there too.

To open the map in your browser at http://localhost:8080, run:

./dump1090 --interactive --net

You can also view the original google map at http://localhost:8080/gmap.html

Aggressive mode

With --aggressive it is possible to activate the aggressive mode that is a modified version of the Mode S packet detection and decoding. The aggresive mode uses more CPU usually (especially if there are many planes sending DF17 packets), but can detect a few more messages.

The algorithm in aggressive mode is modified in the following ways:

  • Up to two demodulation errors are tolerated (adjacent entires in the magnitude vector with the same eight). Normally only messages without errors are checked.
  • It tries to fix DF17 messages with CRC errors resulting from any two bit errors.

The use of aggressive mode is only advised in places where there is low traffic in order to have a chance to capture some more messages.

Testing the program

If you have an RTLSDR device and you happen to be in an area where there are aircrafts flying over your head, just run the program and check for signals.

However if you don't have an RTLSDR device, or if the presence of aircrafts is very limited, you may want to try the sample file distributed with the Dump1090 distribution under the "testfiles" directory.

Just run it like this:

./dump1090 --ifile testfiles/modes1.bin

Credits

Dump1090 was written by Salvatore Sanfilippo [email protected] and is released under the BSD three clause license.

dump1090's People

Contributors

antirez avatar bovine avatar ddeitterick avatar elverde avatar hhm0 avatar malcolmrobb avatar matthewbrandes avatar mellowyarker avatar mutability avatar papasven avatar steve-m avatar termigrator avatar tslocum avatar ukuehn avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.