Probably in August. FlightFeeders tend to be in locations without many other feeders, so MLAT isn’t really an option yet since it requires 3-4 receivers in the area.
Tried to extract the fa-mlat-client from the deb and run it, but it won’t start.
Replaced the python binaries in the package, but it kept complaining about some missing module at import. Guess I have to wait until the code gets released for other platforms
Now we need accurate locations on our FA stats page - please assure us that FA do not show / publish these positions accurately (a 5km ‘randomness’ or rounding of longitude / latitude to 1 decimal place on publicly accessible maps etc. would be appreciated).
What about with multiple receivers using a merged feed (ie, if you have two Rpi, first for West sector and the second for East sector, but only one sending merged data to FA) ?
I know that the original mlat-client from Obj cannot work correctly with merged feeds, because of differents timestamps of each receivers.
So, it need to install one mlat-client per receiver.
I don’t see any mention of that here, but I think, it’s the same with the fa-mlat-client
06/01/2015 09:32:43 piaware is connected to dump1090-muta on port 10001
06/01/2015 09:32:43 dump1090-muta is listening for connections on FA-style port 10001
06/01/2015 09:32:43 piaware received a message from the ADS-B source!
06/01/2015 09:32:45 logged in to FlightAware as user bartmellaerts
06/01/2015 09:32:45 multilateration support enabled (use piaware-config to disable)
06/01/2015 09:32:45 multilateration data requested, enabling mlat client
06/01/2015 09:32:45 mlat: fa-mlat-client 0.1.14.1 starting up
06/01/2015 09:32:45 mlat: Input connected to localhost:30005
06/01/2015 09:32:46 piaware has successfully sent several msgs to FlightAware!
06/01/2015 09:33:13 215 msgs recv'd from dump1090-muta; 170 msgs sent to FlightAware
06/01/2015 09:33:43 server is sending alive messages; we will expect them
06/01/2015 09:38:13 2191 msgs recv'd from dump1090-muta (1976 in last 5m); 2146 msgs sent to FlightAware
06/01/2015 09:43:14 4199 msgs recv'd from dump1090-muta (2008 in last 5m); 4154 msgs sent to FlightAware
06/01/2015 09:47:46 mlat: Receiver connection: ready
06/01/2015 09:47:46 mlat: Server connection: ready
06/01/2015 09:47:46 mlat: Receiver: 854.2 msg/s received 15.6kB/s from receiver
06/01/2015 09:47:46 mlat: Server: 0.0 kB/s from server 0.9kB/s TCP to server 0.0kB/s UDP to server
06/01/2015 09:47:46 mlat: Aircraft: 145 known, 6 requested by server
Cool As you probably worked out, the piaware deb bundles a virtualenv-ed copy of fa-mlat-client. This is to keep it simple for vanilla installs for the moment, and to avoid conflicts with mlat-client (as dpkg is unhappy if you try to install the same file in two different packages). Customized installs won’t work so smoothly until some more packaging work is done.
[2015-06-01 11:53 BST] multilateration data requested, enabling mlat client
[2015-06-01 11:54 BST] multilateration data no longer required, disabling mlat client
[2015-06-01 11:56 BST] the system told us that process 22121 exited cleanly
[2015-06-01 11:56 BST] the system confirmed that process 22121 exited with an exit status of 0
[2015-06-01 11:57 BST] 109677 msgs recv'd from dump1090-mutab (2277 in last 5m); 109668 msgs sent to FlightAware
[2015-06-01 12:02 BST] 111901 msgs recv'd from dump1090-mutab (2224 in last 5m); 111892 msgs sent to FlightAware
[2015-06-01 12:07 BST] 114117 msgs recv'd from dump1090-mutab (2216 in last 5m); 114108 msgs sent to FlightAware
[2015-06-01 12:07 BST] multilateration support enabled (use piaware-config to disable)
[2015-06-01 12:07 BST] multilateration data requested, enabling mlat client
[2015-06-01 12:08 BST] got EOF from multilateration client
[2015-06-01 12:11 BST] Malformed message from multilateration client ('ty'), restarting..
[2015-06-01 12:12 BST] 116160 msgs recv'd from dump1090-mutab (2043 in last 5m); 116151 msgs sent to FlightAware
[2015-06-01 12:13 BST] error handling message 'type mlat_sync hexid 4BA90F m_sync 0a471c2ca0ce 8d4ba90f58bf035fd2145' from multilateration client (69), (not enough arguments for all format specifiers
while executing
"binary format $format {*}$row($var)"
(object "::adept" method "::fa_adept::AdeptClient::compress_array" body line 29)
invoked from within
"compress_array row"
(object "::adept" method "::fa_adept::AdeptClient::send_array" body line 7)
invoked from within
"adept send_array row"
(procedure "process_mlat_message" line 8)
invoked from within
"process_mlat_message message"), restarting..
[2015-06-01 12:15 BST] got EOF from multilateration client
[2015-06-01 12:16 BST] error handling message 'type mlat_sync hexid 405F11 m_sync 0a47a6c03891 8d405f1158b9836979cdd8f149' from multilateration client (74), (not enough arguments for all format specifiers
while executing
"binary format $format {*}$row($var)"
(object "::adept" method "::fa_adept::AdeptClient::compress_array" body line 29)
invoked from within
"compress_array row"
(object "::adept" method "::fa_adept::AdeptClient::send_array" body line 7)
invoked from within
"adept send_array row"
(procedure "process_mlat_message" line 8)
invoked from within
"process_mlat_message message"), restarting..
[2015-06-01 12:17 BST] 118084 msgs recv'd from dump1090-mutab (1924 in last 5m); 118075 msgs sent to FlightAware
[2015-06-01 12:18 BST] got EOF from multilateration client
[2015-06-01 12:19 BST] multilateration data no longer required, disabling mlat client
[2015-06-01 12:22 BST] 120176 msgs recv'd from dump1090-mutab (2092 in last 5m); 120167 msgs sent to FlightAware
06/01/2015 12:45:13 mlat: Input connected to localhost:30005
06/01/2015 12:45:13 mlat: Unexpected exception on connection to localhost:30005
Traceback (most recent call last):
File "/usr/lib/python3.2/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python3.2/asyncore.py", line 449, in handle_read_event
self.handle_read()
File "/usr/lib/fa-mlat-client/lib/python3/dist-packages/mlat/client/receiver.py", line 128, in handle_read
consumed, messages = self.packetize(moredata, self.last_timestamp)
_modes.ClockResetError: Out of range timestamp seen
06/01/2015 12:45:13 mlat: Lost connection to localhost:30005
06/01/2015 12:45:13 mlat: Reconnecting in 30.0 seconds
It seems the exception is time related but checked the system’s time and ntpq and I don’t see an issue. I can nc the 30005 stream and it is available. Relevant processes…