Wykres commitów

1505 Commity (ac6da35e3b033d28814eb6879f4db12c367d1c69)

Autor SHA1 Wiadomość Data
Eric Westphal ac6da35e3b Tidy up UI Status page, display CPU stats always. 2017-04-02 10:09:16 -04:00
Eric Westphal b9ebc3b39e Sensor values in arrays instead of scalars. 2017-04-01 19:21:12 -04:00
Eric Westphal 9b7212ed11 More robust acceleration detection for orientation. 2017-04-01 19:00:28 -04:00
Eric Westphal a2580d4593 AHRS auto-level working. 2017-04-01 14:02:12 -04:00
Eric Westphal 1961a3cc8c Remove some old comments. 2017-04-01 09:19:01 -04:00
Eric Westphal effa8da5a9 Decompose rotation matrix into x, y, z basis vectors. 2017-04-01 09:14:13 -04:00
Eric Westphal a998ede17b Merge branch 'ahrs_dev' 2017-04-01 08:35:34 -04:00
Eric Westphal 18af334813 Extract sensor rotation matrix creation into function. 2017-04-01 08:27:45 -04:00
Eric Westphal 6220a2dfe3 Change Situation field names to more explanatory scheme. 2017-03-30 19:20:49 -04:00
Eric Westphal c12aa3e728 Merge pull request #24 from cyoung/ahrs_dev
Fix nil pointer dereference crash.
2017-03-30 08:12:33 -04:00
Christopher Young a11b0b9be4 Formatting.
Run gofmt on modified files.
2017-03-28 11:57:32 -04:00
Christopher Young 89b848c3e5 Fix nil pointer dereference when sensor is not connected/initialized and webUI sensor option is disabled.
2017/03/28 13:43:00 wrote settings.
2017/03/28 13:43:01 http: panic serving 192.168.10.12:52012: runtime
error: invalid memory address or nil pointer dereference
goroutine 83 [running]:
net/http.(*conn).serve.func1(0x10ab6ae0, 0x73826140, 0x10d8c708)
	/root/go-1.5.1/src/net/http/server.go:1287 +0x9c
main.handleSettingsSetRequest(0x72ec00b0, 0x10d93580, 0x10db0620)
	/root/stratux-westphae/main/managementinterface.go:286 +0x1620
net/http.HandlerFunc.ServeHTTP(0x5d2ecc, 0x72ec00b0, 0x10d93580,
0x10db0620)
	/root/go-1.5.1/src/net/http/server.go:1422 +0x34
net/http.(*ServeMux).ServeHTTP(0x10960dc0, 0x72ec00b0, 0x10d93580,
0x10db0620)
	/root/go-1.5.1/src/net/http/server.go:1699 +0x164
net/http.serverHandler.ServeHTTP(0x109c4300, 0x72ec00b0, 0x10d93580,
0x10db0620)
	/root/go-1.5.1/src/net/http/server.go:1862 +0x190
net/http.(*conn).serve(0x10ab6ae0)
	/root/go-1.5.1/src/net/http/server.go:1361 +0xbfc
created by net/http.(*Server).Serve
	/root/go-1.5.1/src/net/http/server.go:1910 +0x360
2017/03/28 13:43:01 http: panic serving 192.168.10.12:52013: runtime
error: invalid memory address or nil pointer dereference
goroutine 58 [running]:
net/http.(*conn).serve.func1(0x1098b4a0, 0x73826140, 0x10de8228)
	/root/go-1.5.1/src/net/http/server.go:1287 +0x9c
main.handleSettingsSetRequest(0x72ec00b0, 0x10d93680, 0x10db0690)
	/root/stratux-westphae/main/managementinterface.go:286 +0x1620
net/http.HandlerFunc.ServeHTTP(0x5d2ecc, 0x72ec00b0, 0x10d93680,
0x10db0690)
	/root/go-1.5.1/src/net/http/server.go:1422 +0x34
net/http.(*ServeMux).ServeHTTP(0x10960dc0, 0x72ec00b0, 0x10d93680,
0x10db0690)
	/root/go-1.5.1/src/net/http/server.go:1699 +0x164
net/http.serverHandler.ServeHTTP(0x109c4300, 0x72ec00b0, 0x10d93680,
0x10db0690)
	/root/go-1.5.1/src/net/http/server.go:1862 +0x190
net/http.(*conn).serve(0x1098b4a0)
	/root/go-1.5.1/src/net/http/server.go:1361 +0xbfc
created by net/http.(*Server).Serve
	/root/go-1.5.1/src/net/http/server.go:1910 +0x360
