Commit graph

855 commits

Author SHA1 Message Date
Dino M
0858fa2af4 fixed colspan issue for position 2015-08-30 10:25:43 -06:00
Dynomity
9e00c2d0d3 Merge remote-tracking branch 'origin/flags' into flags
Conflicts:
	public_html/script.js
2015-08-30 10:19:53 -06:00
Dynomity
402e40fc36 fixed table display column problem
This is the final version for this project. (I hope!)
2015-08-30 10:16:40 -06:00
Dynomity
b5d49b451b just cleaning up the formatting 2015-08-26 10:07:50 -06:00
Dynomity
8a1c08cafb Moved loading of flags.js above script.js 2015-08-26 10:00:19 -06:00
Dynomity
95f90fe799 file rename 2015-08-25 19:21:58 -06:00
Dynomity
de426ba823 removed flag id 2015-08-24 20:35:00 -06:00
Dynomity
c95e5775ff minor cosmetic tweaks around flags 2015-08-24 12:44:59 -06:00
Dynomity
899e072cf1 Added back the flag in the selected section 2015-08-24 12:39:37 -06:00
Dynomity
00f3f3723e removed Country column 2015-08-22 10:13:02 -06:00
Dynomity
9e94a6dc1a fixed North/South Korea elements 2015-08-21 18:44:27 -06:00
Dynomity
baddeb9034 cleaning up code and plane table 2015-08-21 18:38:38 -06:00
Dynomity
1babb5b55c Added span for flag icon in selected 2015-08-19 22:00:57 -06:00
Dynomity
1a5e6e2187 searches in hex now.
The search now looks at the hex object array in flags.js. Also moved
the search in the planeObject section. See got to to figure out whether
I should add a new property for the image.
2015-08-18 22:37:34 -06:00
Dynomity
687720386f Removed decimal ICAO codes. Only hex objects 2015-08-18 22:31:13 -06:00
Dynomity
725fd31249 Update flags.js 2015-08-18 12:19:43 -06:00
Dynomity
31ccabe952 added flags.js 2015-08-17 22:25:39 -06:00
Dynomity
849fc1acf2 work in progress
created static file to store ICAO codes
2015-08-17 22:23:23 -06:00
Dynomity
37c58322e5 Merge remote-tracking branch 'origin/flags' into flags 2015-08-17 22:21:18 -06:00
Dynomity
bb576566ca changed ICAO to Country in selected section 2015-08-17 22:20:13 -06:00
Dynomity
d7bb5f10b5 Merge remote-tracking branch 'mutability/master' into flags 2015-08-17 17:32:03 -06:00
Dynomity
ee36258f49 Create README.txt 2015-08-17 12:20:34 -06:00
Oliver Jowett
e438e1e0c5 Fix decoding of even lat=0 + odd lat=0 which can have 3 results (-90, 0, +90) 2015-08-17 18:07:40 +01:00
Oliver Jowett
6d37952b14 Add tests for surface decoding at the poles/equator. 2015-08-17 18:06:37 +01:00
Oliver Jowett
3b4c5c5889 Merge pull request from rgeissert/debian-package-fixes
Use invoke-rc.d to restart lighttpd as per Debian policy
2015-08-17 17:37:00 +01:00
Dynomity
3f4d35f04c add blank flag 2015-08-17 05:00:19 -06:00
Dynomity
e907a068f2 Update gmap.html 2015-08-16 17:22:10 -06:00
Dynomity
54be82c50c Update script.js 2015-08-16 17:17:16 -06:00
Dynomity
c3e3130da8 flag images
flag images in flags-tiny directory
2015-08-16 14:09:13 -06:00
Dynomity
c62dda5136 adding country flags to ICAO listing
Requires addition of flag images as .png files stored in ~/flags-tiny.
I think I got them from http://www.iconarchive.com/category/flag-icons.html

This is my first attempt with github. Please bear with me!
2015-08-16 12:49:41 -06:00
Raphael Geissert
5eaa62d59c Use invoke-rc.d to restart lighttpd as per Debian policy 2015-08-08 13:47:05 +02:00
Oliver Jowett
8d815b7a9c faup1090 accepts/requires --stdout 2015-08-07 11:04:32 +01:00
Oliver Jowett
b4490c7b47 Clear markers and don't color rows if the aircraft sees no positions for 60s,
even if they are still receiving other messages.

