Randy Mackay
98d667c916
AHRS_HIL: call update_trig
11 years ago
Randy Mackay
6946d68318
AHRS_DCM: call update_trig
11 years ago
Randy Mackay
3dc6ea682c
AHRS: add update_trig
...
Calculates helper trig values including cos_roll, cos_pitch
11 years ago
Paul Riseborough
f2c2811ef3
AP_AHRS & AP_Math: fixed bug in use of AHRS_TRIM parameters
11 years ago
Andrew Tridgell
a96840e194
AP_AHRS: changed default GPS lag to 1 sample
...
this is based on detailed logs from a LEA-6H and NEO-7N
11 years ago
Andrew Tridgell
410d356979
AP_AHRS: make airspeed_estimate const
11 years ago
Michael Day
e5addf86c1
AP_AHRS: Added getters for compass and GPS.
11 years ago
Andrew Tridgell
baa4ecc2ea
APA_AHRS: update for compass API change
11 years ago
Andrew Tridgell
b248cc0868
AP_AHRS: fixed a build warning
11 years ago
Andrew Tridgell
710d5119b5
AP_AHRS: added attitude_reset() method for HIL_SENSORS
11 years ago
Andrew Tridgell
6ed493b10f
AP_AHRS: added attitude_reset() method for HIL_SENSORS
11 years ago
Andrew Tridgell
4f871c87f1
AP_AHRS: detect and try to cope with bad accels
11 years ago
Andrew Tridgell
56bcda7252
AP_AHRS: lower default roll and yaw drift correction speed
...
the gyros sustain accuracy over much longer time periods than
previously expected
11 years ago
Andrew Tridgell
02d6f012ce
AP_AHRS: added accel sum delay buffer to account for GPS lag
11 years ago
Andrew Tridgell
d31e557983
AP_AHRS: save memory and reduce pointer references
...
use a refence for ins, and don't save gyro and accel between updates
11 years ago
Andrew Tridgell
cb52b6f367
AP_AHRS: removed limit on normalisation of accel reference vectors
...
this could lead to a bias in the accel drift correction
11 years ago
Andrew Tridgell
31eaaada62
AP_AHRS: removed vertical G limit on GPS velocity correction
...
this limit could lead to a bias in the accel drift correction, and is
frequenctly exceeded
11 years ago
Andrew Tridgell
a7931b1581
AP_AHRS: fixed wrapping bug in GPS based heading error
...
this bug could cause the GPS based yaw to use an expensive reset far
too often
11 years ago
Andrew Tridgell
17b27a47de
AP_AHRS: prevent GPS yaw resets on compass errors
...
when we switch from compass heading to GPS heading we don't want to
trigger a sudden GPS yaw reset
11 years ago
Andrew Tridgell
d305dd5946
AP_AHRS: debounce the GPS/compass consistency test
...
we will only consider the compass inconsistent with GPS if it is off
for more than 2 seconds
11 years ago
Andrew Tridgell
8ee848a788
AP_AHRS: update for Stub -> HIL
12 years ago
Randy Mackay
8306d74da0
AHRS: remove DMP as an ahrs
12 years ago
Andrew Tridgell
e1aa6e3ff1
libraries: fixed examples for no flash_leds() callback
12 years ago
Andrew Tridgell
15a4582ed7
AP_AHRS: changed to AP_Vehicle.h
12 years ago
Andrew Tridgell
c044385fff
AP_AHRS: added groundspeed() method
...
this gives ground speed in m/s from GPS
12 years ago
Andrew Tridgell
c56017d8f1
AP_AHRS: added in new orientations
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
6182571c21
AP_AHRS: fixed example build
12 years ago
Andrew Tridgell
587fb58720
AP_AHRS: fixed license text
...
APM is under GPL, not LGPL
12 years ago
Andrew Tridgell
57d2dd814d
AP_AHRS: added get_position_lag() call
...
provide position lag to libraries
12 years ago
Andrew Tridgell
0d36832b82
AP_AHRS: use const reference not pointers for locations
...
this makes life easier for the new AP_Mission library
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
12 years ago
Andrew Tridgell
ec73fadc45
AP_AHRS: added true airspeed support in AHRS
...
use true airspeed for wind calculations, and allow other drivers to
ask for the current ratio
12 years ago
Randy Mackay
0325ad5d0d
AP_AHRS: use rotateXY for speed
...
Saves 0.1ms at 100hz
12 years ago
Andrew Tridgell
1bd6849d00
AP_AHRS: fixed example build
12 years ago
Andrew Tridgell
b721bcc129
AP_AHRS: removed get_roll_rate_earth() and get_pitch_rate_earth()
...
these are not used any more
12 years ago
Andrew Tridgell
086e8f80dc
AP_AHRS: fixed spin rate gain conversion from degrees to radians
...
fixes issue #433
Thanks Jurgen!
12 years ago
Randy Mackay
7860d06b91
AHRS: typo fix for ORIENTATION param description
12 years ago
Andrew Tridgell
279f6d00f0
AP_AHRS: changes for GPS field changes
12 years ago
tobias
1bf135b36f
AP_AHRS: make some more functions const
12 years ago
Randy Mackay
ded31582de
AP_AHRS: add Roll90Yaw90 to parameter description
...
Thanks to Rainer Walther for spotting this
12 years ago
Andrew Tridgell
80e0f8044c
AP_AHRS: added airspeed_sensor_enabled() function
12 years ago
Andrew Tridgell
7d42a0562d
AP_AHRS: cope better with large GPS yaw changes
...
this should cope better with bungee launches when using only GPS for
yaw.
12 years ago
Andrew Tridgell
aaaa5247e3
AP_AHRS: make it possible to setup board orientation at runtime
12 years ago
Andrew Tridgell
e75253d019
AP_AHRS: fixed indent-tabs-mode
12 years ago
Andrew Tridgell
14628990e6
AP_AHRS: make wind estimation configurable
...
rover doesn't want it
12 years ago
Randy Mackay
b27ddf0f63
AP_AHRS: add parameter descriptions
12 years ago
Andrew Tridgell
c08c084191
AP_AHRS: added get_projected_position()
...
this is used to project the position forward by the GPS lag
12 years ago
Andrew Tridgell
a17b85c661
AP_AHRS: use vectors for ground vector complimentary filter
12 years ago
Andrew Tridgell
6f1cee6406
AP_AHRS: fixed position estimate with 2D fix or low satellite count
...
we should still use the GPS for position fixes when we have a low
number of satellites, but we should stop using it for velocity
estimates and attitude correction.
12 years ago
Randy Mackay
ceda7d26b0
AHRS: add correct_centrifugal and flags structure
12 years ago