Wykres commitów

640 Commity (usb_log)

Autor SHA1 Wiadomość Data
Christopher Young 8545a9ba0d Fix bulkInsert query logic problem. Maximum rows based on column limitation (999). Issue warning if SQLite is taking too long. 2016-04-03 14:10:42 -04:00
Christopher Young 0b1ca4b2da Fix temporary fix for generic NMEA GPS - Satellites = SatellitesTracked = SatellitesSeen. 2016-04-03 13:42:38 -04:00
Christopher Young 9607311dbe Increase batch size to 1,000 up to a maximum query size 750,000 bytes. 2016-04-02 15:57:05 -04:00
Christopher Young da4eb3dfc8 Type fix. 2016-04-02 15:40:25 -04:00
Christopher Young 1b093ef1bb INSERT speed fixes. 2016-04-02 15:33:19 -04:00
Christopher Young 980977146e Remove debugging code. 2016-04-01 18:42:28 -04:00
Christopher Young 8cc6534761 Remove debugging code. 2016-04-01 18:33:01 -04:00
Christopher Young 62dd58b07f Use batched inserts instead of prepared statements. 2016-04-01 18:25:53 -04:00
Christopher Young f1f3977e5b Used prepared statements for SQLite inserts. 2016-04-01 15:42:46 -04:00
Christopher Young dbacc6b6e7 Move db writes to a separate goroutine. 2016-04-01 14:05:23 -04:00
Christopher Young 268ea23ce5 Use tmp variable to assign. 2016-04-01 08:40:09 -04:00
Christopher Young 2bfb5d8c33 Typo. 2016-04-01 08:36:10 -04:00
Christopher Young fdbde39e96 Extrapolate GPS timestamps with stratuxClock. 2016-04-01 08:34:37 -04:00
Christopher Young b87aa52044 Batch data writes.
This will be done as part of a system where the database file is
compressed and moved periodically.
2016-04-01 08:26:37 -04:00
Christopher Young 4e5513ce95 Send traffic update to logTraffic(). 2016-03-31 20:39:02 -04:00
Christopher Young 7ad31e9414 Temp. 2016-03-26 17:25:32 -04:00
Christopher Young ce1617af93 Remove further remnants of replay logging. 2016-03-26 17:24:08 -04:00
Christopher Young c6c8c22b63 Stratux plugin beginning. 2016-03-26 17:23:08 -04:00
Christopher Young 480426cdd1 Remove further remnants of replay logging. 2016-03-26 17:19:59 -04:00
Christopher Young e0f82b0a29 Data logging graceful shutdown. 2016-03-26 17:15:59 -04:00
Christopher Young 0199d49238 Move dump1090 terminal logging to datalog package. Remove remnants of replay logging. 2016-03-26 17:12:26 -04:00
Christopher Young fa28ac210c Remove UAT and ES replay logging. Add datalog functions for UAT and ES messages. 2016-03-26 16:49:57 -04:00
Christopher Young cb113cb804 Remove AHRS replay log. 2016-03-26 16:37:33 -04:00
Christopher Young aa2bd06fd0 Remove GPS replay log. 2016-03-26 16:34:02 -04:00
Christopher Young bcf20249e8 Don't log situation or traffic data unless globalSettings.ReplayLog is true. 2016-03-25 11:58:44 -04:00
Christopher Young 32097e3b61 Debug output cleanup. 2016-03-24 17:28:00 -04:00
Christopher Young a86314e883 Cleanup. 2016-03-24 17:26:59 -04:00
Christopher Young ce566ae5d3 Use stratuxClock to check timestamp age. 2016-03-24 12:59:29 -04:00
Christopher Young fbc7c6f168 Typo. 2016-03-24 12:13:08 -04:00
Christopher Young bd4f4c8743 Log status. 2016-03-24 10:51:12 -04:00
Christopher Young 5680908301 Track the last NMEA message in SituationData. 2016-03-24 10:37:24 -04:00
Christopher Young 937bbecd28 Refactoring and cleanup. 2016-03-24 10:23:29 -04:00
Christopher Young 854b96f608 More data logger boilerplate. Add to Makefile and init in main(). 2016-03-24 09:33:11 -04:00
Christopher Young 67d62184d3 Save GPSTime in SituationData struct. 2016-03-24 08:59:34 -04:00
Christopher Young bcef2ba823 Improve main logger goroutine. 2016-03-24 01:14:48 -04:00
Christopher Young 275c1740f0 Export all possible status fields. 2016-03-24 00:29:08 -04:00
Christopher Young 0a26cfc240 Export all possible SituationData fields. 2016-03-24 00:26:56 -04:00
Christopher Young 934c24ee71 Generalized logData(), added test code. 2016-03-24 00:23:12 -04:00
Christopher Young 80f1007a6a Add struct .String() marshaling. Insert data function. 2016-03-23 23:08:00 -04:00
Christopher Young e12611e8d4 Initial commit: data logger functions. 2016-03-23 12:31:13 -04:00
Christopher Young 9754f19be2 Hide more debug printing. 2016-03-23 09:19:11 -04:00
Christopher Young f1ce8a75bc Hide more debug printing. 2016-03-23 09:18:28 -04:00
Christopher Young b8c17e0460 Checking for specific hardware builds. 2016-03-22 11:43:00 -04:00
Christopher Young 1a808ca591 Redefine "connected"/"recent" clients = recently pingable hosts. 2016-03-21 20:32:24 -04:00
Christopher Young 65537dbdc8 Issue a warning and disable features when FF broadcast messages are received.
Fixes #332.
2016-03-21 16:31:56 -04:00
Christopher Young a93501f8f4 Debug output. 2016-03-21 16:16:12 -04:00
Christopher Young b2eb382c1a Remove DHCP lease expiry code.
Fixes #325.
2016-03-20 00:56:21 -04:00
Joseph Poirier dbca0fb0b0 auto init on package import 2016-03-16 06:58:01 -05:00
Christopher Young d3ee8dce97 Comment update. 2016-03-15 22:41:47 -04:00
Joseph Poirier 9d2d4850af sdr: fix type 2016-03-14 15:49:00 -05:00
Joseph Poirier c5aacf0fbd sdr: capture state locally prior to processing 2016-03-14 15:47:33 -05:00
Joseph Poirier 529b453ba2 sdr: replace Scan due to a report that it was still blocking, split stderr and stdout 2016-03-14 02:23:03 -05:00
Joseph Poirier 336d17d615 fix stray curley brace 2016-03-13 00:09:31 -06:00
Allan Feldman 5939c0c368 fix a bad merge which deleted a brace 2016-03-12 18:19:07 -08:00
Allan Feldman cf94e0c79f updated shutdown to use a separate thread to kill dump1090 2016-03-12 18:13:03 -08:00
Joseph Poirier dea3374242 sdr: handle premature dump1090 process exit 2016-03-12 16:58:11 -06:00
Joseph Poirier 10c9f73e2a fix 1090 shutdown hang, add shutdown completed messages 2016-03-11 19:29:46 -06:00
Christopher Young 4e452956dc Typos. 2016-03-10 15:03:38 -05:00
Christopher Young 66c29aa9a6 RO Partition rebuild from WebUI. 2016-03-10 14:57:54 -05:00
Christopher Young e356194eb2 Add "System Errors" to main status page. 2016-03-10 14:41:30 -05:00
Christopher Young ac5a054e7d Logic error. 2016-03-10 13:29:07 -05:00
Christopher Young e5026f66c1 Add HardwareBuild to globalStatus - only used for FlightBox currently. 2016-03-10 13:09:25 -05:00
Christopher Young e6bb6ce477 Add system-wide errors concept for display in WebUI. 2016-03-10 13:06:14 -05:00
Christopher Young dbe8ed5c3a Change default settings: GPS enabled. 2016-03-10 12:34:06 -05:00
Christopher Young 2e621cb426 Cleanup. 2016-03-10 12:33:03 -05:00
Christopher Young e4d74e221c Only show some debug output depending on globalSettings.DEBUG. 2016-03-10 10:20:46 -05:00
Christopher Young 796d0a2632 /view_logs page.
Fixes #232.
2016-03-07 23:51:53 -05:00
Christopher Young 3fa36963f0 Fix variable out of scope. 2016-03-07 21:36:30 -05:00
Christopher Young 1308e74587 Roll back webserver, use Go as webserver. 2016-03-07 21:33:28 -05:00
Christopher Young bcf7bbb053 Roll back webserver, use Go as webserver. 2016-03-07 21:29:35 -05:00
Joseph Poirier f0179b0c06 sdr: comments and more idiomatic code 2016-03-07 19:53:50 -06:00
Christopher Young d1d00d5bfb Cleanup. 2016-03-07 20:14:44 -05:00
Christopher Young 9bdef48b4b Cleanup. a+x /var/log/stratux default permissions. 2016-03-07 19:49:46 -05:00
cyoung e1a41f773f Merge pull request #266 from cyoung/separate_httpd
use standalone httpd service / move stratux services to port 8080
2016-03-07 19:20:28 -05:00
cyoung bf0efb18de Merge pull request #303 from jpoirier/development
sdr: comment reflects behavior
2016-03-03 00:13:32 -05:00
Joseph Poirier 3640db4230 sdr: comment reflects behavior 2016-03-02 23:05:52 -06:00
cyoung 83eda624ce Merge pull request #302 from jpoirier/development
sdr: remove erroneous comment
2016-03-02 21:34:08 -05:00
Joseph Poirier 35f27f71ea sdr: remove erroneous comment 2016-03-02 20:27:12 -06:00
cyoung 4c144b07f9 Merge pull request #301 from jpoirier/development
sdr: some refactoring
2016-03-02 21:25:33 -05:00
Joseph Poirier 04fd251aca sdr: update comment 2016-03-02 20:22:50 -06:00
Joseph Poirier 1c08a12fff sdr: some refactoring 2016-03-02 20:02:33 -06:00
Christopher Young d2a3f9433a Add 'Build' to status struct. 2016-02-28 22:29:40 -05:00
Christopher Young 1c99b26ab4 Typo fix (again). 2016-02-28 22:23:27 -05:00
Joseph Poirier 45b559e826 remove empty line 2016-02-28 21:04:40 -06:00
Joseph Poirier 77ff0daee6 fix spelling 2016-02-28 20:57:36 -06:00
Joseph Poirier 3716f4e845 fix conflict 2016-02-28 20:54:48 -06:00
Joseph Poirier 493097c626 sdr: when cmdStart fails use the proper shutdown procedure 2016-02-28 20:50:40 -06:00
Christopher Young a5a02ff4d5 Typo fix. 2016-02-28 21:41:40 -05:00
cyoung f6dc54cde4 Merge pull request #292 from AvSquirrel/new_dump1090
Incorporate dump1090-mutability; improved signal strength reporting; bug fixes
2016-02-28 21:37:42 -05:00
Joseph Poirier 5483a4c095 Merge branch 'master' into development 2016-02-28 11:20:04 -06:00
Joseph Poirier 6aed4e1cb2 modify comment, update gitignore file 2016-02-28 11:18:21 -06:00
AvSquirrel 769169d722 Revise dump1090 for CA/CF reporting. Clean up demo traffic type identification. 2016-02-28 01:33:27 +00:00
AvSquirrel 1a5172e596 Tower signal strength, other bug fixes 2016-02-27 08:35:17 +00:00
Joseph Poirier 73dd2d7025 remove trailing whitespace 2016-02-27 02:25:34 -06:00
AvSquirrel c3809c779e Add dump1090 heartbeat detection 2016-02-27 07:12:22 +00:00
Joseph Poirier 100afa42f2 comment update 2016-02-27 00:05:37 -06:00
AvSquirrel a9b631e732 Incorporate dump1090-mutability 2016-02-27 06:04:41 +00:00
Joseph Poirier d9a2667c18 add comment 2016-02-27 00:02:18 -06:00
Joseph Poirier 290ec802ad fix typo 2016-02-27 00:00:53 -06:00
Christopher Young 8f28239dd8 Typo fix. Addresses #267. 2016-02-27 00:55:14 -05:00
Joseph Poirier b9f18cdc2e comment update 2016-02-26 23:49:11 -06:00
Joseph Poirier e9271073e1 fix print statement 2016-02-26 23:46:39 -06:00
Joseph Poirier 5f2a0e6509 fix copy/paste error 2016-02-26 23:40:08 -06:00
AvSquirrel 374ea26c5e Allow NIC=0 UAT traffic. Tweaks to demo traffic. 2016-02-27 05:36:33 +00:00
Joseph Poirier 143f395cb4 formatting 2016-02-26 23:27:36 -06:00
Joseph Poirier 34e079d047 close process when dongle fails, ES read stdout/stderr simplified, update gitignore 2016-02-26 23:22:40 -06:00
AvSquirrel e8ba0a30a5 Simplify UAT power calculation 2016-02-27 02:42:56 +00:00
Christopher Young bc11d854e6 Typo fix. 2016-02-26 13:42:59 -05:00
Christopher Young f1f467249b Change some log prints to display only when globalSettings.DEBUG is true. 2016-02-26 13:37:45 -05:00
Christopher Young 1cee936266 Formatting. 2016-02-26 12:08:01 -05:00
cyoung 7007d18606 Merge pull request #285 from AvSquirrel/new_dump1090
Dump1090 improvements. Overhauled traffic parsing. UAT groundspeed and air/ground status bug fixes.
2016-02-26 11:35:09 -05:00
Ryan C. Braun 6594cdf5f4 Enhance Ping support, add RSSI and RS bit errors 2016-02-26 11:18:22 +00:00
Ryan C. Braun 6ae392af6d Merge branch 'master' of https://github.com/cyoung/stratux
Conflicts:
	main/gen_gdl90.go
	web/plates/js/settings.js
