Lucas De Marchi
bfd13dfe87
global: use static method to construct AP_AHRS_DCM
7 years ago
Lucas De Marchi
cd1ff7b86f
AP_AHRS: DCM: add static create method
7 years ago
Lucas De Marchi
beabae6a98
global: use static method to construct AP_AHRS_NavEKF
7 years ago
Lucas De Marchi
e2a9d9c001
AP_AHRS: add static create method
7 years ago
Lucas De Marchi
c9fbf7b722
global: use static method to construct AP_NavEKF3
7 years ago
Lucas De Marchi
e2fe36357a
global: use static method to construct AP_NavEKF2
7 years ago
Lucas De Marchi
69b6d95cb2
global: use static method to construct AP_Board_Config{,_CAN}
7 years ago
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
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
Lucas De Marchi
9027a55696
global: use static method to construct RangeFinder
7 years ago
Lucas De Marchi
8094482f21
global: use static method to construct AP_GPS
7 years ago
Lucas De Marchi
87b30b4552
global: use static method to construct AP_InertialSensor
7 years ago
Lucas De Marchi
c1a957fbf3
global: use static method to construct Compass
7 years ago
Lucas De Marchi
91feec0e14
global: use static method to construct AP_Baro
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
Peter Barker
3e0ed6deae
AP_AHRS: Use GCS_Dummy GCS singleton
8 years ago
Peter Barker
12b4f2c4b6
AP_AHRS: correct example
8 years ago
priseborough
fa5534502a
AP_AHRS: Update to match AP_GPS interface change
8 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
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
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
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
Eugene Shamaev
5c080ce875
AP_AHRS: calculation and reporting of AOA and SSA
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
6b6ad6ddf2
AP_AHRS: fixed wrap of yaw in AHRS_View
8 years ago
Andrew Tridgell
5758532326
AP_AHRS: make AHRS2 quaternion available
8 years ago
Pierre Kancir
fede727d38
AP_AHRS: example fix travis warning
...
missing function declaration
implicit cast
some style fix
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
Andrew Tridgell
5f02b7eddb
AP_AHRS: added get_error_rp and get_error_yaw to AHRS_View
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
Randy Mackay
a74833a04a
AP_AHRS: fix example sketch
8 years ago
Peter Barker
e744460ff5
AP_AHRS: mark many functions as override
...
Also take the opportunity to remove void parameter
8 years ago
Peter Barker
6ee4045878
AP_AHRS: mark new relative position functions override
8 years ago
Peter Barker
35f876f853
AP_AHRS: examples: correct AHRS_Test
...
This is required so gcs() returns an object
8 years ago
Peter Barker
4ed7fb154f
AP_AHRS: supply missing get_relative_position_D_home
...
Simply returns the baro altitude (like EKF does if it lacks
position)
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
Peter Barker
1217256898
AP_AHRS: correct infinite recursion in AP_AHRS_View
8 years ago
Andrew Tridgell
7845181f4b
AP_AHRS: fixes for changes in AP_AHRS API from Michael
8 years ago
Andrew Tridgell
c62c64d27b
AP_AHRS: added support for AP_AHRS_View
8 years ago