Commit Graph

422 Commits

Author SHA1 Message Date
Karl Lehenbauer 2be5074721 Install dump1090 support files in a reasonable place
* Install dump1090 and faup1090 to /usr/bin (It's Linux-standard, not my
first choice.)

* Build dump1090 to expect HTML and Javascript files in
/usr/share/dump1090/public_html

* Make 'make -f makefaup1090 install' install the dump1090 HTML and Javscript
files in the above directory.

* With this build style dump1090 can be invoked from anywhere and it will
find its files.
2014-09-29 15:44:01 -05:00
Karl Lehenbauer 2b92b01194 Version bump to 1.13. 2014-09-28 16:32:30 -05:00
Oliver Jowett b98c6856b3 Move the stats reset strictly after stats display, so the total message count is shown correctly. 2014-09-25 22:02:52 +01:00
Oliver Jowett 3eb39ab788 Don't output message reception time in SBS format for remote messages.
For remotely received messages that have a mlat timestamp, we have no
useful way of turning that timestamp into a wallclock timestamp, so
don't try, or we'll just produce wildly wrong results (_days_ in error)
2014-09-25 21:45:46 +01:00
Oliver Jowett 4fc2697555 Add stats for number of sample blocks processed and dropped. 2014-09-25 20:35:54 +01:00
Oliver Jowett 10061675de Add --stats-every <secs> option.
Periodically displays and resets stats.
Useful for unattended operation.
2014-09-25 20:33:50 +01:00
Oliver Jowett 661246d347 Prefer to use global CPR decoding where possible.
There is a danger in always using relative decoding where possible.
If there is an undetected error in the first pair of messages received,
then global CPR decoding will give a bad position, and subsequent
relative decoding will just walk around near that bad position even
though many error-free pairs of odd/even messages may have been received.

The first pair of position messages also tends to be the most error-prone, as
they are usually received at the extreme edge of receiver range.

(I see this happen at least once a day in practice)

So, instead, prefer to use global decoding when we have sufficiently recent data.
With recent data this should always be as good as relative decoding, and it
avoids getting stuck with bad data for long periods of time. If we don't have
enough recent data for a global solution, fall back to relative decoding.
2014-09-25 17:10:55 +01:00
Oliver Jowett e5b3572e8b Reject out-of-range latitudes when doing CPR decoding.
If a CPR message with an undetected error is received this can produce out-of-range results for latitude.
e.g. even latitude of 78000, odd latitude of 0 produces a latitude index j=35 and rlat0 = 213.
2014-09-25 15:49:39 +01:00
Oliver Jowett 95ccb90c76 Fix --gain with fractional gain values. 2014-09-24 20:01:06 +01:00
Karl Lehenbauer fb2f76455c Version bump to 1.12.
(No changes but we keep the version matching the piaware version.)
2014-09-19 10:32:45 -05:00
hhm c265ea1d55 B"H net_io.c http server: hopefully mem code is OK now
Still learning the ropes memory-wise :-)
2014-09-17 07:58:19 -04:00
hhm 32fc5fddd0 B"H net_io.c: http server: content should be dynamically allocated 2014-09-17 07:32:34 -04:00
hhm df19d51bc6 B"H net_io.c: use %d like local code 2014-09-17 06:58:53 -04:00
hhm 8d307cd0eb B"H net_io.c: http serve: return HTTP response codes 2014-09-17 06:32:03 -04:00
hhm 04f4abda70 B"H net_io.c: add missing else statement 2014-09-15 09:08:49 -04:00
hhm eb41be3884 B"H net_io: http: check if file can be sent 2014-09-14 06:28:03 -04:00
Oliver Jowett 7fab5b0cb5 Check if bit correction happened before bailing out due to a bad CRC. 2014-09-13 12:11:19 +01:00
Karl Lehenbauer 7d93db06dd FA version bump to 1.11 2014-09-06 17:05:33 +00:00
Karl Lehenbauer 2aea6ec778 Remove unneeded faup1090 dependency on rtlsdr lib 2014-09-06 05:12:08 +00:00
Karl Lehenbauer 5aab91bbf8 FlightAware version bump to 1.10. 2014-09-06 04:56:52 +00:00
Karl Lehenbauer f486e0ec3a Really make --no-rtlsdr-ok work
Code now recognizes that RTLSDR open failed and if configured by --no-rtlsdr-ok
will proceed to net-onlyA.
2014-09-04 10:01:22 -05:00
Karl Lehenbauer a8b5a7c85b Make the --net-fatsv-port switch work in dump1090 2014-08-30 12:38:56 -05:00
Karl Lehenbauer 1c831ae9a4 New switch allows dump1090 to work with/without dongle
* With --net-only switch dump1090 wouldn't look for an RTLSDR device

* Without --net-only switch dump1090 would abort if it couldn't find an RTLSDR
device.

* Now with --net --no-rtlsdr-ok dump1090 will try to find an RTLSDR device but
go ahead and start either way.
2014-08-27 15:41:52 -05:00
Karl Lehenbauer 86cd74ae1e Merge branch 'master' of github.com:flightaware/dump1090_mr 2014-08-26 15:59:45 +00:00
Karl Lehenbauer 9470ce9304 Remove faup1090 Makefile ref to coaa1090.obj
* It isn't needed.

