1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
LibrePilot/flight/AHRS
peabody124 300195ff18 AHRS: A few small changes
1) Moved the criteria for using GPS to defines in anticipation of moving into
AHRSSettings
2) Only use the mags for updates if the vector length is within 20% of nominal
to avoid updating when it's nonsense
3) Reinitialize position when swapping between indoor and outdoor
4) Dont use mags for first 5 seconds after initialization, sometimes seems to
cause issues
5) Dont use mags until magnetic field at your location is set and a magnetic
field is loaded
6) Dont use GPS if home location hasnt been set

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1959 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-14 01:36:30 +00:00
..
inc AHRS: Detect when more than 2 seconds since last GPS update and in that case 2010-10-14 01:36:28 +00:00
ahrs_adc.c AHRS: Deal better with DMA errors 2010-10-03 18:14:36 +00:00
ahrs_timer.c OP-167 OP-157 AHRS/Calibration: Added mag scale and really cleaned up calibration. 2010-09-25 09:20:38 +00:00
ahrs.c AHRS: A few small changes 2010-10-14 01:36:30 +00:00
insgps.c AHRS: A few small changes 2010-10-14 01:36:30 +00:00
MagOrAccelSensorCal.c Flight/AHRS: Update code to coding conventions. 2010-09-21 19:29:39 +00:00
Makefile Flight/AHRS Communications: Switch to Les' very nice UAVObject communication 2010-10-02 02:17:18 +00:00
pios_board.c Flight/AHRS: Update code to coding conventions. 2010-09-21 19:29:39 +00:00
test.c Flight/AHRS: Update code to coding conventions. 2010-09-21 19:29:39 +00:00