Commit Graph

436 Commits

Author SHA1 Message Date
Oliver Jowett 98c7c73d06 Only use O_BINARY on Win32 2014-10-01 12:17:51 +01:00
MalcolmRobb c09c68466c Merge pull request #41 from mutability/skip-remote-timestamps
Don't output message reception time in SBS format for remote messages.
2014-09-30 17:15:46 +01:00
Malcolm Robb e3bbf7b266 Read Files are binary
When replaying recordings, the read files are binary, so the file open
needs to reflect this so that spurious end of file characters aren't
misinterpreted.
2014-09-30 16:36:56 +01:00
Malcolm Robb aa063ba89f Undo Parts of Pull request #29
The table sizing doesn't seem to work in M$ IE8 and IE9.
2014-09-30 16:35:15 +01:00
MalcolmRobb 732fe52a10 Merge pull request #28 from ddeitterick/change_plotted_plane_table_bg_color
Change the Background Color for a Plotted Plane
2014-09-30 15:19:42 +01:00
MalcolmRobb 9d3452f424 Merge pull request #27 from ddeitterick/format_track_field
Add Degree Symbol to Track Value
2014-09-30 15:18:35 +01:00
MalcolmRobb 5cdcc22734 Merge pull request #29 from tslocum/bettermap
Improve map display layout and styling
2014-09-30 15:16:25 +01:00
MalcolmRobb bd151e1e54 Merge pull request #40 from mutability/discard-bad-cpr-latitudes
Reject out-of-range latitudes when doing CPR decoding.
2014-09-30 15:10:33 +01:00
MalcolmRobb 8725ba0b6d Merge pull request #39 from mutability/fractional-gain
Fix --gain with fractional gain values.
2014-09-30 15:00:12 +01:00
Karl Lehenbauer e6f2cc5624 Build notes for the README 2014-09-30 04:02:32 -05:00
Karl Lehenbauer c64a894a18 Install fadump1090.sh in /etc/init.d/ 2014-09-30 03:31:07 -05:00
Karl Lehenbauer a089e07eed Add fadump1090.sh 2014-09-30 05:10:34 +00:00
Karl Lehenbauer 78ee29e334 Fix makefile tabs in prior commit 2014-09-30 04:47:43 +00:00
Karl Lehenbauer 1e12168ed6 Extend makefaup1090 Makefile rules
Add install options
* 'make all' compile faup1090
* 'make install-faup1090' install faup1090
* 'make install-dump1090' install dump1090
* 'make install-autostart' make dump1090 autostart upon boot
* 'make full-install' all of the above

Update .gitignore to ignore faup1090 and view1090.
2014-09-29 23:44:49 -05:00
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