2016-05-04 05:50:52 +00:00
Ryan C. Braun e1e02a4bc7 Change network reconnect behavior from ping to dump1090 2016-05-04 05:45:18 +00:00
Ryan C. Braun 69a933efdd Merge branch 'master' of https://github.com/cyoung/stratux
Conflicts:
	Makefile
	main/traffic.go
2016-04-20 09:29:56 +00:00
Ryan C. Braun 91fd133271 First cut of uAvionix Ping changes 2016-04-20 08:59:55 +00:00
AvSquirrel 5d082e3292 Incorporate dump1090-mutability. UI signal strength and traffic improvements. 2016-02-25 05:53:35 +00:00
Joseph Poirier fb61a9df63 Merge branch 'master' into sdr_cleanup 2016-02-24 08:25:04 -06:00
Joseph Poirier c640418e80 add map type 2016-02-24 08:23:21 -06:00
Joseph Poirier 5e2209e906 small optimization and error handling comment 2016-02-24 08:18:40 -06:00
AvSquirrel 27dc75ca0e Wrong order in UAT max signal strength 2016-02-24 02:20:38 +00:00
AvSquirrel 404f2456e6 Exclude traffic signal from tower max signal calc 2016-02-24 02:01:35 +00:00
AvSquirrel bd36732e49 Enable UAT signal strength for traffic (downlink) messages 2016-02-23 07:00:16 +00:00
AvSquirrel 60c082b0a0 Cleanup. Comment out demo mode and most debug log message. 2016-02-23 06:41:52 +00:00
AvSquirrel 62fec20bee Dump traffic list to log each second 2016-02-23 05:51:52 +00:00
AvSquirrel 2360f90861 Overhaul of makeTrafficReportMsg and parseDownlinkReport. Needs testing. 2016-02-23 05:45:39 +00:00
Joseph Poirier 0d5807cb23 fix for dual assigned dongles, remove wall of text 2016-02-22 13:01:11 -06:00
Joseph Poirier bdd8025921 comment formatting, again 2016-02-22 11:14:30 -06:00
Joseph Poirier 3f0e5b6cb0 comment formatting 2016-02-22 11:12:01 -06:00
Joseph Poirier 41da5d9346 fix range value 2016-02-22 11:02:03 -06:00
Joseph Poirier 8f60404ede fix copy and paste 2016-02-22 10:36:41 -06:00
Joseph Poirier b91b1ce06c fixes to handle all dongle scenarios, uat config fix back to print name 2016-02-22 10:34:51 -06:00
Joseph Poirier 6c35cd164f fixes after review 2016-02-22 07:37:44 -06:00
AvSquirrel 93a6dc9b4b Add fields for NACp and signal strength; cleanup 2016-02-22 07:39:20 +00:00
Joseph Poirier 8579891b05 fix type error 2016-02-21 21:41:30 -06:00
Joseph Poirier bec0cef610 rework the dongle and settings handling code, fixes #239 2016-02-21 21:28:53 -06:00
Joseph Poirier 862151cea6 regex updates and device fix 2016-02-21 14:02:57 -06:00
Joseph Poirier 0ff1b5c16f fix rES hasID typo 2016-02-21 11:00:12 -06:00
Joseph Poirier ff9a5bec02 final UAT and ES struct fixes 2016-02-21 10:57:16 -06:00
Joseph Poirier 483567f186 UAT and ES struct fixes 2016-02-21 10:55:16 -06:00
Joseph Poirier 8fc7b9f81b fix typo 2016-02-21 10:44:55 -06:00
Joseph Poirier e9221e5097 cleanup and idiomatic code in prep for #239 2016-02-21 10:40:14 -06:00
AvSquirrel 17454c4276 Mutex bug fix 2016-02-21 12:02:47 +00:00
AvSquirrel ac69e7825a Add 1090 emitter category 2016-02-21 09:44:26 +00:00
AvSquirrel abf5869a57 New dump1090 format on port 30006 2016-02-21 07:06:58 +00:00
AvSquirrel 6492dc7788 Show traffic source in web UI 2016-02-19 06:09:34 +00:00
bradanlane 36393d859b use standalone httpd service / move stratux services to port 8080 2016-02-18 14:37:10 -05:00
cyoung 7a2e49867a Merge pull request #264 from AvSquirrel/traffic-ui
Bug fixes for traffic UI and setting GPS time
2016-02-18 14:02:22 -05:00
AvSquirrel 25dc8e617d Bug fix for setting GPS time from RMC messages 2016-02-18 11:53:43 -06:00
cyoung 3a96f04394 Merge pull request #261 from yihchun/master
Fixed a bug from #248
2016-02-18 09:59:30 -05:00
Yih-Chun Hu 4fba4de5bd bugfix of error checking 2016-02-18 13:35:28 +00:00
Christopher Young 65559a38fd Remove irrelevant/old comments. 2016-02-18 00:34:21 -05:00
Christopher Young 44d4c826c2 Use .Since() instead of 'Now()'.Sub(). 2016-02-18 00:29:28 -05:00
AvSquirrel 8429eb5a53 Clean up comments 2016-02-18 04:50:27 +00:00
AvSquirrel 370725eb53 Implement improved traffic UI. Clean up status and traffic help pages. 2016-02-18 04:31:05 +00:00
AvSquirrel a900a8942d Update traffic UI to support ti.age 2016-02-18 02:12:50 +00:00
AvSquirrel a224db0ba4 Create and initialize ti.Age 2016-02-18 01:54:36 +00:00
AvSquirrel 3b510c146e Merge remote-tracking branch 'upstream/master' into traffic-ui 2016-02-18 00:48:25 +00:00
Christopher Young c165acd98e Add "Unix()" function to monotonic clock for "seconds-since-start".
#254.
2016-02-17 19:33:18 -05:00
AvSquirrel 282f397368 Better GPS time resolution 2016-02-17 04:36:56 +00:00
AvSquirrel 48b5127af6 Improved demo traffic 2016-02-17 04:19:33 +00:00
AvSquirrel 878747e633 GPS improvements: clearer init messages, compatibility tweaks 2016-02-17 03:13:21 +00:00
root 9ff70d6633 Copy and paste error in the log message 2016-02-16 20:31:12 +00:00
root b356b64f15 Error checking and optimizations per jpoirier 2016-02-16 20:28:14 +00:00
root 9857f36023 Merge branch 'master' of https://github.com/cyoung/stratux 2016-02-16 13:19:47 +00:00
AvSquirrel 1695e97aa0 Restore UTC time for traffic age 2016-02-16 05:43:32 +00:00
Christopher Young 279a810db0 Skip expired leases. #230. 2016-02-15 22:21:15 -05:00
Christopher Young 02bf2251d8 Rough update process - startup script looks for update file, executes it, reboots. 2016-02-15 17:48:33 -05:00
Christopher Young f63f70d1d2 Remove "setNoCache()" from default web file get.
Cache manifest takes care of cache control now.
2016-02-15 17:13:22 -05:00
Christopher Young 3a01a4268d Scale back debug output. Use "log" instead of "fmt" for log printing. 2016-02-15 17:11:19 -05:00
Christopher Young 8931d7d55b Update uploader in "settings" on web interface.
#157.
2016-02-15 17:10:51 -05:00
root e101c10174 refactor, bug fix 2016-02-15 18:24:56 +00:00
root 2414087ede refactor 2016-02-15 18:21:43 +00:00
root 5201db4d07 Merge branch 'master' of https://github.com/cyoung/stratux 2016-02-15 18:04:40 +00:00
AvSquirrel f2afc27d8f Improved message queue efficiency and status messaging 2016-02-15 05:04:38 +00:00
AvSquirrel e15c389975 Traffic message network optimization. Bug fix. 2016-02-15 01:27:02 +00:00
root 5d926a6274 Allows for per-SDR ppm information through RTL Serial numbers of
format stx:freq:ppm, such as stx:1090:20.
2016-02-13 20:30:33 +00:00
AvSquirrel 3aada2ee02 Additional gps bugfixes. Allow RMC to set quality status. 2016-02-12 04:07:30 +00:00
AvSquirrel 641068d80d Add track / speed support for RMC messages. Cleanup. 2016-02-12 03:20:35 +00:00
AvSquirrel b0621aae25 Clean up handlers for GPS track / speed 2016-02-12 02:00:57 +00:00
AvSquirrel a78b4d3e4d GPS - Parse NMEA v2.2 and earlier VTG messages 2016-02-11 03:03:53 +00:00
AvSquirrel 211d3a29ed Fix memory leak in serial GPS reader 2016-02-10 07:06:52 +00:00
Christopher Young fefe314848 Formatting. 2016-02-08 00:12:14 -05:00
cyoung 4812b9c852 Merge pull request #231 from iposva/master
Detect and setup GlobalSat BU-353
2016-02-08 00:09:00 -05:00
Ivan Posva 30a967b87e Avoid writing arrays of bytes and handle generation of NMEA check sum. 2016-02-05 07:41:09 +00:00
AvSquirrel 90605ef032 Detect disconnected GPS. Update web UI and attempt reconnect. 2016-02-05 01:08:12 +00:00
Ivan Posva eb1f8a2b3d Enable 5Hz Navigation.
Switch the serial port to 38400 baud before any configuration.
2016-02-04 10:05:05 +00:00
Ivan Posva fb1775bdbf - Remove debugging prints. 2016-02-02 21:44:54 -08:00
Ivan Posva 1c383bda23 - Discover GlobalSat BU-353-S4 USB GPS at /dev/ttyUSB0.
- Set appropriate baud rate.
- Enable VTG messages.
- Disable GSV messages.
2016-02-02 06:35:48 +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 1be927e672 Remove UAT SDR powersave. 2016-01-26 01:04:40 -05:00
Christopher Young 1f6c58350e PowerSave switch revert. 2016-01-26 01:03:26 -05:00
cyoung 30a14d0b2f Merge pull request #220 from jpoirier/development
dongle handling: remove misleading conflict msg, stricter string check
2016-01-26 01:00:44 -05:00
Christopher Young 2dfe38a927 Cleanup, max message rate. 2016-01-26 01:00:01 -05:00
Joseph Poirier e371039cd1 dongle handling: remove misleading conflict msg, stricter string check 2016-01-25 23:33:19 -06:00
Christopher Young 89dd33aba8 Remove UAT replay message re-logging. 2016-01-25 23:43:27 -05:00
Christopher Young a8708f15df Roll back to 1s traffic updates. 2016-01-25 23:16:31 -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
Christopher Young ae6ba61278 Cleanup.
Follow PR #195.
2016-01-10 15:56:57 -05:00
cyoung 92122743e5 Merge pull request #195 from jpoirier/development
only fetch serial id of unconfigured dongle
2016-01-10 15:55:53 -05:00
cyoung 57a9f49d0c Merge pull request #196 from cyoung/simplify_startstop
start/stop gen_gdl90 directly fron init.d-stratux
2016-01-10 15:53:46 -05:00
AvSquirrel e9e8c5c098 GPS time zone fix. Don't assume Pi is set to UTC. 2016-01-09 12:15:21 -06:00
bradanlane 4d85491f67 start/stop gen_gdl90 directly fron init.d-stratux 2016-01-08 16:02:57 -05:00
Joseph Poirier 40ce5dcde7 add serial to ES object 2016-01-08 09:35:26 -06:00
Joseph Poirier 4cbe3713a7 only fetch serial id of unconfigured dongle 2016-01-08 09:33:58 -06:00
cyoung 3c7d700cff Merge pull request #191 from AvSquirrel/GPS-20160105
GPS compatibility improvements: Parse lat-lng of arbitrary precision
2016-01-07 12:21:27 -05:00
Christopher Young 0f4fa6db22 Error. 2016-01-07 12:13:51 -05:00
Christopher Young cfd1541708 Use monotonic clock for status print.
#174.
2016-01-07 11:54:38 -05:00
Christopher Young f4c9af112a Use monotonic clock for RY835AI/GPS data check functions.
#174.
2016-01-07 11:47:01 -05:00
Christopher Young 363f411b45 Typo fix. 2016-01-07 11:42:37 -05:00
Christopher Young 24142bef73 Use monotonic clock for traffic tracking.
#174.
2016-01-07 11:42:30 -05:00
Christopher Young dcf50409e9 Use monotonic clock for message tracking.
#174.
2016-01-07 11:37:57 -05:00
Christopher Young 1382060024 Use monotonic clock for network/sleep functions.
#174.
2016-01-07 11:34:37 -05:00
Christopher Young ce5f185c0f Use monotonic clock for SDR/network timing.
#174.
2016-01-07 11:29:55 -05:00
Christopher Young f1a0355231 Add Since() function to monotonic clock. 2016-01-07 11:20:06 -05:00
Christopher Young 6303b0c536 Use monotonic timer for uptime.
Fixes #69.
2016-01-07 11:08:54 -05:00
AvSquirrel ee241c71fb Parse lat-lng of arbitrary precision 2016-01-06 03:09:42 +00:00
Christopher Young cf0296d77f Cleanup. 2016-01-05 11:09:06 -05:00
Christopher Young b0d1299fce Cleanup. 2016-01-05 11:08:16 -05:00
cyoung 11907e84ff Merge pull request #186 from AvSquirrel/ahrsFusion
AHRS heading improvements. "Fallback" GPS message parsing
2016-01-04 11:42:31 -05:00
Christopher Young 7d6f4eb7af Trigger traffic report on change. 2016-01-03 22:54:21 -05:00
AvSquirrel cdcfa1c8d7 Formatting 2016-01-04 00:14:29 +00:00
AvSquirrel 3bc45ac5be Remove debug log message 2016-01-04 00:12:10 +00:00
AvSquirrel c95ac50763 Merge remote-tracking branch 'upstream/master' into ahrsFusion 2016-01-04 00:10:32 +00:00
AvSquirrel caf155ca65 Improved GPS fallback code - added GSA parsing 2016-01-03 23:54:42 +00:00
Christopher Young bba257db6d Add SBS1 message type 5 "Surveillance alt message". 2016-01-03 13:52:33 -05:00
Christopher Young 65e82714b4 Add SBS1 message type comments. 2016-01-03 13:46:26 -05:00
AvSquirrel 0c5aad28bf AHRS heading fixes 2016-01-02 00:40:17 +00:00
cyoung d682bb5cf0 Merge pull request #178 from AvSquirrel/ahrsFusion
Check for valid GPS date. Fix time string formatting.
2016-01-01 13:32:55 -05:00
AvSquirrel 0f611560d4 Check for valid GPS date. Fix time string formatting. 2016-01-01 05:46:25 +00:00
Christopher Young bb23bd507f Fix CPU status byte bug. Change link to spec. 2015-12-31 23:44:51 -05:00
AvSquirrel 8410819ae2 AHRS roll direction fix. Experimental heading filter. 2015-12-31 07:10:10 +00:00
Christopher Young 7c77a563a5 Formatting. 2015-12-29 17:52:10 -05:00
cyoung 1960167909 Merge pull request #170 from AvSquirrel/gps-fixes
Delay start of UART reads. Link dev logs to web UI.
2015-12-29 17:51:44 -05:00
Christopher Young 71d604f07e Manual fix for Pull Request #170. 2015-12-29 17:51:31 -05:00
Christopher Young 53db559c15 Manual fix for Pull Request #170. 2015-12-29 17:48:01 -05:00
Christopher Young dab97a2328 Set heading from GPS with sustained >=10kts.
Apply same to new source.
2015-12-29 17:14:03 -05:00
Christopher Young 32383c12c2 Set heading from GPS with sustained >=10kts.
Restore overwritten change.
2015-12-29 17:02:18 -05:00
Christopher Young 60e143bd36 Formatting. 2015-12-29 17:00:59 -05:00
AvSquirrel 48f3170df9 Add 250 ms delay before opening UART port at 38.4k 2015-12-29 02:55:37 +00: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
cyoung 502084c20f Merge pull request #169 from AvSquirrel/GPS-UBX2
Updated GPS initialization and parsing
2015-12-28 01:38:15 -05:00
AvSquirrel 799a247c6c Add geoid separation offset and satellites seen. 2015-12-28 05:57:31 +00:00
Christopher Young c1859fb0be Set heading from GPS with sustained >=10kts. 2015-12-27 17:50:10 -05:00