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
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Jonathan Challinger
25a14fe0dc
AP_AHRS: add interface to retrieve corrected delta velocities in NED frame
8 years ago
Jonathan Challinger
e20687fbce
AP_AHRS: cache trim rotation
8 years ago
Jonathan Challinger
a03fa2d3cf
AP_AHRS: use exact matrix for trim rotations
8 years ago
floaledm
27e977289a
AP_AHRS: add the get_variances method found in AP_AHRS_NavEKF to AP_AHRS
8 years ago
Andrew Tridgell
334db0a1a5
AP_AHRS: added get_primary_accel_index() and get_primary_gyro_index()
9 years ago
priseborough
5454f76702
AP_AHRS: Add separate interfaces for local horizontal and vertical position
9 years ago
Andrew Tridgell
a6cbc5d4a5
AP_AHRS: use EKF for groundspeed estimate if available
9 years ago
Andrew Tridgell
795080742e
AP_AHRS: added have_ekf_logging() API
9 years ago
Lucas De Marchi
e0153faa85
AP_AHRS: replace header guard with pragma once
9 years ago
Jonathan Challinger
cbf2309023
AP_AHRS: add get_mag_field_NED and get_mag_field_correction
9 years ago
Andrew Tridgell
f8b52c6a67
AP_AHRS: try to start EKF2 slightly before EKF2
...
this gives priority to EKF2 on memory
9 years ago
Jonathan Challinger
6682b27456
AP_AHRS: rename get_dcm_matrix to get_rotation_body_to_ned
9 years ago
Julien BERAUD
924a94633d
AP_AHRS: Fix build
...
Due to interdependancy between optical flow and AHRS, it is not possible
to include full class definition which rely on each other
9 years ago
Lucas De Marchi
124937ab61
AP_AHRS: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1
9 years ago
Randy Mackay
4e959ef6f9
AP_AHRS: constify getLastPosNorthEastReset
...
Also constify getLastVelNortEastReset
9 years ago
Randy Mackay
7c20577ee0
AP_AHRS: constify getLastYawResetAngle
9 years ago
Paul Riseborough
f67f6b01f4
AP_AHRS: Publish the EKF position and velocity reset deltas
9 years ago
Caio Marcelo de Oliveira Filho
f7c73fbb13
AP_AHRS: remove AHRS_EKF_USE_ALWAYS define
...
This option now is passed when instantiating the code in ArduCopter, so
selecting the default value at compile time is not necessary anymore.
The motivation is to move vehicle specifc code out of the general
libraries. This patch shouldn't change behavior.
9 years ago
Caio Marcelo de Oliveira Filho
e87db31149
AP_AHRS: remove unused define
...
AHRS_EKF_USE_DEFAULT is not used since commit
7ba45444a2
"AP_AHRS: added selection of
EKF type using AHRS_EKF_TYPE".
9 years ago
Randy Mackay
9f59b6f7b5
AP_AHRS: getLastYawResetAngle returns reset time
10 years ago
Andrew Tridgell
dde8330077
AP_AHRS: rename using_EKF to active_EKF_type()
...
thanks to Randy for the suggestion
10 years ago
Andrew Tridgell
f9348887c5
AP_AHRS: added getLastYawResetAngle() and resetHeightDatum()
10 years ago
Andrew Tridgell
0677c2c80c
AP_AHRS: run astyle for formatting
10 years ago
Andrew Tridgell
7ba45444a2
AP_AHRS: added selection of EKF type using AHRS_EKF_TYPE
10 years ago
Andrew Tridgell
c18c6d894e
AP_AHRS: added prearm_failure_reason()
10 years ago
Lucas De Marchi
b43bddc0af
AP_AHRS: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
10 years ago
Gustavo Jose de Sousa
54d5277842
AP_AHRS: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago