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
Christopher Young
a35e3cb76f
Use linux-mpu9150 DMP functions to retrieve position data. Remove old POC code.
2015-12-27 16:11:21 -05:00
Christopher Young
4f56a4c7b3
Set "no cache" on all served pages.
...
Fixes #164 .
2015-12-27 13:11:55 -05:00
AvSquirrel
681e05f3a3
Add new GPS status messages
2015-12-27 08:47:37 +00:00
AvSquirrel
555f9ccb8c
Clean branch for UBX NMEA configuration
2015-12-27 03:19:35 +00:00
Christopher Young
24b28f225f
Merge remote-tracking branch 'origin/master' into powersave
2015-12-26 17:47:33 -05:00
Christopher Young
e23ce3f25d
Update comment.
2015-12-26 17:47:29 -05:00
Christopher Young
f51bd61b3b
Typo.
2015-12-26 17:34:35 -05:00
Christopher Young
cc418aa797
Merge fix.
2015-12-26 17:27:32 -05:00
Christopher Young
0215bc8fa4
Merge remote-tracking branch 'origin/master' into powersave
2015-12-26 17:23:34 -05:00
Christopher Young
c88d15929c
Reused var.
2015-12-26 17:23:25 -05:00
Christopher Young
268bc227c9
Merge remote-tracking branch 'origin/master' into powersave
...
# Conflicts:
# main/network.go
2015-12-26 17:18:57 -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
e6ad9aa830
Save some cycles when message queues aren't that large.
2015-12-21 00:05:47 -05:00
Christopher Young
72d989ed3b
Save some cycles when message queues aren't that large.
2015-12-20 23:59:39 -05:00
Christopher Young
8d573788b1
Wait for UAT read goroutine to quit before calling .Close() on device.
2015-12-20 23:38:45 -05:00
cyoung
71b4f3c2c0
Merge pull request #154 from jpoirier/fix_alt
...
fixed altitude calculation as per GDL 90 data interface spec
2015-12-20 23:31:11 -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
Joseph Poirier
b765d55f7c
updated example link
2015-12-20 18:20:38 -06:00
Joseph Poirier
227f4f5571
use smallest possible var size
2015-12-20 16:16:52 -06:00
Joseph Poirier
373c0fa956
fixed altitude calculation as per GDL 90 data interface spec
2015-12-20 15:34:36 -06:00
Christopher Young
b542ddc7ca
Switch ordering in WingX heartbeat.
2015-12-19 23:35:46 -05:00
Brad Ward
1c9a3a2ce2
Removed local constants in favor of using syscalls already defined exported constants
2015-12-20 00:56:36 +00:00
Brad Ward
3089cd5a3f
Shutdown/Reboot
...
Added methods to shutdown and reboot the pi via syscalls
2015-12-19 15:18:00 -06: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
cyoung
6b9a750ddc
Merge pull request #144 from jamez70/replay_integration_uncompressed_logs
...
Switched logs back to uncompressed. Replay now supported with command…
2015-12-17 14:53:42 -05:00
Jim Jacobsen
bb8f0254e1
Added developer mode command line switch which allows uncompressed log files
2015-12-14 01:04:40 +00:00
cyoung
34eec10b5a
Merge pull request #145 from cyoung/Bagarre
...
Add /situation WS with 100ms update.
2015-12-13 18:05:43 -05: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
a8dd42ef06
Fixes #124 .
2015-12-01 20:11:33 -05:00
Christopher Young
306ee8fa57
Comment.
2015-12-01 19:32:20 -05:00
Christopher Young
9f5cf89705
Add /situation WS with 100ms update.
2015-12-01 19:23:35 -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
25b8bf0402
Close() UAT device when not receiving messages.
...
Check for 10 seconds once every 60 seconds to see if we’re in range.
2015-11-21 17:54:37 -05:00
Christopher Young
ec88895038
Logic error.
2015-11-17 16:12:41 -05:00
Christopher Young
64277ef6ef
Type fix.
2015-11-17 15:59:41 -05:00
Christopher Young
3d44242d50
Type fix.
2015-11-17 14:32:49 -05:00
Christopher Young
2633f0056a
Pause UAT reading 75% of the time when no UAT messages are being received.
2015-11-17 14:31:21 -05:00
Christopher Young
c4c427ddb2
Save some cycles when message queues aren't that large.
2015-11-17 14:21:05 -05:00
Christopher Young
2c973ece39
Merge branch 'master' of https://www.github.com/cyoung/stratux
2015-11-12 14:26:57 -05: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
6d46a66933
add freq mode specific writeID mehtods
2015-11-11 12:54:42 -06:00
Joseph Poirier
ca6a77d19a
commnet out device count logging
2015-11-11 11:18:02 -06:00
Christopher Young
3745a805b7
Fixed zombie process issue.
2015-11-10 20:02:37 -05:00
Joseph Poirier
bfd72f877c
s/break/return and comment out noisey log message
2015-11-10 18:14:29 -06:00
Christopher Young
a5072f034d
Ref #103 .
...
Fixes log issue.
2015-11-10 18:52:54 -05:00
Christopher Young
5ddd7d1b65
Formatting.
2015-11-10 18:44:00 -05:00
Christopher Young
c3d6ebaa2e
Typo.
2015-11-10 17:49:44 -05:00
Christopher Young
9691d47a75
Mutex for uibroadcaster.sockets.
2015-11-10 17:27:06 -05:00
Joseph Poirier
f7e9991db4
consistent error handling for GetFreqCorrection
2015-11-09 09:14:08 -06:00
Joseph Poirier
cb2b1acccc
remove small hack for freq correction; gortlsdr has been modified to handle -2 error from librtlsdr when requested ppm is the same as current ppm"
2015-11-09 09:10:55 -06:00
Joseph Poirier
76408d5828
comment out debug prints
2015-11-07 00:24:56 -06:00
Joseph Poirier
f357d224c6
debug print cleanup
2015-11-06 23:48:44 -06:00
Joseph Poirier
07a9349ddf
add missing curley brace
2015-11-06 23:37:15 -06:00
Joseph Poirier
c5cf3898d3
better/fixed error GetFreqCorrection handling
2015-11-06 23:35:39 -06:00
Joseph Poirier
2dab583e8e
handle librtlsdr returned error code inconsistencies where dev->corr == PPM when calling SetFreqCorrection
2015-11-06 23:18:15 -06:00
Joseph Poirier
18da53d028
debug prints for testing
2015-11-06 22:50:40 -06:00
Joseph Poirier
c1932b26cc
log prints for testing
2015-11-06 22:32:05 -06:00
Joseph Poirier
88ec861fb7
put back Devices assignment, change type for atomic store
2015-11-06 21:57:59 -06:00
Joseph Poirier
cb1dbcf92f
Merge branch 'master' into jdp_dev
2015-11-06 18:58:56 -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
Joseph Poirier
afe13d1587
Merge branch 'master' into jdp_dev
2015-11-05 22:17:22 -06:00
Joseph Poirier
627353de48
minorcode changes
2015-11-05 21:54:39 -06:00
Christopher Young
3289772485
Set "airborne" flag correctly on TIS-B traffic.
...
Shows traffic in different color in FF when on ground.
2015-11-05 22:02:58 -05:00
Joseph Poirier
926fa06886
Merge branch 'master' into jdp_dev
2015-11-05 20:56:53 -06:00
cyoung
d0d466896e
Merge pull request #96 from cyoung/uat_towers_status
...
created new towers details page and towers status on main page
2015-10-30 11:56:54 -04:00
bradanlane
0324cc4b1f
created new towers details page but its commented out of the WebUI; simple active tower count is added to primary status page; created status web servcie for cases wehre a single instance is needed
2015-10-27 10:55:18 -04:00
Joseph Poirier
595f50cc2f
UAT and ES mode/hardware handling
2015-10-25 22:16:19 -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
3e042a82ed
Revert SDR code changes.
2015-10-21 15:25:22 -04:00
Christopher Young
6f5f69b322
Detect 'stratux:978' in serial string to keep static 978 tuner dev.
2015-10-20 10:50:09 -04:00
Christopher Young
6de0a8602a
Set time according to NEO-M8N, even if no GPS lock. Index fix.
2015-10-19 13:18:48 -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
941bd3f70c
Missing import.
2015-10-18 22:07:37 -04:00
Christopher Young
5f58d4bb5f
Set write deadline on UI broadcast writes.
2015-10-18 22:06:33 -04:00
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