Randy Mackay
1ddf38869a
AP_AHRS: set AP_Notify gps_glitching flag
2017-07-27 14:16:23 +09:00
Peter Barker
3e0ed6deae
AP_AHRS: Use GCS_Dummy GCS singleton
2017-07-07 16:18:37 +01:00
Peter Barker
12b4f2c4b6
AP_AHRS: correct example
2017-06-29 15:43:38 +01:00
priseborough
fa5534502a
AP_AHRS: Update to match AP_GPS interface change
2017-06-21 11:44:45 +01:00
Andrew Tridgell
770f697cfc
AP_AHRS: added set/get for flying state
...
this allows the vehicle code to set the likely flying state, which can
be used by EKF to trigger changes which should only happen when flying
(such as mag alignment)
2017-06-20 09:44:44 +10:00
priseborough
a3483d0d34
AP_AHRS: Update for compatibility with EKF interface change
2017-06-14 12:44:41 +01:00
Randy Mackay
3e130273a9
AP_AHRS: do not fallback to DCM if EKF can provide relative position
2017-06-14 09:12:20 +09:00
Matt
6354ca7096
AP_AHRS: Set the new gps_fusion notify flag
...
Uses EKF filter state to set the new gps_fusion notify flag. This allows
the GCS and notify devices to specifically be notified if the GPS is or
is not usable.
2017-06-06 10:38:42 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
98a43cc4b5
AP_AHRS: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Andrew Tridgell
b6568b1c7e
AP_AHRS: support set_origin and get_origin for EKF 10
2017-05-08 13:38:10 +10:00
Andrew Tridgell
d9223165c7
AP_AHRS: fixed get_accel_ef_blended() for SITL EKF 10
2017-05-07 09:10:44 +10:00
Andrew Tridgell
28030dd85c
AP_AHRS: use SIM_ODOM_ENABLE to enable visual odom in SITL
2017-05-01 15:06:46 +10:00
Andrew Tridgell
e78f55ef9b
AP_AHRS: change order of EK2/EK3 update
...
if EK3 is our primary estimator when we want to run the EK3 update
first, so it gets time priority for inter-EKF scheduling.
2017-05-01 14:24:55 +10:00
Randy Mackay
0af9433c8e
AP_AHRS: add set_origin
2017-04-22 10:37:31 +09:00
Eugene Shamaev
5c080ce875
AP_AHRS: calculation and reporting of AOA and SSA
2017-04-19 20:48:42 +10:00
priseborough
90cd46f4d7
AP_AHRS: simulate body frame odometry sensor
2017-04-19 11:04:40 +09:00
priseborough
3b82f60b08
AP_AHRS: add interface for use of visual odometry data
2017-04-19 11:04:40 +09:00
Andrew Tridgell
6b6ad6ddf2
AP_AHRS: fixed wrap of yaw in AHRS_View
2017-04-17 12:15:19 +10:00
Andrew Tridgell
5758532326
AP_AHRS: make AHRS2 quaternion available
2017-04-16 14:01:36 +10:00
Pierre Kancir
fede727d38
AP_AHRS: example fix travis warning
...
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Michael du Breuil
33d0fa3e82
AP_AHRS: Fix an index out of bounds
...
Coverity 137817, getPrimaryCoreIMUIndex() can return -1, which is then invalid to pass to get_delta_velocity_dt
2017-04-06 08:44:57 +10:00
Andrew Tridgell
a11dca5229
AP_AHRS: added optional skip_ins_update to AHRS::update()
...
avoid the ins update if already done in copter fast_loop()
2017-04-03 13:04:11 +09:00
Andrew Tridgell
5f02b7eddb
AP_AHRS: added get_error_rp and get_error_yaw to AHRS_View
2017-03-31 11:30:44 +11:00
Randy Mackay
d3aca5544e
AP_AHRS: get_gyro_latest returns latest rates from IMU with drift correction
...
Pulling the gyro values from the IMU allows our rate controllers to run before the EKF
2017-03-03 13:14:28 +11:00
Randy Mackay
a74833a04a
AP_AHRS: fix example sketch
2017-02-27 15:18:13 +09:00
Peter Barker
e744460ff5
AP_AHRS: mark many functions as override
...
Also take the opportunity to remove void parameter
2017-02-24 21:13:08 +11:00
Peter Barker
6ee4045878
AP_AHRS: mark new relative position functions override
2017-02-24 21:13:08 +11:00
Peter Barker
35f876f853
AP_AHRS: examples: correct AHRS_Test
...
This is required so gcs() returns an object
2017-02-24 21:13:08 +11:00
Peter Barker
4ed7fb154f
AP_AHRS: supply missing get_relative_position_D_home
...
Simply returns the baro altitude (like EKF does if it lacks
position)
2017-02-24 21:13:08 +11:00
Peter Barker
24647fb2b0
AP_AHRS: make get_relative_position_D_home pure virtual
...
Having a void function with a return parameter that isn't
filled in by the base class function seems like a bad idea
2017-02-24 21:13:08 +11:00
Jacob Walser
8c87868b5c
AP_AHRS: Add submarine vehicle class
2017-02-21 11:26:14 +11:00
Peter Barker
1217256898
AP_AHRS: correct infinite recursion in AP_AHRS_View
2017-02-21 09:03:03 +11:00
Andrew Tridgell
7845181f4b
AP_AHRS: fixes for changes in AP_AHRS API from Michael
2017-02-18 17:26:43 +11:00
Andrew Tridgell
c62c64d27b
AP_AHRS: added support for AP_AHRS_View
2017-02-18 17:26:43 +11:00
Andrew Tridgell
1345bf8737
AC_AttitudeControl: added support for AP_AHRS_View
...
this allows for tailsitters with a different attitude view
2017-02-18 17:26:43 +11:00
Michael du Breuil
3274f1dbb1
AP_AHRS: Split all NED methods into a collection of NED relative to home vs origin
2017-02-13 09:23:14 +11:00
priseborough
93aa40a9e0
AP_AHRS: Fix EKF3 gyro bias reporting and improve code clarity
2017-02-08 19:11:08 +00:00
priseborough
e2757c17c8
AP_AHRS_NavEKF: fix ekf variable naming and initialisation
2017-01-27 16:57:42 +09:00
Andrew Tridgell
33a84624c6
AP_AHRS: use const reference
...
save a bit of stack and CPU
2017-01-23 21:36:34 +11:00
Julien Beraud
d2afa1cac8
AP_AHRS_NavEKF: Push gyro bias for optical flow
...
Push gyro bias for optical flow usage only if there is an optical
flow declared in the HAL
2017-01-23 21:23:16 +11:00
Andrew Tridgell
09c969477f
AP_AHRS: fixed fallback to DCM for get_position
...
this fixes dead-reckoning on fixed wing on GPS loss, and fallback to
DCM on loss of EKF position in fixed wing
This was broken by the EKF3 merge
2017-01-22 13:40:46 +11:00
mirkix
d2431dafd0
AP_AHRS: fix description
2017-01-17 18:55:46 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
8419045aea
Spell in comments
2017-01-06 10:57:39 -08:00
Andrew Tridgell
7a5ee29b6e
AP_AHRS: fixed a build warning
2016-12-31 08:53:16 +11:00
Andrew Tridgell
ad518f0cc7
AP_AHRS: fixed EKF type 10 EKF nav scaler return
2016-12-29 18:43:32 +11:00
murata
4c320373eb
AP_AHRS: Change indentation.
...
AP_AHRS: Delete inserted message "no break"
2016-12-24 11:30:37 +09:00
Andrew Tridgell
22fd2025de
AP_AHRS: fixed EKF type 10
2016-12-21 10:52:12 +11:00
Peter Barker
802206baed
AP_AHRS: remove use of uninitialised value
2016-12-19 19:51:16 -08:00
Andrew Tridgell
0870e02584
AP_AHRS: fixed example build
2016-12-19 08:07:13 +11:00
priseborough
33a7c682a3
AP_AHRS: Add EKF3 and remove EKF1
2016-12-19 08:07:10 +11:00