Christopher Young
2aa4378157
Fixed potential race condition.
2015-10-18 21:59:23 -04:00
Christopher Young
2498e15696
Fixed potential mutex issue.
2015-10-18 20:27:49 -04:00
Christopher Young
8769ced73e
Error checking on OwnshipModeS.
2015-10-10 16:02:12 -04:00
Christopher Young
0d0e3b8216
Default value - OwnshipModeS as string.
2015-10-09 20:07:28 -04:00
cyoung
a58fc63efb
Merge pull request #73 from cyoung/ownship
...
add OwnshipModeS to UI; tweaked Settings field validation
2015-10-09 12:13:32 -04:00
Christopher Young
fa4718c212
Default ModeS code - not zero.
2015-10-08 07:25:43 -04:00
Christopher Young
a2a7b11494
Redo weather/traffic websocket updates ( #74 ).
2015-10-07 20:24:56 -04:00
Christopher Young
202e36c3a4
Disable port 43211 output by default.
2015-10-07 19:04:06 -04:00
Christopher Young
3f6d9a07a9
Don't print GPS status in log unless enabled.
2015-10-07 19:03:24 -04:00
bradanlane
30abcb82ee
add OwnshipModeS to UI and maintain consistent format for storage; also tweaked 'settings' page field validation
2015-10-06 18:31:20 -04:00
Christopher Young
bdb680eaaa
Replay log on/off while running.
2015-10-04 18:50:21 -04:00
Christopher Young
891af1ff11
Formatting.
2015-10-04 18:33:44 -04:00
Christopher Young
5916f00960
Merge.
2015-10-04 18:28:37 -04:00
bradanlane
a1502307aa
new 'weather' page which uses new 'WatchList' setting
2015-10-04 13:50:51 -04:00
bradanlane
45215e258b
traffic page complete; includes context sensitive help; does not include trafic fource indication
2015-10-01 17:19:28 -04:00
Christopher Young
c842cbe595
Traffic source tracking.
2015-10-01 16:10:35 -04:00
Christopher Young
baae410a3f
Stratux heartbeat.
2015-09-30 21:06:38 -04:00
Christopher Young
2661c86560
Skip traffic targets on websocket with no valid position.
2015-09-30 18:52:52 -04:00
Christopher Young
aafcd4892c
NIC & NACp from @AvSquirrel.
2015-09-30 13:36:31 -04:00
Christopher Young
94876edd40
/traffic websocket - stream traffic updates (1090ES and UAT) as received.
2015-09-30 13:14:48 -04:00
Christopher Young
2bf466a1c8
/weather websocket - stream UAT text updates as received.
2015-09-30 12:50:23 -04:00
Christopher Young
8f5c33f6b1
Rename /control to /status (websocket system status stream).
2015-09-30 12:39:45 -04:00
Christopher Young
ae37369b28
Implement ModeS for ownship.
2015-09-30 11:52:13 -04:00
Christopher Young
205984ce09
Consolidating websocket functions.
2015-09-30 10:51:41 -04:00
Christopher Young
c9f9851d26
UAT products non-exportable: not used by interface currently.
2015-09-30 10:37:49 -04:00
Christopher Young
ee88b93393
Cleanup.
2015-09-30 10:30:28 -04:00
Christopher Young
797f71a4da
gofmt
2015-09-30 10:22:27 -04:00
bradanlane
3606432f30
REST services getter/setter for settings completed without debug output
2015-09-28 14:15:41 -04:00
bradanlane
9339fb21ed
REST services getter/setter for settings completed without debug output
2015-09-28 14:14:32 -04:00
bradanlane
ef2b67a891
REST services getter/setter for settings completed
2015-09-28 14:08:05 -04:00
bradanlane
e3477e8669
added AJAX getSettings and stub for setSettings
2015-09-26 17:16:40 -04:00
Joseph Poirier
947a9217ca
reorder defer calls
2015-09-26 02:20:16 -05:00
Joseph Poirier
4f305f5215
format the humanize import so goimports doesn't remove it
2015-09-26 02:09:49 -05:00
Joseph Poirier
a56a2589a3
some low-hanging fruit, note that strings.Split never returns an empty list and at miniumum it'll contain one zero length string element
2015-09-26 02:04:39 -05:00
Christopher Young
2324bbe6f0
Parse UAT message product ID from all frames - display.
...
http://i.imgur.com/B3u3bzw.png
2015-09-24 17:28:08 -04:00
Christopher Young
0dc32f23e1
/getTowers.
...
#59
2015-09-24 17:18:21 -04:00
Christopher Young
63173fc88d
/getTraffic and /getSituation.
2015-09-24 16:26:51 -04:00
Christopher Young
3c50cd59cd
Use GPS altitude in Ownship when pressure altitude not available.
...
Temporary.
2015-09-24 07:46:40 -04:00
Joseph Poirier
e81e37ca65
shift direction fix
2015-09-23 23:28:16 -05:00
Christopher Young
75f60562af
Pressure alt fix from @AvSquirrel.
2015-09-23 23:12:48 -04:00
Christopher Young
324bef7701
AHRS replay log.
2015-09-23 16:21:32 -04:00
Christopher Young
edcccbda13
Fixes #33 .
...
Set system time from RMC sentence.
2015-09-22 23:51:56 -04:00
Christopher Young
59f03c5141
Initialize seenTraffic.
2015-09-22 19:51:37 -04:00
Christopher Young
0db905904f
Print stats in main log.
...
2015/09/22 13:52:11 stats [uptime 1 minute ago]
2015/09/22 13:52:11 - CPUTemp=49.23 deg C, MemStats.Alloc=101MB,
MemStats.Sys=126MB, totalNetworkMessagesSent=0
2015/09/22 13:52:11 - UAT/min 103,226/103,226 [maxSS=55.30%], ES/min
0/0
2015/09/22 13:52:11 - Total traffic targets tracked=0, last GPS fix: a
long while ago
2015-09-22 09:52:49 -04:00
Christopher Young
476ebed93d
Fixes #48 .
...
On every sequential (client asleep) queue overflow, progressively
remove more from the queue. Better memory management, especially for
clients that are constantly in sleep more or asleep for a very long
time.
2015-09-22 08:55:51 -04:00
Christopher Young
9e78dddab7
GPS message replay log.
2015-09-21 14:20:12 -04:00
Christopher Young
3c30d78368
Replace problematic iana package constants with actual values.
...
Fixes Makefile issue.
2015-09-21 14:01:01 -04:00
Christopher Young
1f46ccda01
PPM uint16 -> int.
2015-09-19 14:19:57 -04:00
Christopher Young
c3e6d41ebe
Always use tag for version.
2015-09-19 12:37:52 -04:00
Christopher Young
f3a52e9ab5
Version printing for logs.
2015-09-18 23:00:05 -04:00
Christopher Young
10f21a651b
RY835AI auto config.
...
10HZ update.
115200 baud.
Dynamic Platform Model: “Airborne <2g”
2015-09-18 15:18:58 -04:00
Christopher Young
68d999f5e7
GPS only RY835AI support.
2015-09-18 08:12:02 -04:00
Christopher Young
5a568e27ce
Type error.
2015-09-16 16:17:41 -04:00
Christopher Young
5900408ec3
v0.3b2.
2015-09-16 16:09:10 -04:00
Christopher Young
672fbfc396
Increase client message queue size.
2015-09-16 16:08:21 -04:00
Christopher Young
5f64bd39fd
PPM settings.
2015-09-16 10:09:51 -04:00
Christopher Young
f24e7dedc8
Cleanup.
2015-09-16 00:07:02 -04:00
Christopher Young
b663151ed2
Missing import.
2015-09-16 00:04:23 -04:00
Christopher Young
96d2077e24
Remove debug prints.
2015-09-15 12:07:16 -04:00
Christopher Young
f46101e3d1
Use log instead of fmt.
2015-09-15 11:30:02 -04:00
Christopher Young
5dda5d6220
Redo sleep mode - now based on ICMP echo/unreachable packets.
2015-09-15 11:29:41 -04:00
Lee Smith
319f0240d0
RY835AI GPS will now use USB if connected, otherwise GPIO
2015-09-15 10:04:44 -04:00
Christopher Young
77cb7696d5
Missing import.
2015-09-14 22:38:55 -04:00
Christopher Young
ae0f28a06b
AHRS LED error.
2015-09-14 16:43:30 -04:00
Christopher Young
2b7b51e14a
Cleaner solution from @ssokol.
2015-09-14 01:17:18 -04:00
Christopher Young
7a98518daf
RY835AI GPS via serial pins TXD/RXD.
2015-09-14 01:02:20 -04:00
Christopher Young
988fdd0ccb
Unnecessary import.
2015-09-13 23:39:30 -04:00
Christopher Young
5be60354dc
Set PPM on SDR init.
2015-09-13 23:38:22 -04:00
Christopher Young
fb7ecb9d86
Unnecessary log entries.
2015-09-12 17:35:14 -04:00
Christopher Young
30d28cd0ab
Save some CPU cycles.
2015-09-12 17:28:58 -04:00
Christopher Young
1a6a0d90f3
More obvious failure mode.
2015-09-11 14:48:34 -04:00
Christopher Young
2f4ed827e6
Bugfix: Type error in track calculation.
2015-09-11 12:29:42 -04:00
Christopher Young
7e61c7556a
Remove boilerplate "initialization message".
...
Fixes #19 .
2015-09-11 10:57:23 -04:00
Christopher Young
07d521fbd8
Blank messages filling up log files.
2015-09-11 10:50:33 -04:00
Christopher Young
546c32a601
v0.3b1.
2015-09-10 20:54:44 -04:00
Christopher Young
89d05d276b
Remove placeholder.
2015-09-10 20:50:33 -04:00
Christopher Young
a603653ac9
godump978 and gortlsdr integration for UAT.
...
globalStatus.Devices implemented. Auto retry, on SDR error, etc.
2015-09-10 20:43:32 -04:00
Christopher Young
e5b843a86b
nil pointer on socket error.
2015-09-09 13:33:48 -04:00
Christopher Young
77b86a534f
Replay file logging.
2015-09-05 13:46:55 -04:00
Christopher Young
cb0140a946
Error checking - mostly to avoid crashes on short reads.
2015-09-05 13:02:06 -04:00
Christopher Young
5264985278
gofmt
2015-09-05 12:48:25 -04:00
Ilya Haykinson
88af801fb5
fixed up some alignment stuff, and TAG -> TAF
2015-09-05 01:24:23 -07:00
Ilya Haykinson
40239bcaf5
show which types of uat messages we've gotten
2015-09-05 07:51:19 +00:00
Christopher Young
f47a224c1d
Other apps using port 4000.
2015-09-04 19:37:50 -04:00
Christopher Young
7d9d4c14de
DEBUG setting in websocket handler.
2015-09-04 17:29:08 -04:00
Christopher Young
bae77673fe
v0.2r1
2015-09-04 16:46:38 -04:00
Christopher Young
56c5ee40e0
Access system logs via web.
2015-09-04 16:45:12 -04:00
Christopher Young
4e25ead42d
Extra prints not needed.
...
Get remote address via websocket to make these more useful.
2015-09-04 15:22:10 -04:00
Christopher Young
7e392bce69
Unit conversion error.
2015-09-04 13:53:18 -04:00
Christopher Young
b5081ca849
Formatting.
2015-09-04 13:49:42 -04:00
Christopher Young
6fb69bbdca
Log output to file.
2015-09-04 13:38:06 -04:00
Christopher Young
f9f82ac2fe
Typing.
2015-09-03 23:50:34 -04:00
cyoung
3664401e25
Merge pull request #29 from bradanlane/master
...
webUI update for time and temp
2015-09-03 23:46:50 -04:00
Christopher Young
ef0aa5334a
Introduced "DEBUG" setting.
...
‘u’ and ‘e’ only when “DEBUG” enabled.
2015-09-03 23:35:26 -04:00
Christopher Young
12f35dbd2e
Tail numbers for TIS-B traffic.
2015-09-03 23:28:47 -04:00
bradanlane
99e94d2618
changed the uptime to a vlaue and perform formatting in the webUI
...
added CPU temp to the webUI
2015-09-02 16:27:39 -04:00
Christopher Young
7836fe55d3
Fixed bug in network code.
...
Clients with blank hostname was causing IP to be ignored.
2015-09-01 23:06:19 -04:00
Christopher Young
ecd29a8425
CPUTemp in globalStatus.
...
ºC.
2015-09-01 16:47:48 -04:00
Christopher Young
c38c384eda
Stratux replay.
...
Introduce queueable messages. Introduce sleepMode state for connections. Implemented #20 for FF.
2015-09-01 16:17:08 -04:00
Christopher Young
2f07482a43
Stop 1090ES when turned off.
2015-08-31 18:21:08 -04:00
Christopher Young
3e72619ad2
Use Go web server implementation for whole management iface.
2015-08-31 13:02:20 -04:00
Christopher Young
dcb31eeeb1
Cleanup.
2015-08-31 12:24:45 -04:00
Christopher Young
953ba2f7aa
Cleanup.
2015-08-31 12:21:21 -04:00
Christopher Young
02494192ef
Makefile changes.
2015-08-31 12:18:44 -04:00
Ilya Haykinson
ca02aea01b
moved files around to allow dependencies to be fetched during build
2015-08-30 20:30:09 -07:00