Wykres commitów

162 Commity (1d4de4571f3eeaf81e818dc4eb1da95dcc9c7e68)

Autor SHA1 Wiadomość Data
Christopher Young 02bf2251d8 Rough update process - startup script looks for update file, executes it, reboots. 2016-02-15 17:48:33 -05:00
AvSquirrel e15c389975 Traffic message network optimization. Bug fix. 2016-02-15 01:27:02 +00:00
AvSquirrel 211d3a29ed Fix memory leak in serial GPS reader 2016-02-10 07:06:52 +00:00
AvSquirrel 90605ef032 Detect disconnected GPS. Update web UI and attempt reconnect. 2016-02-05 01:08:12 +00:00
AvSquirrel 2f9ce16bfd Fix #223. Change ticker to 50 ms intervals for future improvements. 2016-01-26 23:27:09 -06:00
Christopher Young 1f6c58350e PowerSave switch revert. 2016-01-26 01:03:26 -05:00
Christopher Young 89dd33aba8 Remove UAT replay message re-logging. 2016-01-25 23:43:27 -05:00
Christopher Young fd03b25d04 Disable X-Plane AHRS output port.
Not currently used by any app.
2016-01-24 22:19:34 -05:00
Christopher Young f5bed44086 Powersave switch. 2016-01-22 22:39:09 -05:00
Christopher Young 57a9fbf393 Catch SIGINT and SIGTERM - shutdown SDR functions.
Fixes #204.
2016-01-19 10:40:40 -05:00
Christopher Young e0dde8d5de Add /getClients for debugging. 2016-01-19 09:50:02 -05:00
Christopher Young 8f8bd363a2 Comments. 2016-01-19 08:39:46 -05:00
bradanlane 4d85491f67 start/stop gen_gdl90 directly fron init.d-stratux 2016-01-08 16:02:57 -05:00
Christopher Young cfd1541708 Use monotonic clock for status print.
#174.
2016-01-07 11:54:38 -05:00
Christopher Young 363f411b45 Typo fix. 2016-01-07 11:42:37 -05:00
Christopher Young dcf50409e9 Use monotonic clock for message tracking.
#174.
2016-01-07 11:37:57 -05:00
Christopher Young 6303b0c536 Use monotonic timer for uptime.
Fixes #69.
2016-01-07 11:08:54 -05:00
Christopher Young cf0296d77f Cleanup. 2016-01-05 11:09:06 -05:00
Christopher Young bb23bd507f Fix CPU status byte bug. Change link to spec. 2015-12-31 23:44:51 -05:00
Christopher Young 052b4e2855 Add mySituation.SatellitesSeen to stratux.log status message. 2015-12-28 02:19:02 -05:00
Christopher Young d94e049ba2 Update GPS satellite variables even if isGPSValid() is false.
isGPSValid() only when “acceptable” solution is found, updating
variables shows progress.
2015-12-28 01:56:33 -05:00
Christopher Young 446112aced Formatting. 2015-12-28 01:54:04 -05:00
AvSquirrel 799a247c6c Add geoid separation offset and satellites seen. 2015-12-28 05:57:31 +00:00
AvSquirrel 681e05f3a3 Add new GPS status messages 2015-12-27 08:47:37 +00:00
Christopher Young f51bd61b3b Typo. 2015-12-26 17:34:35 -05:00
Christopher Young c88d15929c Reused var. 2015-12-26 17:23:25 -05:00
Christopher Young ccd023f50c Version number for status message. 2015-12-26 17:17:53 -05:00
Christopher Young 7fb784dd0b GPS/AHRS on/off settings portion of status message. 2015-12-26 16:52:32 -05:00
Christopher Young 54231905c5 Use build string as a hex value instead of characters. 2015-12-22 17:37:39 -05:00
Christopher Young 01919b3ab9 Connected RY835AI y/n. 2015-12-22 17:18:14 -05:00
Christopher Young e3afdc0485 Logic error. 2015-12-22 17:17:02 -05:00
Christopher Young b0b36e80a0 Change CPU temp calculation formula for status message. 2015-12-22 15:40:56 -05:00
Christopher Young c935cab08f Enable both UAT and 1090ES by default.
UAT takes priority if only one RTL-SDR device connected.
2015-12-20 21:56:53 -05:00
Christopher Young b542ddc7ca Switch ordering in WingX heartbeat. 2015-12-19 23:35:46 -05:00
Christopher Young e7a19f2296 Invalid values - 0xFF.
Addresses #150.
2015-12-18 14:35:42 -05:00
Christopher Young 71400227dc WingX heartbeat.
Addresses #150.
2015-12-18 12:28:37 -05:00
Christopher Young d830548700 Don't log replayed data. 2015-12-17 16:35:42 -05:00
Christopher Young cc2ebfdb93 Use log for errors/debug output. 2015-12-17 16:22:05 -05:00
Christopher Young 495fb46fee Cleanup. 2015-12-17 16:11:17 -05:00
Jim Jacobsen bb8f0254e1 Added developer mode command line switch which allows uncompressed log files 2015-12-14 01:04:40 +00:00
Jim Jacobsen 191752b3e8 Switched logs back to uncompressed. Replay now supported with command line arguments. specify -h for help with arguments 2015-12-13 20:19:15 +00:00
Jim Jacobsen c81acbeab2 Added indexed logs instead of everything ending up in one file 2015-12-08 22:58:42 -06:00
Christopher Young 0db686a14b gzip stream replay logs.
Addresses (partially) replay log file size mentioned in #131.
CPU impact is minimal, can still process 45,000+ UAT messages per min.
2015-12-02 12:18:52 -05:00
Christopher Young 306ee8fa57 Comment. 2015-12-01 19:32:20 -05:00
AvSquirrel 6184b7bc97 Add WAAS status to webUI. Correct unit casting error on ownship alt. 2015-11-25 03:43:07 +00:00
Christopher Young 7f50242867 Fixes #102.
START,Thu Nov 12 19:25:38 +0000 UTC 2015,Thu Nov 12 19:25:38 +0000
UTC 2015
     UNPAUSE,71289772
     2739899291,Found 2 device(s):
     2740283977,0: Realtek, RTL2838UHIDIR, SN: stratux:978
     2740438248,1: Realtek, RTL2838UHIDIR, SN: 00000001 (currently
selected)
     2740605904,Found Rafael Micro R820T tuner
     2740683299,Max available gain is: 49.60
     2740807935,Setting gain to: 49.60
     2740880330,Exact sample rate is: 2000000.052982 Hz
     2740943976,Gain reported by device: 49.60
2015-11-12 14:26:43 -05:00
Joseph Poirier 88ec861fb7 put back Devices assignment, change type for atomic store 2015-11-06 21:57:59 -06:00
bradanlane 98795f3da1 fix from unexpected case wehre device stores CPU temp as simple integer (eg 53 vs 53000 for 50.0C 2015-11-06 09:47:25 -05:00
Christopher Young 7bfb0067b4 Fixed outdated comment - ReplayLog can be changed during runtime now. 2015-10-25 20:58:21 -04:00
Christopher Young fbcfddc006 Isolate CPU temperature monitor to its own goroutine.
Addresses #63.
2015-10-19 08:17:02 -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
Christopher Young baae410a3f Stratux heartbeat. 2015-09-30 21:06:38 -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 ae37369b28 Implement ModeS for ownship. 2015-09-30 11:52:13 -04:00
Christopher Young c9f9851d26 UAT products non-exportable: not used by interface currently. 2015-09-30 10:37:49 -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
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 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 9e78dddab7 GPS message replay log. 2015-09-21 14:20:12 -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 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 5dda5d6220 Redo sleep mode - now based on ICMP echo/unreachable packets. 2015-09-15 11:29:41 -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 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 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 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