LCOV - code coverage report
Current view: top level - AP_Compass - AP_Compass.h (source / functions) Hit Total Coverage
Test: lcov.info Lines: 45 56 80.4 %
Date: 2026-09-09 11:02:08 Functions: 30 33 90.9 %

Function Name Sort by function name Hit count Sort by hit count
Compass::set_log_bit(unsigned int) 2094
Compass::set_voltage(float) 759512
Compass::set_throttle(float) 814014
Compass::_get_priority(typesafe_index<unsigned char, TAG_StateIndex>) 46650409
Compass::get_singleton() 189603252
Compass::set_learn_type(Compass::LearnType, bool) 1
Compass::set_board_orientation(Rotation) 54325
Compass::per_motor_calibration_end() 0
Compass::per_motor_calibration_start() 0
Compass::per_motor_calibration_update() 0
Compass::_get_state(typesafe_index<unsigned char, TAG_Priority>) const 783526280
Compass::option_set(Compass::Option) const 2150
Compass::get_offsets(unsigned char) const 128224121
Compass::get_offsets() const 133156
Compass::get_diagonals(unsigned char) const 9
Compass::get_learn_type() const 1596
Compass::get_offsets_max() const 133213
Compass::get_filter_range() const 46650409
Compass::get_first_usable() const 41156288
Compass::get_offdiagonals(unsigned char) const 9
Compass::last_update_usec(unsigned char) const 171694790
Compass::last_update_usec() const 44009756
Compass::calculate_heading(Matrix3<float> const&) const 2082
Compass::get_motor_offsets(unsigned char) const 4247415
Compass::get_board_orientation() const 46666723
Compass::learn_offsets_enabled() const 41199290
Compass::auto_declination_enabled() const 41156285
Compass::compass_cal_requires_reboot() const 139081
Compass::healthy() const 4282113
Compass::available() const 638204228
Compass::get_count() const 254660622
Compass::get_field(unsigned char) const 295898359
Compass::get_field() const 42966058

Generated by: LCOV version 1.14