| 1 | # mlat-client |
| 2 | |
| 3 | This is a client that selectively forwards Mode S messages to a |
| 4 | server that resolves the transmitter position by multilateration of the same |
| 5 | message received by multiple clients. |
| 6 | |
| 7 | The supporting server code is available at |
| 8 | https://github.com/adsbfi/mlat-server. |
| 9 | |
| 10 | ## Building |
| 11 | |
| 12 | Due to conflicting packages with the same name, it's recommended to install in a Python virtual environment. |
| 13 | First set the direcory you'd like to install to, if that path is not writeable by your user, use `sudo su` to become root first. |
| 14 | ``` |
| 15 | VENV=/usr/local/share/adsbfi-mlat-client/venv |
| 16 | ``` |
| 17 | Now the build / install, it's not a bad idea to recreate the virtual environment when rebuilding: |
| 18 | ``` |
| 19 | rm -rf "$VENV" |
| 20 | python3 -m venv "$VENV" |
| 21 | source "$VENV/bin/activate" |
| 22 | python3 setup.py build |
| 23 | python3 setup.py install |
| 24 | ``` |
| 25 | |
| 26 | To run it, invoke: |
| 27 | ``` |
| 28 | /usr/local/share/adsbfi-mlat-client/venv/bin/mlat-client |
| 29 | ``` |
| 30 | |
| 31 | ## Running |
| 32 | |
| 33 | Used in conjuction with the following scripts |
| 34 | https://github.com/adsbfi/adsb-fi-scripts |
| 35 | |
| 36 | If you are connecting to a third party multilateration server, contact the |
| 37 | server's administrator for configuration instructions. |
| 38 | |
| 39 | ## Supported receivers |
| 40 | |
| 41 | * Anything that produces Beast-format output with a 12MHz clock: |
| 42 | * readsb, dump1090-mutability, dump1090-fa |
| 43 | * an actual Mode-S Beast |
| 44 | * airspy_adsb in Beast output mode |
| 45 | * Radarcape in 12MHz mode |
| 46 | * Radarcape in GPS mode |
| 47 | |
| 48 | ## Unsupported receivers |
| 49 | |
| 50 | * The FlightRadar24 radarcape-based receiver. This produces a deliberately |
| 51 | crippled timestamp in its output, making it useless for multilateration. |
| 52 | If you have one of these, you should ask FR24 to fix this. |
| 53 | |
| 54 | ## Original License |
| 55 | |
| 56 | Copyright 2015, [Oliver Jowett](mailto:[email protected]). |
| 57 | |
| 58 | This program is free software: you can redistribute it and/or modify |
| 59 | it under the terms of the GNU General Public License as published by |
| 60 | the Free Software Foundation, either version 3 of the License, or |
| 61 | (at your option) any later version. |
| 62 | |
| 63 | This program is distributed in the hope that it will be useful, |
| 64 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 65 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 66 | GNU General Public License for more details. |
| 67 | |
| 68 | You should have received [a copy of the GNU General Public License](COPYING) |
| 69 | along with this program. If not, see <http://www.gnu.org/licenses/>. |