Andrew Tridgell
5ae410f7ca
AP_AHRS: called boost_end() on AHRS update
7 years ago
Andrew Tridgell
0b03562cf2
AP_AHRS: fix for mavlink update
7 years ago
Peter Barker
355752ebb8
AP_AHRS: remove pointless initialisations
...
These are either in bss or new'd.
Saves ~130 bytes
7 years ago
Peter Barker
aae4ed2553
AP_AHRS_NavEKF: accept external position estimates into AHRS
7 years ago
Peter Barker
1dabcc473d
AP_AHRS: use ins singleton
7 years ago
Peter Barker
024b29858d
AP_AHRS: use baro singleton
7 years ago
Andrew Tridgell
504e231ba2
AP_AHRS: reverted UAVCAN PR 7827
7 years ago
DOMINATOR\Eugene
2f7196d71f
AP_AHRS: UAVCAN publishing of attitude and location
7 years ago
Andrew Tridgell
55358459c7
AP_AHRS: fixed AP_MODULE_SUPPORTED
7 years ago
Andrew Tridgell
e2d91535d0
AP_AHRS: fill in have_pos_abs
7 years ago
Peter Barker
e15442355a
AP_AHRS: use GPS singleton
7 years ago
khancyr
2732226664
AP_AHRS: use direct assignation and correct some style
7 years ago
khancyr
dae636b39e
AP_AHRS: correct some constcorrectness
7 years ago
khancyr
d89d496c8f
AP_AHRS: make getter const
7 years ago
Andrew Tridgell
7a6ab4ac44
AP_AHRS: fixed a bug with startup ordering of SITL
...
this fixes a crash that can happen with SITL
7 years ago
Peter Barker
89e12163cd
AP_AHRS: correct comment
7 years ago
Lucas De Marchi
40fd1b346c
global: remove rangefinder from AP_AHRS_NavEKF
...
AP_AHRS_NavEKF doesn't use the rangefinder, it just delegates the
calls to the right estimator.
For libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp the initialization
order has also been modified to match the order on vehicles. It's more
correct since it passes a reference when EKF2/EKF3 are already
constructed, while thos constructors use a pointer. Ideally these
should be moved to an init() method though, or use a get_instance().
7 years ago
Peter Barker
97b6ca218b
AP_AHRS: send ekf status reports even when EKF inactive
8 years ago
chobits
d6845a911a
AP_AHRS: fix get_relative_position_NE_home calcalation
8 years ago
Randy Mackay
1ddf38869a
AP_AHRS: set AP_Notify gps_glitching flag
8 years ago
priseborough
a3483d0d34
AP_AHRS: Update for compatibility with EKF interface change
8 years ago
Randy Mackay
3e130273a9
AP_AHRS: do not fallback to DCM if EKF can provide relative position
8 years ago
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.
8 years ago
Andrew Tridgell
b6568b1c7e
AP_AHRS: support set_origin and get_origin for EKF 10
8 years ago
Andrew Tridgell
d9223165c7
AP_AHRS: fixed get_accel_ef_blended() for SITL EKF 10
8 years ago
Andrew Tridgell
28030dd85c
AP_AHRS: use SIM_ODOM_ENABLE to enable visual odom in SITL
8 years ago
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.
8 years ago
Randy Mackay
0af9433c8e
AP_AHRS: add set_origin
8 years ago
priseborough
90cd46f4d7
AP_AHRS: simulate body frame odometry sensor
8 years ago
priseborough
3b82f60b08
AP_AHRS: add interface for use of visual odometry data
8 years ago
Andrew Tridgell
5758532326
AP_AHRS: make AHRS2 quaternion available
8 years ago
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
8 years ago
Andrew Tridgell
a11dca5229
AP_AHRS: added optional skip_ins_update to AHRS::update()
...
avoid the ins update if already done in copter fast_loop()
8 years ago
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
8 years ago
Andrew Tridgell
c62c64d27b
AP_AHRS: added support for AP_AHRS_View
8 years ago
Michael du Breuil
3274f1dbb1
AP_AHRS: Split all NED methods into a collection of NED relative to home vs origin
8 years ago
priseborough
93aa40a9e0
AP_AHRS: Fix EKF3 gyro bias reporting and improve code clarity
8 years ago
priseborough
e2757c17c8
AP_AHRS_NavEKF: fix ekf variable naming and initialisation
8 years ago
Andrew Tridgell
33a84624c6
AP_AHRS: use const reference
...
save a bit of stack and CPU
8 years ago
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
8 years ago
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
8 years ago
Andrew Tridgell
7a5ee29b6e
AP_AHRS: fixed a build warning
8 years ago
Andrew Tridgell
ad518f0cc7
AP_AHRS: fixed EKF type 10 EKF nav scaler return
8 years ago
murata
4c320373eb
AP_AHRS: Change indentation.
...
AP_AHRS: Delete inserted message "no break"
8 years ago
Andrew Tridgell
22fd2025de
AP_AHRS: fixed EKF type 10
8 years ago
Peter Barker
802206baed
AP_AHRS: remove use of uninitialised value
8 years ago
priseborough
33a7c682a3
AP_AHRS: Add EKF3 and remove EKF1
8 years ago
Andrew Tridgell
ab05472e0e
AP_AHRS: added EKF3 for EKF experimentation
...
Conflicts:
libraries/AP_AHRS/AP_AHRS_NavEKF.cpp
8 years ago
Randy Mackay
c615bac1cd
AP_AHRS: add getLastPosDownReset accessor
8 years ago
Andrew Tridgell
772209b3f3
AP_AHRS: make posOffset a const reference
8 years ago