LCOV - code coverage report
Current view: top level - SITL - SIM_Aircraft.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 588 670 87.8 %
Date: 2026-09-09 11:02:08 Functions: 40 43 93.0 %

Function Name Sort by function name Hit count Sort by hit count
SITL::Aircraft::update_battery(sitl_input const&) 0
SITL::Aircraft::extrapolate_sensors(float) 0
SITL::Aircraft::get_air_density(float) const 0
SITL::SIM::set_pose(unsigned char, Location const&, QuaternionT<float> const&, Vector3<float> const&, Vector3<float> const&) 80
SITL::Aircraft::set_pose(unsigned char, Location const&, QuaternionT<float> const&, Vector3<float> const&, Vector3<float> const&) 80
SITL::Aircraft::set_start_location(Location const&, float) 2094
SITL::Aircraft::Aircraft(char const*) 2095
SITL::Aircraft::ambient_outside_pressure_Pascal() const 3208
SITL::Aircraft::set_speedup(float) 6399
SITL::Aircraft::setup_frame_time(float, float) 6399
SITL::Aircraft::baro_temperature_degC() const 283388
SITL::Aircraft::ambient_outside_temperature_degC() const 283388
SITL::Aircraft::filtered_servo_setup(unsigned char, unsigned short, unsigned short, float) 7073484
SITL::Aircraft::update_battery() 10283911
SITL::Aircraft::add_noise(float) 64098694
SITL::Aircraft::add_twist_forces(Vector3<float>&) 81459271
SITL::Aircraft::add_external_forces(Vector3<float>&) 81459271
SITL::Aircraft::Clamp::clamped(SITL::Aircraft&, sitl_input const&) 81459271
SITL::Aircraft::add_shove_forces(Vector3<float>&, Vector3<float>&) 88212468
SITL::Aircraft::filtered_servo_range(sitl_input const&, unsigned char) 135454372
SITL::Aircraft::smooth_sensors() 159454654
SITL::Aircraft::update_wind(sitl_input const&) 166729106
SITL::Aircraft::get_local_updraft(Vector3<double> const&) 166729106
SITL::Aircraft::update_dynamics(Vector3<float> const&) 169080479
SITL::Aircraft::update_eas_airspeed() 169080479
SITL::Aircraft::adjust_frame_time(float) 169142737
SITL::Aircraft::update_external_payload(sitl_input const&) 178759942
SITL::Aircraft::update_home() 187275482
SITL::Aircraft::time_advance() 187275482
SITL::Aircraft::update_model(sitl_input const&) 187275482
SITL::Aircraft::sync_frame_time() 187275482
SITL::Aircraft::update_position() 187275482
SITL::Aircraft::update_mag_field_bf() 187275482
SITL::Aircraft::fill_fdm(SITL::sitl_fdm&) 187275482
SITL::Aircraft::filtered_servo_angle(sitl_input const&, unsigned char) 209084155
SITL::Aircraft::get_wall_time_us() const 374769439
SITL::Aircraft::rand_normal(double, double) 384686853
SITL::Aircraft::get_position_relhome() const 398928352
SITL::Aircraft::on_ground() const 547822322
SITL::Aircraft::hagl() const 550973446
SITL::Aircraft::ground_height_difference() const 612398459
SITL::Aircraft::perpendicular_distance_to_rangefinder_surface() const 1685241307
SITL::Aircraft::rangefinder_range() const 1750708325

Generated by: LCOV version 1.14