Wykres commitów

874 Commity (master)

Autor SHA1 Wiadomość Data
Eric Westphal 006824ef8d Fix gdl90 AHRSGyroHeading reporting. 2018-05-28 08:30:32 -04:00
cyoung 164b00396f Remove FEC computations on Pi side. 2018-05-21 14:27:34 -04:00
cyoung c0127928af Fan control failsafe temp.
#663
2018-05-10 22:42:41 -04:00
cyoung d8a9d5c1a3 Add signal strength and timestamp parsing. 2018-05-01 13:41:31 -04:00
cyoung b9ac1a394a Initial testing code. 2018-04-25 16:08:46 -04:00
cyoung 92dab38028 gen_gdl90 gracefulShutdown() on system shutdown or reboot request. 2018-04-19 10:37:30 -04:00
cyoung 54ab7df155 Add new ForeFlight AHRS and ID GDL90 messages. 2018-04-06 15:08:45 -04:00
cyoung 915391fa91 Use "N" or "C" regs derived from Mode-S identifier, or default to "Stratux". 2018-03-09 09:49:03 -05:00
cyoung a1ea17e7ca Remove unnecessary debug print. 2018-01-09 16:30:28 -05:00
cyoung b8e149cb61 Cleanup.
#692
2018-01-09 12:00:55 -05:00
cyoung c5314de3f2 Clean up unused imports.
#692
2018-01-09 10:41:13 -05:00
cyoung c4b8216a84 Change error prints to use addSingleSystemErrorf().
#692
2018-01-09 10:40:25 -05:00
cyoung 033c3ca1e4 Use addSingleSystemErrorf() instead of tracking error prints individually.
#692.
2018-01-09 10:09:18 -05:00
cyoung df6f844738 Create function that tracks critical system errors and issues them only once.
#692
2018-01-09 09:57:00 -05:00
cyoung bb9cb778d2 Update system uptime warning format. 2017-10-27 16:05:15 -04:00
cyoung cc4127df80 Remove socket listener from fancontrol. Replace with http server. Serve status in JSON format. 2017-10-23 14:58:24 -04:00
cyoung bb9c3c6435 Add NightMode to turn off ACT LED.
#659.
2017-10-17 17:30:03 -04:00
cyoung f28bfffc0a Turn off PPS output (green LED on GPYes).
#659.
2017-10-17 17:23:54 -04:00
cyoung b3ca828086 Use estimate vAcc = 2*hAcc instead of reported vAcc.
Fixes #666.
2017-10-17 16:26:11 -04:00
cyoung 9a3fe7c0d1 Clean up log output. 2017-10-12 13:21:55 -04:00
cyoung 8bc7f0c093 Add Merlin auto-detect. 2017-10-12 12:22:52 -04:00
cyoung 57c783d695 Typo fix. 2017-10-11 08:56:30 -04:00
cyoung 2df716f2f6 Remove unused 'CPULoad' status variable. 2017-10-11 08:40:10 -04:00
cyoung 4fa548b380 stratux.log cleanup. 2017-10-11 08:39:09 -04:00
Christopher Young 4de2420803 Clean up cputemp. 2017-10-10 11:27:15 -04:00
Christopher Young 05aa90b125 Clean up fancontrol.
Working on #663.
2017-09-12 08:56:31 -04:00
Christopher Young f8646d9ebe Check system uptime before SDR startup delay.
Throw a system error in developer mode if the uptime is greater than
120s and `sdrWatcher()` is restarted (usually a systemd restart).
2017-08-18 12:56:58 -04:00
Christopher Young 31abc00910 Delay SDR startup by 1m30s. 2017-08-07 16:50:44 -04:00
Eric Westphal cc24fb6fef Added Go portion of @peepsnet WiFi handling. 2017-07-22 12:43:32 -04:00
Christopher Young 0d833946f4 Remove redeclared variables. 2017-07-17 17:36:43 -04:00
Christopher Young 284bb0733f Remove redeclared structs. 2017-07-17 17:35:10 -04:00
Christopher Young 6709c9b4e6 Merge remote-tracking branch 'origin/master' into ahrs_dev
# Conflicts:
#	main/gen_gdl90.go
2017-07-17 17:18:12 -04:00
Eric Westphal 1877e66056 Ensure level signal doesn't block cal channel. 2017-07-12 22:20:23 -04:00
Eric Westphal 20877df847 Separate gyro calibration and AHRS level functions. 2017-07-12 13:27:26 -04:00
Eric Westphal 90c10195fb Minor log message change. 2017-07-09 17:48:35 -04:00
Eric Westphal 21278eb265 Level uses calibration accels, retry ccal if nonsense values. 2017-07-08 14:52:10 -04:00
Eric Westphal 572c1d08a5 Minor reorganization. 2017-07-08 13:50:46 -04:00
Eric Westphal 5926b05757 Deleting AHRS logs no longer stops all AHRS logging. 2017-07-07 21:24:49 -04:00
Eric Westphal e0faa71b3f Remove 'up' section from orientation procedure. 2017-07-06 19:45:01 -04:00
Eric Westphal 4d3235fb4b Minor variable reorganization. 2017-07-04 13:31:04 -04:00
Eric Westphal 1bf2a9d808 Developer UI page allows downloading and deleting AHRS logs. 2017-07-03 19:43:51 -04:00
Eric Westphal 5f8ac80ac3 Move sensor orientation quaternion into AHRSProvider. 2017-07-01 17:19:27 -04:00
Eric Westphal 60a4e74503 Ensure AHRS level occurs after orientation. 2017-06-28 20:49:55 -04:00
Eric Westphal 2a132bb9cc Pass empty initial orientation to NewSimpleAHRS. 2017-06-28 19:08:55 -04:00
Eric Westphal e2c6fa26af Rename InitializeSimple to NewSimpleAHRS. 2017-06-25 11:36:57 -04:00
Eric Westphal b4f437aa3d Remove some old AHRS logging. 2017-06-24 15:51:13 -04:00
Eric Westphal fef0ed466f Fix some bad initializations. 2017-06-24 14:46:47 -04:00
Eric Westphal 74909ada85 Ensure SensorQuaternion synced with IMUMapping. 2017-06-22 19:47:25 -04:00
Eric Westphal a2bba208b6 Sensor orientation more reliable. 2017-06-21 22:05:44 -04:00
Eric Westphal c6e01d2ec6 Variable name change. 2017-06-21 22:02:59 -04:00
Eric Westphal 542a68fc26 Remove AHRS config from developer settings. 2017-06-13 18:14:08 -04:00
Eric Westphal 7af6f20884 Maybe make the orientation process more consistent. 2017-06-13 17:48:34 -04:00
Jim Jacobsen 545343332e Move structs to the top of the file 2017-06-11 17:50:34 +00:00
Christopher Young 51fd728cc6 Merge fix. 2017-06-09 10:54:41 -04:00
Christopher Young fd7ce1ec92 Merge remote-tracking branch 'origin/master' into ahrs_dev
# Conflicts:
#	main/gen_gdl90.go
2017-06-09 10:53:41 -04:00
Christopher Young 5f1ebfbe70 Removed ForeFlight GDL90 parsing bug workaround.
#348, 604.
2017-06-09 10:49:25 -04:00
Christopher Young 23921ee384 Type fix. 2017-06-05 16:49:52 -04:00
Christopher Young a82f376ad0 Typo fix. 2017-06-05 16:37:32 -04:00
Christopher Young e9e552a149 Use GPSTrueCourse in GDL90 packet as heading when gyro heading not available.
#612
2017-06-05 16:29:28 -04:00
Christopher Young ca4ae22c42 Change float32 types to float64 types to match AHRS library outputs. 2017-06-05 16:19:45 -04:00
Christopher Young 215b6034d6 Typo fix. 2017-06-05 15:06:11 -04:00
Christopher Young 92da285c55 Add isAHRSInvalidValue(). 2017-06-05 15:03:19 -04:00
Christopher Young ac021ebe6a Conslidate 'ahrs.Invalid' constant references. 2017-06-05 14:55:25 -04:00
Christopher Young e43caad938 Typo fix. 2017-06-05 14:48:10 -04:00
Eric Westphal 586d951582 Save sensor orientation for pseudo-installed units. 2017-06-01 17:33:18 -04:00
Christopher Young 0a60929cab Typo fix. 2017-05-31 15:37:14 -04:00
Christopher Young f4144710e9 Update comments. 2017-05-31 15:34:57 -04:00
Christopher Young c0a79700b8 Change calcGPSValidity() to isGPSGroundTrackValid(). Replace existing isGPSGroundTrackValid() function. 2017-05-31 15:33:19 -04:00
Christopher Young 9839e88e71 Merge remote-tracking branch 'origin/master' into ahrs_dev 2017-05-31 15:21:37 -04:00
Eric Westphal db8d2f3e7f Add a bit more AHRS logging. 2017-05-29 20:32:50 -04:00
Eric Westphal e421d160b7 Base AHRS GPS Validity on NACp. 2017-05-29 15:56:16 -04:00
Eric Westphal c96f3d4844 Extra AHRS logging from external sources. 2017-05-29 15:53:06 -04:00
Eric Westphal fcc9322a57 Remove minor unneeded logging. 2017-05-29 15:44:34 -04:00
Christopher Young 053d60110f Typo fix. 2017-05-25 21:48:23 -04:00
Christopher Young 506db50fb2 Merge remote-tracking branch 'origin/master' into ahrs_dev 2017-05-24 21:44:11 -04:00
Christopher Young c3e4d613ca Remove full speed defaults.
#599, #595, #593.
2017-05-24 21:42:11 -04:00
Christopher Young daee7316f5 Switch from "BAL" mode to "MS" PWM modes. #599, #595, #593. 2017-05-24 13:25:52 -04:00
Christopher Young 4c854999bb Reduce number of fan modes to 10 from 256. Add five second run-up at startup. #599, #595, #593. 2017-05-24 13:24:46 -04:00
Eric Westphal ac386cb0a1 Add AHRS setting defaults to defaultConfig. 2017-05-21 21:51:40 -04:00
Eric Westphal 5aefc145ac Initial commit - user can set G limits for own aircraft. 2017-05-20 07:35:40 -04:00
Eric Westphal 9ebe32e6e0 Move SetConfig into AHRSProvider. 2017-05-17 19:41:01 -04:00
Eric Westphal 52e61ca48c Merge remote-tracking branch 'cyoung/ahrs_dev' into eric 2017-05-17 18:26:56 -04:00
Eric Westphal 8aeb5d285b Web UI G-Meter uses mySituation min/max G Load. 2017-05-17 17:55:42 -04:00
Eric Westphal e8273544ae mySituation tracks min/max G Load. 2017-05-17 17:55:42 -04:00
Christopher Young 0678955b01 Merge remote-tracking branch 'origin/master' into ahrs_dev 2017-05-17 17:18:30 -04:00
Christopher Young f2c311db6d If temperature rises after ramping to 100% PWM, then stop controlling the fan and set it to full ON.
#599, #595, #593.
2017-05-17 17:18:00 -04:00
Christopher Young 0d146d1747 Set GDL90 traffic alert bit always when bearing/distance is not available. #580, #582. 2017-05-17 15:25:14 -04:00
Christopher Young 83f0c6843f Suppress detected ownship traffic target, but don't use received data for GDL90 ownship message.
#590.
2017-05-17 15:12:22 -04:00
Eric Westphal a08d269e4c Merge remote-tracking branch 'cyoung/ahrs_dev' into eric 2017-05-16 10:50:19 -04:00
Christopher Young 3db11bd09d Add goflying submodule. Change imports. 2017-05-15 22:22:32 -04:00
Eric Westphal be84ec785c Merge remote-tracking branch 'cyoung/ahrs_dev' into eric 2017-05-15 07:55:23 -04:00
Eric Westphal ea657208c0 Merge remote-tracking branch 'cyoung/ahrs_dev' into ahrs_dev 2017-05-14 09:44:15 -04:00
Eric Westphal d84a3a0199 Merge branch 'invalid' into eric 2017-05-14 09:25:48 -04:00
Eric Westphal 7add14badf Invalidate GDL90 UDP values when AHRS data invalid. 2017-05-14 09:25:11 -04:00
Eric Westphal 84eea16eed Merge branch 'invalid' into eric 2017-05-14 08:17:26 -04:00
Christopher Young c6e96b5d09 Merge remote-tracking branch 'origin/master' into ahrs_dev
# Conflicts:
#	Makefile
#	main/equations.go
#	main/gen_gdl90.go
2017-05-13 12:37:06 -04:00
Christopher Young ae03336a0b Reduce CPU temperature target to 50ºC. #593. 2017-05-13 12:16:20 -04:00
Christopher Young eebb040e1e Remove GPS power save mode. 2017-05-13 12:15:42 -04:00
Christopher Young b423c4e48e Change pinout. Increase PWM frequency. Decrease min duty cycle.
#593.
2017-05-13 12:11:31 -04:00
Christopher Young 29c86d0343 Formatting.
#593.
2017-05-13 10:33:09 -04:00