The marker/trail can be redisplayed by selecting the plane from the table.
2015-07-15 17:07:28 +01:00
Oliver Jowett
45d645a864 Default to not forwarding mlat messages. Add --forward-mlat option to enable it. 2015-07-03 21:56:23 +01:00
Oliver Jowett
e5053ac5c9 Only set/reset position_from_mlat when we actually see position data.
Otherwise, if the position data times out on the dump1090 side, we'd
keep the last seen position on the webpage side but lose the mlat
status.
2015-06-29 15:51:42 +01:00
Oliver Jowett
32f87412d6 Show mlat positions differently in the detail pane. 2015-06-29 14:04:52 +01:00
Oliver Jowett
de4e233969 When considering whether to suppress altitude messages, ignore mlat DF17s. 2015-06-29 12:45:50 +01:00
Oliver Jowett
f1f76cb8e3 When receiving mlat, allow larger gaps between positions before plotting estimated tracks.
mlat positions aren't generally so frequent as proper ES, so they'd almost always plot
as estimated.
2015-06-29 12:44:19 +01:00
Oliver Jowett
98a55c8dec Tweak CPR rules for mlat messages, add some debug. 2015-06-29 12:43:58 +01:00
Oliver Jowett
f6ff1c853b Show synthetic MLAT messages as such. 2015-06-29 12:42:50 +01:00
Oliver Jowett
1a3f65eaab Add --no-interactive, --show-only options to view1090
This turns it into a handy debug tool for looking at raw messages
from an existing running dump1090 without having to mess around with
a separate copy of dump1090 and netcat tunnels etc.
2015-06-29 12:41:55 +01:00
Oliver Jowett
bd96d40e4e Display aircraft with mlat-derived positions with a different row color. 2015-06-29 10:47:29 +01:00
Oliver Jowett
51b5f4af24 Include mlatFlags in aircraft.json.
This requires expanding the line-buffer margin too as we can produce lines >256 chars now.
2015-06-29 10:46:37 +01:00
Oliver Jowett
b793f83a29 Rewrite and fix heartbeat code.
The old logic had a number of problems, including:

 * sending heartbeats on all service types if any type needed
   a heartbeat
 * sending a heartbeat multiple times a second if there was a
   service type that was idle but didn't generate traffic when
   an empty message was sent (e.g. FATSV)

Rewrite it all so that heartbeats are explicitly tracked and handled
per service type, rather than by sending a dummy message.

Also switch to mode A/C messages for the beast/raw heartbeat, as
it's a bit more compact and less likely to mess with Mode S state
(an all-zeros Mode S message actually looks valid)
2015-06-29 10:06:13 +01:00
Oliver Jowett
803760ca80 Treat an all-zeros message as bad. 2015-06-29 00:50:19 +01:00
Oliver Jowett
75851778c0 Fix up filter population so it's not completely insane.
The logic for DF11 was completely broken and inverted. How did this ever work??

Actually, the broken version kinda works because the only types of message that
can yield an address that's not already in the ICAO filter are DF11/17/18.
So DF=17; DF=18; and DF=11 with IID=0 would pass the broken logic and populate the
filter. All other DFs would pass the broken test, too, but they can only ever
re-add entries that were already there.
2015-06-29 00:46:34 +01:00
Oliver Jowett
934dfee6a4 Change the mlat timestamp to something that doesn't need escaping. 2015-06-29 00:31:42 +01:00
Oliver Jowett
12a7d45e75 Mlat synthetic message detection.
Notice synthetic mlat messages by looking for messages with a magic
timestamp value. If they arrive, tag the derived data as mlat-derived.

Don't include mlat-derived output in FATSV output to avoid loops.
2015-06-28 20:04:09 +01:00
Oliver Jowett
8f08c1b87f Make faup1090 write to stdout, not listen on port 10001. 2015-06-28 19:59:49 +01:00
Oliver Jowett
c7722f2b97 Guard against closing clients in a couple of places.
In particular, not guarding in flushWrites() meant that we
could end up trying to write to an uninitialized writer
(where writer->service == c->service == NULL) and crashing.
2015-06-26 21:29:54 +01:00