* Also include /usr/share/dpkg/buildflags.mk in Makefile and makefaup1090
and add our compile-specific CFLAGS to the CFLAGS that sets up
so we compile with the preferred Debian build flags.
2014-08-26 15:53:37 +00:00
Jeff Lawson 0754bb7865 fix comparison instead of assignment 2014-08-26 10:41:05 -05:00
Karl Lehenbauer 05e80ee305 Version bump to 1.8.
BUGZID:
2014-08-22 12:12:19 -05:00
Karl Lehenbauer f911346f87 faup version bump to 1.7 2014-08-21 05:46:24 +00:00
Karl Lehenbauer a4c586a8a1 Update README with FlightAware-specific info. 2014-08-19 11:00:51 -05:00
Karl Lehenbauer 013133e1eb Merge branch 'master' of github.com:flightaware/dump1090_mr
Conflicts:
	faup1090.c
2014-08-18 18:02:51 -05:00
Karl Lehenbauer 298afdaa8f faup1090 startup and logging improvements
* If faup1090 can't start because the 10001 port is already in use it will now
exit with an exit status of 98 (EADDRINUSE).

* Emit the faup1090 version number if faup1090 is run with the --help argument.

* Make wicked sure we don't come up on any other ports that we shouldn't be on.

* Add "install" argument to faup1090 makefile makefaup1090.
BUGZID:
2014-08-18 17:59:46 -05:00
hhm 84fa09c228 B"H net_io.c: revert previous change and advertise HTTP 1.1
It seems server code should be compatible with HTTP 1.1; the features
unique to 1.1 mostly are upon the client to support, and some headers
used (for example Cache-Control) may need 1.1.
2014-08-18 03:06:43 -04:00
Karl Lehenbauer f44130ba33 Merge remote-tracking branch 'upstream/master' 2014-08-16 13:56:56 -05:00
Karl Lehenbauer d848a94358 stricter make rules for makefaup1090 2014-08-15 20:03:05 +00:00
Karl Lehenbauer 3e3c525b0b Make the faup1090 --net-fatsv-port option work.
* Fixed a bug that prevented the FlightAware TSV output port command line
option "--net-fatsv-port" from changing the assigned port.
2014-08-15 17:04:05 +00:00
Karl Lehenbauer db2f7d6a0e Add rule to recompile faup1090.c if header changes 2014-08-15 14:05:05 +00:00
Karl Lehenbauer 13ce9dd453 Move the faup1090 FA output port to 10001.
It was on 10002 for some testing and never got put back.
2014-08-15 14:02:43 +00:00
Karl Lehenbauer 0880eedee7 Revert "Emit faup1090 version info in faup1090 --help output."
This reverts commit 2ede6fb51f.
2014-08-15 14:01:59 +00:00
Karl Lehenbauer 2ede6fb51f Emit faup1090 version info in faup1090 --help output.
BUGZID:
2014-08-15 08:38:43 -05:00
hhm 0317c48aac B"H make sure to close sockets when finished 2014-08-15 04:39:35 -04:00
Karl Lehenbauer 21d08814ca Make faup1090 failed-to-connect message more descriptive.
BUGZID:
2014-08-12 16:15:21 -05:00
Karl Lehenbauer e38d778ec5 Make faup1090 quiet by default 2014-08-11 18:20:16 +00:00
Trevor Slocum b7d01c5615 Don't restrict sidebar width 2014-08-07 23:50:28 -07:00
Trevor Slocum 14ff25b87f Improve map display layout and styling 2014-08-06 19:31:05 -07:00
Malcolm Robb a82df07c0c Version 1.09.0608.14
Release of COAA PlanePlotter MLAT and SMU support for RPi

ppup1090 now supports Ground Stations functions required for MLAT and
SMU operation. This is *ONLY* available for RPi and similar linux
hardware.

Also included are sample startup scripts for dump1090 only and
dump1090+ppup1090 together.
2014-08-06 15:29:08 +01:00
Malcolm Robb 90fa1dac81 net_io port 30003 bug
Thanks to "Harrie" for this one.
Fix the SBS port 30003 stream to always include speed and/or heading
when available.
2014-08-06 15:29:07 +01:00
Malcolm Robb f1b85ec5e7 Tidy up interactive.c
Remove spaces from the end of line.
2014-08-06 15:29:06 +01:00
Malcolm Robb 845289ad9f Version 1.09.1607.14
Improvements to COAA MLAT functions
Reduce CPU load in PPUP1090 and DUMP1090 during cleanup
2014-08-06 15:29:06 +01:00
Malcolm Robb 8b05286a24 Version 1.09.1007.14
Updates to support COAA Planeplotter Ground Station on an RPi
2014-08-06 15:29:05 +01:00
ddeitterick df4a8ce00b Change the Background Color for a Plotted Plane
Changed the background color for a plotted plane in the planes table to
something that was more easily visible.
2014-08-03 22:11:09 -04:00