APM:Libraries
|
#include <AP_NavEKF2.h>
Public Member Functions | |
NavEKF2 (const AP_AHRS *ahrs, const RangeFinder &rng) | |
NavEKF2 (const NavEKF2 &other)=delete | |
NavEKF2 & | operator= (const NavEKF2 &)=delete |
uint8_t | activeCores (void) const |
bool | InitialiseFilter (void) |
void | UpdateFilter (void) |
void | check_log_write (void) |
bool | healthy (void) const |
int8_t | getPrimaryCoreIndex (void) const |
int8_t | getPrimaryCoreIMUIndex (void) const |
bool | getPosNE (int8_t instance, Vector2f &posNE) const |
bool | getPosD (int8_t instance, float &posD) const |
void | getVelNED (int8_t instance, Vector3f &vel) const |
float | getPosDownDerivative (int8_t instance) const |
void | getAccelNED (Vector3f &accelNED) const |
void | getGyroBias (int8_t instance, Vector3f &gyroBias) const |
void | getGyroScaleErrorPercentage (int8_t instance, Vector3f &gyroScale) const |
void | getTiltError (int8_t instance, float &ang) const |
void | resetGyroBias (void) |
bool | resetHeightDatum (void) |
uint8_t | setInhibitGPS (void) |
void | setInhibitGpsVertVelUse (const bool varIn) |
void | getEkfControlLimits (float &ekfGndSpdLimit, float &ekfNavVelGainScaler) const |
void | getAccelZBias (int8_t instance, float &zbias) const |
void | getWind (int8_t instance, Vector3f &wind) const |
void | getMagNED (int8_t instance, Vector3f &magNED) const |
void | getMagXYZ (int8_t instance, Vector3f &magXYZ) const |
uint8_t | getActiveMag (int8_t instance) const |
bool | getMagOffsets (uint8_t mag_idx, Vector3f &magOffsets) const |
bool | getLLH (struct Location &loc) const |
bool | getOriginLLH (int8_t instance, struct Location &loc) const |
bool | setOriginLLH (const Location &loc) |
bool | getHAGL (float &HAGL) const |
void | getEulerAngles (int8_t instance, Vector3f &eulers) const |
void | getRotationBodyToNED (Matrix3f &mat) const |
void | getQuaternion (int8_t instance, Quaternion &quat) const |
void | getInnovations (int8_t index, Vector3f &velInnov, Vector3f &posInnov, Vector3f &magInnov, float &tasInnov, float &yawInnov) const |
void | getOutputTrackingError (int8_t instance, Vector3f &error) const |
void | getVariances (int8_t instance, float &velVar, float &posVar, float &hgtVar, Vector3f &magVar, float &tasVar, Vector2f &offset) const |
bool | use_compass (void) const |
void | writeOptFlowMeas (uint8_t &rawFlowQuality, Vector2f &rawFlowRates, Vector2f &rawGyroRates, uint32_t &msecFlowMeas, const Vector3f &posOffset) |
void | getFlowDebug (int8_t instance, float &varFlow, float &gndOffset, float &flowInnovX, float &flowInnovY, float &auxInnov, float &HAGL, float &rngInnov, float &range, float &gndOffsetErr) const |
bool | getRangeBeaconDebug (int8_t instance, uint8_t &ID, float &rng, float &innov, float &innovVar, float &testRatio, Vector3f &beaconPosNED, float &offsetHigh, float &offsetLow) const |
void | setTakeoffExpected (bool val) |
void | setTouchdownExpected (bool val) |
void | setTerrainHgtStable (bool val) |
void | getFilterFaults (int8_t instance, uint16_t &faults) const |
void | getFilterTimeouts (int8_t instance, uint8_t &timeouts) const |
void | getFilterGpsStatus (int8_t instance, nav_gps_status &faults) const |
void | getFilterStatus (int8_t instance, nav_filter_status &status) const |
void | send_status_report (mavlink_channel_t chan) |
bool | getHeightControlLimit (float &height) const |
uint32_t | getLastYawResetAngle (float &yawAngDelta) |
uint32_t | getLastPosNorthEastReset (Vector2f &posDelta) |
uint32_t | getLastVelNorthEastReset (Vector2f &vel) const |
uint32_t | getLastPosDownReset (float &posDelta) |
const char * | prearm_failure_reason (void) const |
void | set_baro_alt_noise (float noise) |
void | set_enable (bool enable) |
bool | have_ekf_logging (void) const |
void | getTimingStatistics (int8_t instance, struct ekf_timing &timing) const |
void | writeExtNavData (const Vector3f &sensOffset, const Vector3f &pos, const Quaternion &quat, float posErr, float angErr, uint32_t timeStamp_ms, uint32_t resetTime_ms) |
Static Public Attributes | |
static const struct AP_Param::GroupInfo | var_info [] |
Private Member Functions | |
void | updateLaneSwitchYawResetData (uint8_t new_primary, uint8_t old_primary) |
void | updateLaneSwitchPosResetData (uint8_t new_primary, uint8_t old_primary) |
void | updateLaneSwitchPosDownResetData (uint8_t new_primary, uint8_t old_primary) |
Friends | |
class | NavEKF2_core |
Definition at line 37 of file AP_NavEKF2.h.
NavEKF2::NavEKF2 | ( | const AP_AHRS * | ahrs, |
const RangeFinder & | rng | ||
) |
|
delete |
|
inline |
Definition at line 50 of file AP_NavEKF2.h.
Referenced by DataFlash_Class::Log_Write_POS(), and GCS_MAVLINK::send_ahrs2().
void NavEKF2::check_log_write | ( | void | ) |
Definition at line 568 of file AP_NavEKF2.cpp.
Referenced by activeCores(), InitialiseFilter(), and UpdateFilter().
void NavEKF2::getAccelNED | ( | Vector3f & | accelNED | ) | const |
Definition at line 823 of file AP_NavEKF2.cpp.
Referenced by activeCores().
void NavEKF2::getAccelZBias | ( | int8_t | instance, |
float & | zbias | ||
) | const |
Definition at line 911 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::getCorrectedDeltaVelocityNED(), DataFlash_Class::Log_Write_POS(), setInhibitGpsVertVelUse(), and AP_AHRS_NavEKF::update_EKF2().
uint8_t NavEKF2::getActiveMag | ( | int8_t | instance | ) | const |
Definition at line 947 of file AP_NavEKF2.cpp.
Referenced by DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
void NavEKF2::getEkfControlLimits | ( | float & | ekfGndSpdLimit, |
float & | ekfNavVelGainScaler | ||
) | const |
Definition at line 903 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::getEkfControlLimits(), and setInhibitGpsVertVelUse().
void NavEKF2::getEulerAngles | ( | int8_t | instance, |
Vector3f & | eulers | ||
) | const |
Definition at line 1024 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::get_secondary_attitude(), DataFlash_Class::Log_Write_POS(), GCS_MAVLINK::send_ahrs2(), setInhibitGpsVertVelUse(), and AP_AHRS_NavEKF::update_EKF2().
void NavEKF2::getFilterFaults | ( | int8_t | instance, |
uint16_t & | faults | ||
) | const |
Definition at line 1169 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::active_EKF_type(), DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
void NavEKF2::getFilterGpsStatus | ( | int8_t | instance, |
nav_gps_status & | faults | ||
) | const |
Definition at line 1216 of file AP_NavEKF2.cpp.
Referenced by DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
void NavEKF2::getFilterStatus | ( | int8_t | instance, |
nav_filter_status & | status | ||
) | const |
Definition at line 1203 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::active_EKF_type(), AP_AHRS_NavEKF::get_filter_status(), DataFlash_Class::Log_Write_POS(), setInhibitGpsVertVelUse(), and AP_AHRS_NavEKF::update_EKF2().
void NavEKF2::getFilterTimeouts | ( | int8_t | instance, |
uint8_t & | timeouts | ||
) | const |
Definition at line 1190 of file AP_NavEKF2.cpp.
Referenced by DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
void NavEKF2::getFlowDebug | ( | int8_t | instance, |
float & | varFlow, | ||
float & | gndOffset, | ||
float & | flowInnovX, | ||
float & | flowInnovY, | ||
float & | auxInnov, | ||
float & | HAGL, | ||
float & | rngInnov, | ||
float & | range, | ||
float & | gndOffsetErr | ||
) | const |
Definition at line 1103 of file AP_NavEKF2.cpp.
Referenced by DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
void NavEKF2::getGyroBias | ( | int8_t | instance, |
Vector3f & | gyroBias | ||
) | const |
Definition at line 831 of file AP_NavEKF2.cpp.
Referenced by activeCores(), DataFlash_Class::Log_Write_POS(), and AP_AHRS_NavEKF::update_EKF2().
void NavEKF2::getGyroScaleErrorPercentage | ( | int8_t | instance, |
Vector3f & | gyroScale | ||
) | const |
Definition at line 840 of file AP_NavEKF2.cpp.
Referenced by activeCores(), and DataFlash_Class::Log_Write_POS().
bool NavEKF2::getHAGL | ( | float & | HAGL | ) | const |
Definition at line 1015 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::get_hagl(), and setInhibitGpsVertVelUse().
bool NavEKF2::getHeightControlLimit | ( | float & | height | ) | const |
Definition at line 1237 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::get_hgt_ctrl_limit(), and setInhibitGpsVertVelUse().
void NavEKF2::getInnovations | ( | int8_t | index, |
Vector3f & | velInnov, | ||
Vector3f & | posInnov, | ||
Vector3f & | magInnov, | ||
float & | tasInnov, | ||
float & | yawInnov | ||
) | const |
Definition at line 1050 of file AP_NavEKF2.cpp.
Referenced by DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
uint32_t NavEKF2::getLastPosDownReset | ( | float & | posDelta | ) |
Definition at line 1343 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::getLastPosDownReset(), setInhibitGpsVertVelUse(), and updateLaneSwitchPosDownResetData().
uint32_t NavEKF2::getLastPosNorthEastReset | ( | Vector2f & | posDelta | ) |
Definition at line 1286 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::getLastPosNorthEastReset(), setInhibitGpsVertVelUse(), and updateLaneSwitchPosResetData().
uint32_t NavEKF2::getLastVelNorthEastReset | ( | Vector2f & | vel | ) | const |
Definition at line 1323 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::getLastVelNorthEastReset(), and setInhibitGpsVertVelUse().
uint32_t NavEKF2::getLastYawResetAngle | ( | float & | yawAngDelta | ) |
Definition at line 1248 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::getLastYawResetAngle(), setInhibitGpsVertVelUse(), and updateLaneSwitchYawResetData().
bool NavEKF2::getLLH | ( | struct Location & | loc | ) | const |
Definition at line 980 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::get_location(), AP_AHRS_NavEKF::get_position(), AP_AHRS_NavEKF::get_secondary_position(), GCS_MAVLINK::send_ahrs2(), and setInhibitGpsVertVelUse().
void NavEKF2::getMagNED | ( | int8_t | instance, |
Vector3f & | magNED | ||
) | const |
Definition at line 929 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::get_mag_field_NED(), DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
bool NavEKF2::getMagOffsets | ( | uint8_t | mag_idx, |
Vector3f & | magOffsets | ||
) | const |
Definition at line 959 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::getMagOffsets(), and setInhibitGpsVertVelUse().
void NavEKF2::getMagXYZ | ( | int8_t | instance, |
Vector3f & | magXYZ | ||
) | const |
Definition at line 938 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::get_mag_field_correction(), DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
bool NavEKF2::getOriginLLH | ( | int8_t | instance, |
struct Location & | loc | ||
) | const |
Definition at line 992 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::get_origin(), AP_AHRS_NavEKF::get_position(), DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
void NavEKF2::getOutputTrackingError | ( | int8_t | instance, |
Vector3f & | error | ||
) | const |
Definition at line 1059 of file AP_NavEKF2.cpp.
Referenced by DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
bool NavEKF2::getPosD | ( | int8_t | instance, |
float & | posD | ||
) | const |
Definition at line 793 of file AP_NavEKF2.cpp.
Referenced by activeCores(), AP_AHRS_NavEKF::get_position(), AP_AHRS_NavEKF::get_relative_position_D_origin(), AP_AHRS_NavEKF::get_relative_position_NED_origin(), and DataFlash_Class::Log_Write_POS().
float NavEKF2::getPosDownDerivative | ( | int8_t | instance | ) | const |
Definition at line 812 of file AP_NavEKF2.cpp.
Referenced by activeCores(), AP_AHRS_NavEKF::get_vert_pos_rate(), and DataFlash_Class::Log_Write_POS().
bool NavEKF2::getPosNE | ( | int8_t | instance, |
Vector2f & | posNE | ||
) | const |
Definition at line 781 of file AP_NavEKF2.cpp.
Referenced by activeCores(), AP_AHRS_NavEKF::get_relative_position_NE_origin(), AP_AHRS_NavEKF::get_relative_position_NED_origin(), and DataFlash_Class::Log_Write_POS().
int8_t NavEKF2::getPrimaryCoreIMUIndex | ( | void | ) | const |
Definition at line 770 of file AP_NavEKF2.cpp.
Referenced by activeCores(), AP_AHRS_NavEKF::get_primary_IMU_index(), AP_AHRS_NavEKF::getCorrectedDeltaVelocityNED(), and AP_AHRS_NavEKF::update_EKF2().
int8_t NavEKF2::getPrimaryCoreIndex | ( | void | ) | const |
Definition at line 760 of file AP_NavEKF2.cpp.
Referenced by activeCores(), and DataFlash_Class::Log_Write_POS().
void NavEKF2::getQuaternion | ( | int8_t | instance, |
Quaternion & | quat | ||
) | const |
Definition at line 1041 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::get_secondary_quaternion(), DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
bool NavEKF2::getRangeBeaconDebug | ( | int8_t | instance, |
uint8_t & | ID, | ||
float & | rng, | ||
float & | innov, | ||
float & | innovVar, | ||
float & | testRatio, | ||
Vector3f & | beaconPosNED, | ||
float & | offsetHigh, | ||
float & | offsetLow | ||
) | const |
Definition at line 1113 of file AP_NavEKF2.cpp.
Referenced by DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
void NavEKF2::getRotationBodyToNED | ( | Matrix3f & | mat | ) | const |
Definition at line 1033 of file AP_NavEKF2.cpp.
Referenced by setInhibitGpsVertVelUse(), and AP_AHRS_NavEKF::update_EKF2().
void NavEKF2::getTiltError | ( | int8_t | instance, |
float & | ang | ||
) | const |
Definition at line 849 of file AP_NavEKF2.cpp.
Referenced by activeCores(), and DataFlash_Class::Log_Write_POS().
void NavEKF2::getTimingStatistics | ( | int8_t | instance, |
struct ekf_timing & | timing | ||
) | const |
Definition at line 1459 of file AP_NavEKF2.cpp.
Referenced by have_ekf_logging(), and DataFlash_Class::Log_Write_POS().
void NavEKF2::getVariances | ( | int8_t | instance, |
float & | velVar, | ||
float & | posVar, | ||
float & | hgtVar, | ||
Vector3f & | magVar, | ||
float & | tasVar, | ||
Vector2f & | offset | ||
) | const |
Definition at line 1068 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::get_variances(), DataFlash_Class::Log_Write_POS(), and setInhibitGpsVertVelUse().
void NavEKF2::getVelNED | ( | int8_t | instance, |
Vector3f & | vel | ||
) | const |
Definition at line 803 of file AP_NavEKF2.cpp.
Referenced by activeCores(), AP_AHRS_NavEKF::get_velocity_NED(), AP_AHRS_NavEKF::groundspeed_vector(), and DataFlash_Class::Log_Write_POS().
void NavEKF2::getWind | ( | int8_t | instance, |
Vector3f & | wind | ||
) | const |
Definition at line 920 of file AP_NavEKF2.cpp.
Referenced by DataFlash_Class::Log_Write_POS(), setInhibitGpsVertVelUse(), and AP_AHRS_NavEKF::wind_estimate().
|
inline |
Definition at line 321 of file AP_NavEKF2.h.
Referenced by check_log_write(), and AP_AHRS_NavEKF::have_ekf_logging().
bool NavEKF2::healthy | ( | void | ) | const |
Definition at line 750 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::active_EKF_type(), activeCores(), AP_AHRS_NavEKF::healthy(), and UpdateFilter().
bool NavEKF2::InitialiseFilter | ( | void | ) |
Definition at line 596 of file AP_NavEKF2.cpp.
Referenced by activeCores(), AP_AHRS_NavEKF::reset(), AP_AHRS_NavEKF::reset_attitude(), and AP_AHRS_NavEKF::update_EKF2().
const char * NavEKF2::prearm_failure_reason | ( | void | ) | const |
Definition at line 1332 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::prearm_failure_reason(), and setInhibitGpsVertVelUse().
void NavEKF2::resetGyroBias | ( | void | ) |
Definition at line 858 of file AP_NavEKF2.cpp.
Referenced by activeCores(), and AP_AHRS_NavEKF::reset_gyro_drift().
bool NavEKF2::resetHeightDatum | ( | void | ) |
Definition at line 872 of file AP_NavEKF2.cpp.
Referenced by activeCores(), and AP_AHRS_NavEKF::resetHeightDatum().
void NavEKF2::send_status_report | ( | mavlink_channel_t | chan | ) |
Definition at line 1227 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::send_ekf_status_report(), and setInhibitGpsVertVelUse().
|
inline |
Definition at line 315 of file AP_NavEKF2.h.
|
inline |
Definition at line 318 of file AP_NavEKF2.h.
uint8_t NavEKF2::setInhibitGPS | ( | void | ) |
Definition at line 893 of file AP_NavEKF2.cpp.
Referenced by activeCores(), and AP_AHRS_NavEKF::setInhibitGPS().
|
inline |
bool NavEKF2::setOriginLLH | ( | const Location & | loc | ) |
Definition at line 1005 of file AP_NavEKF2.cpp.
Referenced by AP_AHRS_NavEKF::set_origin(), and setInhibitGpsVertVelUse().
void NavEKF2::setTakeoffExpected | ( | bool | val | ) |
Definition at line 1125 of file AP_NavEKF2.cpp.
Referenced by setInhibitGpsVertVelUse(), and AP_AHRS_NavEKF::setTakeoffExpected().
void NavEKF2::setTerrainHgtStable | ( | bool | val | ) |
Definition at line 1148 of file AP_NavEKF2.cpp.
Referenced by setInhibitGpsVertVelUse().
void NavEKF2::setTouchdownExpected | ( | bool | val | ) |
Definition at line 1136 of file AP_NavEKF2.cpp.
Referenced by setInhibitGpsVertVelUse(), and AP_AHRS_NavEKF::setTouchdownExpected().
void NavEKF2::UpdateFilter | ( | void | ) |
Definition at line 682 of file AP_NavEKF2.cpp.
Referenced by activeCores(), and AP_AHRS_NavEKF::update_EKF2().
|
private |
Definition at line 1432 of file AP_NavEKF2.cpp.
Referenced by UpdateFilter().
|
private |
Definition at line 1405 of file AP_NavEKF2.cpp.
Referenced by UpdateFilter().
|
private |
Definition at line 1379 of file AP_NavEKF2.cpp.
Referenced by UpdateFilter().
bool NavEKF2::use_compass | ( | void | ) | const |
Definition at line 1078 of file AP_NavEKF2.cpp.
Referenced by setInhibitGpsVertVelUse(), and AP_AHRS_NavEKF::use_compass().
void NavEKF2::writeExtNavData | ( | const Vector3f & | sensOffset, |
const Vector3f & | pos, | ||
const Quaternion & | quat, | ||
float | posErr, | ||
float | angErr, | ||
uint32_t | timeStamp_ms, | ||
uint32_t | resetTime_ms | ||
) |
Definition at line 1482 of file AP_NavEKF2.cpp.
Referenced by have_ekf_logging(), and AP_AHRS_NavEKF::writeExtNavData().
void NavEKF2::writeOptFlowMeas | ( | uint8_t & | rawFlowQuality, |
Vector2f & | rawFlowRates, | ||
Vector2f & | rawGyroRates, | ||
uint32_t & | msecFlowMeas, | ||
const Vector3f & | posOffset | ||
) |
Definition at line 1093 of file AP_NavEKF2.cpp.
Referenced by setInhibitGpsVertVelUse(), and AP_AHRS_NavEKF::writeOptFlowMeas().
|
friend |
Definition at line 38 of file AP_NavEKF2.h.
Referenced by InitialiseFilter().
|
private |
Definition at line 364 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovariancePrediction().
|
private |
Definition at line 362 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovariancePrediction().
|
private |
Definition at line 343 of file AP_NavEKF2.h.
Referenced by check_log_write(), and NavEKF2_core::setup_core().
|
private |
Definition at line 380 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED(), NavEKF2_core::getHeightControlLimit(), NavEKF2_core::selectHeightForFusion(), and NavEKF2_core::updateFilterStatus().
|
private |
Definition at line 354 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovarianceInit(), NavEKF2_core::selectHeightForFusion(), and set_baro_alt_noise().
|
private |
Definition at line 356 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseAirspeed(), and NavEKF2_core::setWindMagStateLearningMode().
|
private |
Definition at line 350 of file AP_NavEKF2.h.
Referenced by InitialiseFilter(), and set_enable().
|
private |
Definition at line 377 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::writeOptFlowMeas().
|
private |
Definition at line 376 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::EstimateTerrainOffset(), and NavEKF2_core::FuseOptFlow().
|
private |
Definition at line 375 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::SelectFlowFusion().
|
private |
Definition at line 347 of file AP_NavEKF2.h.
Referenced by InitialiseFilter(), and UpdateFilter().
|
private |
Definition at line 346 of file AP_NavEKF2.h.
Referenced by InitialiseFilter(), and UpdateFilter().
|
private |
Definition at line 367 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::calcGpsGoodToAlign(), NavEKF2_core::FuseVelPosNED(), NavEKF2_core::getHeightControlLimit(), NavEKF2_core::readGpsData(), NavEKF2_core::readyToUseGPS(), NavEKF2_core::ResetHeight(), NavEKF2_core::SelectVelPosFusion(), and NavEKF2_core::setAidingMode().
|
private |
Definition at line 383 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::calcGpsGoodToAlign().
|
private |
Definition at line 385 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::calcGpsGoodToAlign().
|
private |
Definition at line 365 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readGpsData().
|
private |
Definition at line 374 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED().
|
private |
Definition at line 353 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovarianceInit(), NavEKF2_core::FuseVelPosNED(), NavEKF2_core::ResetPosition(), and NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 351 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovarianceInit(), NavEKF2_core::FuseVelPosNED(), and NavEKF2_core::ResetVelocity().
|
private |
Definition at line 369 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED().
|
private |
Definition at line 368 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED().
|
private |
Definition at line 352 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovarianceInit(), NavEKF2_core::FuseVelPosNED(), and NavEKF2_core::ResetHeight().
|
private |
Definition at line 361 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovariancePrediction().
|
private |
Definition at line 363 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovariancePrediction().
|
private |
Definition at line 381 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovariancePrediction().
|
private |
Definition at line 366 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readBaroData().
|
private |
Definition at line 370 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED().
|
private |
Definition at line 384 of file AP_NavEKF2.h.
Referenced by InitialiseFilter().
|
private |
Definition at line 387 of file AP_NavEKF2.h.
Referenced by check_log_write(), and have_ekf_logging().
|
private |
Definition at line 360 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovariancePrediction().
|
private |
Definition at line 373 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::effective_magCal().
|
private |
Definition at line 359 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovariancePrediction().
|
private |
Definition at line 371 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseMagnetometer().
|
private |
Definition at line 397 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::effective_magCal().
|
private |
Definition at line 355 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::calcQuatAndFieldStates(), NavEKF2_core::FuseMagnetometer(), and NavEKF2_core::setWindMagStateLearningMode().
|
private |
Definition at line 379 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::EstimateTerrainOffset(), NavEKF2_core::FuseOptFlow(), and NavEKF2_core::getEkfControlLimits().
|
private |
Definition at line 386 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED().
|
private |
Definition at line 398 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::getOriginLLH(), NavEKF2_core::getPosD(), and NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 344 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::getHeightControlLimit(), NavEKF2_core::readRangeFinder(), and NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 395 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readRngBcnData().
|
private |
Definition at line 394 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseRngBcn().
|
private |
Definition at line 393 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readRngBcnData().
|
private |
Definition at line 378 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::EstimateTerrainOffset().
|
private |
Definition at line 382 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::EstimateTerrainOffset(), and NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 372 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseAirspeed().
|
private |
Definition at line 390 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::calcOutputStates().
|
private |
Definition at line 392 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 391 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::selectHeightForFusion(), and NavEKF2_core::send_status_report().
|
private |
Definition at line 396 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 357 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovariancePrediction().
|
private |
Definition at line 358 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::CovariancePrediction().
|
private |
Definition at line 389 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::fuseEulerYaw().
|
private |
Definition at line 388 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::fuseEulerYaw().
|
private |
Definition at line 416 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::SelectBetaFusion().
|
private |
Definition at line 342 of file AP_NavEKF2.h.
Referenced by getAccelNED(), getAccelZBias(), getActiveMag(), getEkfControlLimits(), getEulerAngles(), getFilterFaults(), getFilterGpsStatus(), getFilterStatus(), getFilterTimeouts(), getFlowDebug(), getGyroBias(), getGyroScaleErrorPercentage(), getHAGL(), getHeightControlLimit(), getInnovations(), getLastPosDownReset(), getLastPosNorthEastReset(), getLastVelNorthEastReset(), getLastYawResetAngle(), getLLH(), getMagNED(), getMagOffsets(), getMagXYZ(), getOriginLLH(), getOutputTrackingError(), getPosD(), getPosDownDerivative(), getPosNE(), getPrimaryCoreIMUIndex(), getPrimaryCoreIndex(), getQuaternion(), getRangeBeaconDebug(), getRotationBodyToNED(), getTiltError(), getTimingStatistics(), getVariances(), getVelNED(), getWind(), healthy(), InitialiseFilter(), prearm_failure_reason(), resetGyroBias(), resetHeightDatum(), send_status_report(), setInhibitGPS(), setOriginLLH(), setTakeoffExpected(), setTerrainHgtStable(), setTouchdownExpected(), UpdateFilter(), updateLaneSwitchPosDownResetData(), updateLaneSwitchPosResetData(), updateLaneSwitchYawResetData(), use_compass(), writeExtNavData(), and writeOptFlowMeas().
bool NavEKF2::core_changed |
Definition at line 441 of file AP_NavEKF2.h.
float NavEKF2::core_delta |
Definition at line 443 of file AP_NavEKF2.h.
Vector2f NavEKF2::core_delta |
Definition at line 450 of file AP_NavEKF2.h.
|
private |
Definition at line 418 of file AP_NavEKF2.h.
|
private |
Definition at line 417 of file AP_NavEKF2.h.
|
private |
Definition at line 419 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::SelectFlowFusion().
bool NavEKF2::enabled |
Definition at line 429 of file AP_NavEKF2.h.
|
private |
Definition at line 422 of file AP_NavEKF2.h.
|
private |
Definition at line 421 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::writeOptFlowMeas().
|
private |
Definition at line 420 of file AP_NavEKF2.h.
|
private |
Definition at line 426 of file AP_NavEKF2.h.
|
private |
Definition at line 424 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 423 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::getTakeoffExpected(), and NavEKF2_core::getTouchdownExpected().
|
private |
Definition at line 425 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::EstimateTerrainOffset().
|
private |
Definition at line 402 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED().
|
private |
Definition at line 401 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED().
|
private |
Definition at line 403 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED().
|
private |
Definition at line 414 of file AP_NavEKF2.h.
|
private |
Definition at line 415 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 409 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 410 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::selectHeightForFusion().
|
private |
Definition at line 437 of file AP_NavEKF2.h.
Referenced by check_log_write(), getLastPosDownReset(), getLastPosNorthEastReset(), getLastYawResetAngle(), InitialiseFilter(), NavEKF2_core::InitialiseVariables(), UpdateFilter(), NavEKF2_core::UpdateFilter(), updateLaneSwitchPosDownResetData(), updateLaneSwitchPosResetData(), and updateLaneSwitchYawResetData().
|
private |
Definition at line 462 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseVelPosNED(), NavEKF2_core::readGpsData(), NavEKF2_core::ResetHeight(), and setInhibitGpsVertVelUse().
uint32_t NavEKF2::last_function_call |
Definition at line 440 of file AP_NavEKF2.h.
uint32_t NavEKF2::last_primary_change |
Definition at line 442 of file AP_NavEKF2.h.
bool NavEKF2::log_baro |
Definition at line 432 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readBaroData().
bool NavEKF2::log_compass |
Definition at line 430 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readMagData().
bool NavEKF2::log_gps |
Definition at line 431 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readGpsData().
bool NavEKF2::log_imu |
Definition at line 433 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readDeltaAngle().
struct { ... } NavEKF2::logging |
|
private |
Definition at line 404 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readMagData().
|
private |
Definition at line 412 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::SelectMagFusion().
|
private |
Definition at line 413 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseMagnetometer().
|
private |
Definition at line 340 of file AP_NavEKF2.h.
Referenced by activeCores(), getAccelZBias(), getActiveMag(), getEulerAngles(), getFilterFaults(), getFilterGpsStatus(), getFilterStatus(), getFilterTimeouts(), getFlowDebug(), getGyroBias(), getGyroScaleErrorPercentage(), getInnovations(), getMagNED(), getMagOffsets(), getMagXYZ(), getOriginLLH(), getOutputTrackingError(), getPosD(), getPosDownDerivative(), getPosNE(), getQuaternion(), getRangeBeaconDebug(), getTiltError(), getTimingStatistics(), getVariances(), getVelNED(), getWind(), InitialiseFilter(), resetGyroBias(), resetHeightDatum(), setTakeoffExpected(), setTerrainHgtStable(), setTouchdownExpected(), UpdateFilter(), writeExtNavData(), and writeOptFlowMeas().
struct { ... } NavEKF2::pos_down_reset_data |
Referenced by getLastPosDownReset(), InitialiseFilter(), and updateLaneSwitchPosDownResetData().
struct { ... } NavEKF2::pos_reset_data |
Referenced by getLastPosNorthEastReset(), InitialiseFilter(), and updateLaneSwitchPosResetData().
|
private |
Definition at line 408 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::SelectBetaFusion(), and NavEKF2_core::setAidingMode().
|
private |
Definition at line 407 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::setAidingMode().
|
private |
Definition at line 341 of file AP_NavEKF2.h.
Referenced by getAccelNED(), getAccelZBias(), getActiveMag(), getEkfControlLimits(), getEulerAngles(), getFilterFaults(), getFilterGpsStatus(), getFilterStatus(), getFilterTimeouts(), getFlowDebug(), getGyroBias(), getGyroScaleErrorPercentage(), getHAGL(), getHeightControlLimit(), getInnovations(), getLastPosDownReset(), getLastPosNorthEastReset(), getLastVelNorthEastReset(), getLastYawResetAngle(), getLLH(), getMagNED(), getMagOffsets(), getMagXYZ(), getOriginLLH(), getOutputTrackingError(), getPosD(), getPosDownDerivative(), getPosNE(), getPrimaryCoreIMUIndex(), getPrimaryCoreIndex(), getQuaternion(), getRangeBeaconDebug(), getRotationBodyToNED(), getTiltError(), getTimingStatistics(), getVariances(), getVelNED(), getWind(), healthy(), InitialiseFilter(), prearm_failure_reason(), send_status_report(), setInhibitGPS(), setOriginLLH(), UpdateFilter(), and use_compass().
|
private |
Definition at line 460 of file AP_NavEKF2.h.
Referenced by UpdateFilter().
|
private |
Definition at line 405 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::readAirSpdData().
|
private |
Definition at line 411 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::FuseAirspeed(), and NavEKF2_core::SelectTasFusion().
|
private |
Definition at line 406 of file AP_NavEKF2.h.
Referenced by NavEKF2_core::setAidingMode().
|
static |
Definition at line 47 of file AP_NavEKF2.h.
Referenced by NavEKF2().
struct { ... } NavEKF2::yaw_reset_data |
Referenced by getLastYawResetAngle(), InitialiseFilter(), and updateLaneSwitchYawResetData().