2017-03-28 11:54:27 -04:00
cyoung 99e61dc343 Merge pull request #578 from westphae/master
Merge westphae/stratux:master into cyoung/stratux:ahrs_dev.
2017-03-28 11:41:59 -04:00
Eric Westphal 9e101b4cf5 Minor ahrs.js name changes. 2017-03-26 20:44:42 -04:00
Eric Westphal 1904227438 Use websocket for gps/ahrs instead of GET polling. 2017-03-26 20:38:36 -04:00
Eric Westphal bef3f475da Minor reformatting of gps.js. 2017-03-26 19:54:28 -04:00
Eric Westphal 7cca9a1bbc AHRS indicator lights red if stratux disconnects. 2017-03-26 19:42:15 -04:00
Eric Westphal a23a29fdfd Improved formatting of calibration warning message. 2017-03-25 22:55:19 -04:00
Eric Westphal ae92bae0d3 Resetting AHRS now turns of AI and displays calibration warning. 2017-03-25 18:24:51 -04:00
Eric Westphal 63ce795340 web Makefile tried to copy nonexistent file. 2017-03-19 21:50:15 -05:00
Eric Westphal 551b2fc3e9 AI headings above 360 modded by 360. 2017-03-16 17:33:59 -04:00
Eric Westphal 2a40f80e5e Relabel cage button on AHRS UI page. 2017-03-14 19:33:21 -04:00
Eric Westphal adfa54813a Change Heading label to Track on AHRS UI. 2017-03-13 19:29:30 -04:00
Eric Westphal 9fefa4c3ff Create ai svg in javascript. 2017-03-12 22:27:24 -04:00
Eric Westphal ef8064c09f IMU->ATT and BMP->ALT on UI indicators. 2017-03-12 18:21:20 -04:00
Eric Westphal 571bec5a57 Make sure G Meter resets fully on power-up. 2017-03-11 19:39:49 -05:00
Eric Westphal d625f50446 Add arcs to g meter between max and min. 2017-03-11 09:20:26 -05:00
Eric Westphal f25df87825 Add G Meter to UI. 2017-03-10 22:03:35 -05:00
Eric Westphal 8ce402a33f Add AHRS status indicators to web UI. 2017-03-09 21:43:26 -05:00
Eric Westphal 5f8718c96a Reorder AHRS updates. 2017-03-09 21:41:45 -05:00
Eric Westphal cd314682eb Better orientation routine. 2017-03-09 21:40:21 -05:00
Eric Westphal 234dcb3726 Initial display of MagHeading, Slip/Skid, TurnRate, GLoad on web UI. 2017-03-08 18:11:05 -05:00
Eric Westphal d2526efc7c Slightly smarter sensor failure detection. 2017-03-08 18:10:13 -05:00
Eric Westphal 36595433be AHRSProvider calcs supplemental AHRS info instead of sensor. 2017-03-08 17:16:29 -05:00
Eric Westphal e78146ab99 Change "Calibration" to "Orientation" in UI. 2017-03-05 22:11:52 -05:00
Eric Westphal 3e43c1f69e AHRSLogger logs only if disk usage < 95%. 2017-03-05 19:07:01 -05:00
Eric Westphal 5667c1a871 All logs go to /root/ for FlightBox. 2017-03-05 18:56:11 -05:00
Eric Westphal f1ff15031f Add UI switch to record AHRS logs. 2017-03-05 18:34:25 -05:00
Eric Westphal 1344515c93 Separate UI switches for BMP and IMU connected. 2017-03-05 17:47:38 -05:00
Eric Westphal c34592e347 Refactor ahrs.InitializeSimple to separate logging from initialization. 2017-03-05 09:16:50 -05:00
Eric Westphal 043f334dc2 More robust initialization of baro ewma for ROC calc. 2017-03-05 09:13:18 -05:00
Eric Westphal 3d0ce092ab Re-run sensor calibration when caged. 2017-02-27 20:59:05 -05:00
Eric Westphal 787250b95f Slightly better location for stopping AHRS. 2017-02-27 20:58:45 -05:00
Eric Westphal cd6b708007 Better AHRS initialization behavior when sensors not yet calibrated. 2017-02-27 20:34:02 -05:00
Eric Westphal 4d31c3940c Initialize AHRSProvider using modified Reset interface. 2017-02-27 20:28:05 -05:00
Eric Westphal e397305fd0 MPU9250 correctly handles a zero calibration duration. 2017-02-27 19:57:01 -05:00
Eric Westphal 4bd6544cc0 AHRS_Provider gets a Reset method. 2017-02-27 18:07:14 -05:00
Eric Westphal 384cf16996 Move AHRS orientation explanation into help. 2017-02-23 14:41:39 -05:00
Eric Westphal b20302dff2 Cage button friendlier to data on web UI. 2017-02-23 14:41:03 -05:00
Eric Westphal 34396a36e5 Fix panic and lack of reconnect when Sensors switch toggled. 2017-02-22 16:54:13 -05:00