LCOV - code coverage report
Current view: top level - AP_AHRS - AP_AHRS.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 799 885 90.3 %
Date: 2026-09-09 11:02:08 Functions: 88 92 95.7 %

Function Name Sort by function name Hit count Sort by hit count
AP_AHRS::writeDefaultAirSpeed(float, float) 0
AP_AHRS::body_to_earth(Vector3<float> const&) const 0
AP_AHRS::get_posvelyaw_source_set() const 0
AP_AHRS::get_location_from_home_offset_NED(Location&, Vector3<double> const&) const 0
AP_AHRS::reset_configured_backend() 1
AP_AHRS::handle_external_position_estimate(Location const&, float, unsigned int) 2
AP_AHRS::set_origin(Location const&) 7
AP_AHRS::reset_gyro_drift() 7
AP_AHRS::get_pos_vel_uncertainty(float&, float&, float&) const 13
AP_AHRS::set_posvelyaw_source_set(AP_NavEKF_Source::SourceSetSelection) 16
AP_AHRS::get_vel_innovations_and_variances_for_source(unsigned char, Vector3<float>&, Vector3<float>&) const 39
AP_AHRS::airspeed_TAS(float&) const 43
AP_AHRS::set_alt_measurement_noise(float) 82
AP_AHRS::get_yaw_estimator() const 479
AP_AHRS::using_noncompass_for_yaw() const 563
AP_AHRS::record_origin() 964
AP_AHRS::using_extnav_for_yaw() const 1186
AP_AHRS::set_failure_inconsistent_message(char const*, char const*, float, char*, unsigned char) const 1359
AP_AHRS::load_watchdog_home() 2086
AP_AHRS::init() 2088
AP_AHRS::AP_AHRS(unsigned char) 2100
AP_AHRS::reset() 2115
AP_AHRS::resetHeightDatum() 3121
AP_AHRS::writeBodyFrameOdom(float, Vector3<float> const&, Vector3<float> const&, float, unsigned int, unsigned short, Vector3<float> const&) 3633
AP_AHRS::writeExtNavVelData(Vector3<float> const&, float, unsigned int, unsigned short) 4278
AP_AHRS::get_location_from_origin_offset_NED(Location&, Vector3<double> const&) const 4436
AP_AHRS::set_home(Location const&) 6762
AP_AHRS::writeExtNavData(Vector3<float> const&, QuaternionT<float> const&, float, float, unsigned int, unsigned short, unsigned int) 10069
AP_AHRS::writeOptFlowMeas(unsigned char, Vector2<float> const&, Vector2<float> const&, unsigned int, Vector3<float> const&, float) 10128
AP_AHRS::getOptFlowSample(unsigned int&, Vector2<float>&, Vector2<float>&, Vector2<float>&) const 11051
AP_AHRS::get_relative_position_NED_home(Vector3<float>&) const 27237
AP_AHRS::get_quaternion(QuaternionT<float>&) const 30861
AP_AHRS::wind_alignment(float) const 35442
AP_AHRS::head_wind() const 35442
AP_AHRS::earth_to_body(Vector3<float> const&) const 48531
AP_AHRS::attitudes_consistent(char*, unsigned char) const 109536
AP_AHRS::get_quat_body_to_ned(QuaternionT<float>&) const 109536
AP_AHRS::pre_arm_check(bool, char*, unsigned char) const 109571
AP_AHRS::use_compass() 133406
AP_AHRS::airspeed_health_data(unsigned char, float&, float&, unsigned int&) const 178439
AP_AHRS::get_relative_position_NE_home(Vector2<float>&) const 267973
AP_AHRS::airspeed_vector_TAS(Vector3<float>&) const 770123
AP_AHRS::send_ekf_status_report(GCS_MAVLINK&) const 1117755
AP_AHRS::get_error_rp() const 1117757
AP_AHRS::get_error_yaw() const 1117757
AP_AHRS::writeTerrainAMSL(float) 1127469
AP_AHRS::healthy() const 1167760
AP_AHRS::get_relative_position_NED_origin_float(Vector3<float>&) const 1186861
AP_AHRS::airspeed_EAS(float&, AP_AHRS::AirspeedEstimateType&) const 1310707
AP_AHRS::get_wind(Vector3<float>&) const 1943939
AP_AHRS::Log_Write() 2461314
AP_AHRS::get_vert_pos_rate_D(float&) const 2879287
AP_AHRS::set_terrain_hgt_stable(bool) 3800955
AP_AHRS::using_airspeed_sensor() const 3837229
AP_AHRS::use_recorded_origin_maybe() 5099682
AP_AHRS::get_relative_position_D_home(float&) const 8543040
AP_AHRS::have_inertial_nav() const 9908048
AP_AHRS::get_relative_position_NE_origin_float(Vector2<float>&) const 11398220
AP_AHRS::has_status(NavFilterStatusBit) const 13856072
AP_AHRS::get_velocity_D(float&, bool) const 22972943
AP_AHRS::update_state() 41686716
AP_AHRS::update_reset_counters() 41686716
AP_AHRS::update_trim_rotation_matrices() 41686716
AP_AHRS::update_notify_from_filter_status(nav_filter_status const&) 41686716
AP_AHRS::update(bool) 41686716
AP_AHRS::_airspeed_EAS(float&, AP_AHRS::AirspeedEstimateType&) const 41686716
AP_AHRS::_airspeed_TAS(Vector3<float>&) const 41686716
AP_AHRS::_airspeed_TAS(float&) const 41686716
AP_AHRS::_get_location(Location&) const 41686716
AP_AHRS::_should_use_airspeed_sensor(unsigned char) const 41686716
AP_AHRS::_getCorrectedDeltaVelocityNED(Vector3<float>&, float&) const 41686716
AP_AHRS::update_active_EKF_type() 41690904
AP_AHRS::update_configured_ekf_type() 41690904
AP_AHRS::update_secondary_backend_pointers() 41690904
AP_AHRS::_active_EKF_type() const 41690904
AP_AHRS::_configured_ekf_type() const 41690904
AP_AHRS::_get_secondary_EKF_type(AP_AHRS::EKFType&) const 41690904
AP_AHRS::_get_origin(Location&) const 49882578
AP_AHRS::_get_origin(AP_AHRS::EKFType, Location&) const 50121474
AP_AHRS::get_relative_position_D_origin_float(float&) const 55259479
AP_AHRS::get_air_density_ratio() const 67541113
AP_AHRS::airspeed_EAS(float&) const 74353099
AP_AHRS::fallback_active_EKF_type() const 82720877
AP_AHRS::get_active_airspeed_index() const 83375025
AP_AHRS::get_velocity_NED(Vector3<float>&) const 86101927
AP_AHRS::get_location(Location&) const 89554763
AP_AHRS::get_EAS2TAS() const 99679131
AP_AHRS::estimates_for_type(AP_AHRS::EKFType) 124943093
AP_AHRS::backend_for_type(AP_AHRS::EKFType) 133503282
AP_AHRS::try_set_common_origin(AP_AHRS_Backend const&, AP_AHRS_Backend::Estimates const&) 208433580
AP_AHRS::get_origin(Location&) const 376767905
AP::ahrs() 2903180248

Generated by: LCOV version 1.14