Michael du Breuil
334b1622e1
AP_AHRS: Allow checking all EKF cores for health
6 years ago
Pierre Kancir
701c5dd4c0
AP_AHRS: move location_update to Location and rename to offset_bearing
6 years ago
Andrew Tridgell
6622a4579e
AP_AHRS: fixed warning on WARN_IF_UNUSED
6 years ago
Michael du Breuil
2ed1757353
AP_AHRS: Remove unused uptime
6 years ago
Michael du Breuil
c7c8c2a7c5
AP_AHRS: Tag a lot of the accessors as WARN_IF_UNUSED
6 years ago
Mark Whitehorn
e71eae7d3b
AP_AHRS: add new method get_quat_body_to_ned()
6 years ago
Michael du Breuil
0bf2fc004e
AP_AHRS: Warn if the return value on (get, set)_origin is not checked
6 years ago
Randy Mackay
ba02894734
AP_AHRS: attitude pre-arm check skips yaw if no compass
...
Also provides better feedback on the axis and angular difference
6 years ago
Peter Barker
63e894e7e1
AP_AHRS: rename set_orientation to update_orientation
...
set_ should be reserved for setters
6 years ago
Randy Mackay
b202270d1a
AP_AHRS: minor format fixes
6 years ago
Randy Mackay
f1a023c872
AP_AHRS: add attitudes_consistent pre-arm check
6 years ago
Peter Barker
2e403bfd52
AP_AHRS: make setting of home boolean in preparation for sanity checks
6 years ago
ChrisBird
532431c284
AP_AHRS: Added get_max_wind to make it available for use in determining if the airspeed sensor is faulty.
6 years ago
Pierre Kancir
3b96794fb5
AP_AHRS: remove useless virtual qualifier
6 years ago
Pierre Kancir
d87853d93e
AP_AHRS: pass vector by const reference
6 years ago
Andrew Tridgell
33b26da2eb
AP_AHRS: small cleanups
...
always pass the pitch trim, and removed unusued variables
6 years ago
IamPete1
e1cdf9fe0a
AP_AHRS: add trimed view
6 years ago
Andrew Tridgell
9897bf6127
AP_AHRS: support locked access to AHRS data
7 years ago
Andrew Tridgell
1056e64419
AP_AHRS: added get_DCM_rotation_body_to_ned()
...
this specifically asks for the DCM attitude, which will be used for
the comass calibration to help determine compass orientation
7 years ago
Peter Barker
4d944da530
AP_AHRS: add a singleton-getter cast into AP_AHRS_NavEKF
...
This will allow libraries which absolutely require the EKF to easily get
a cast copy of the singleton.
7 years ago
Peter Barker
3cbb88ae20
AP_AHRS: split home-set and home-locked state
7 years ago
Peter Barker
9793703a76
AP_AHRS: move Log_Write_Home_And_Origin into AP_AHRS
7 years ago
Jacob Walser
74be9f0bda
AP_AHRS: Add support for custom board orientations
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
2a274675f6
AP_AHRS: narrow enumeration to uint8_t to avoid narrowing-warnings
7 years ago
Peter Barker
20412dc0db
AP_AHRS: accept external position estimates into AHRS
7 years ago
Peter Barker
3a5807ae56
AP_AHRS: move home_status into AP_AHRS
...
Storing home in the AHRS object but not its state is clearly evil.
Fix that.
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
Peter Barker
659ab06d3b
AP_AHRS: AP_AHRS gets a virtual get_hagl function, EKF marks it override
7 years ago
Peter Barker
dc30197ca7
AP_AHRS: add AP::ahrs() singleton
7 years ago
Andrew Tridgell
0b5e3936fe
AP_AHRS: added earth to body 2D rotations
7 years ago
Peter Barker
e15442355a
AP_AHRS: use GPS singleton
7 years ago
khancyr
d89d496c8f
AP_AHRS: make getter const
7 years ago
Peter Barker
8a4ab685c7
AP_AHRS: implement get_hgt_ctrl_limit on base class
...
If no limits are required false can be returned, so an trivial
implementation is possible
7 years ago
Randy Mackay
82cd320bd0
AP_AHRS: add get_origin method to parent
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
0ecb14361d
AP_AHRS: NFC spell in comments
7 years ago
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)
8 years ago
Randy Mackay
0af9433c8e
AP_AHRS: add set_origin
8 years ago
Eugene Shamaev
5c080ce875
AP_AHRS: calculation and reporting of AOA and SSA
8 years ago
Andrew Tridgell
5758532326
AP_AHRS: make AHRS2 quaternion available
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
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
8 years ago
Jacob Walser
8c87868b5c
AP_AHRS: Add submarine vehicle class
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
b4961971e0
AP_AHRS: add beacon object to ahrs
8 years ago
Randy Mackay
c615bac1cd
AP_AHRS: add getLastPosDownReset accessor
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago