LCOV - code coverage report
Current view: top level - AP_CustomRotations - AP_CustomRotations_params.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 3 3 100.0 %
Date: 2026-09-09 11:02:08 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #include "AP_CustomRotations_config.h"
       2             : 
       3             : #if AP_CUSTOMROTATIONS_ENABLED
       4             : 
       5             : #include "AP_CustomRotations.h"
       6             : 
       7             : const AP_Param::GroupInfo AP_CustomRotation_params::var_info[] = {
       8             : 
       9             :     // @Param: ROLL
      10             :     // @DisplayName: Custom roll
      11             :     // @Description: Custom euler roll, euler 321 (yaw, pitch, roll) ordering
      12             :     // @Units: deg
      13             :     // @RebootRequired: True
      14             :     AP_GROUPINFO("ROLL",  1, AP_CustomRotation_params, roll, 0),
      15             : 
      16             :     // @Param: PITCH
      17             :     // @DisplayName: Custom pitch
      18             :     // @Description: Custom euler pitch, euler 321 (yaw, pitch, roll) ordering
      19             :     // @Units: deg
      20             :     // @RebootRequired: True
      21             :     AP_GROUPINFO("PITCH",  2, AP_CustomRotation_params, pitch, 0),
      22             : 
      23             :     // @Param: YAW
      24             :     // @DisplayName: Custom yaw
      25             :     // @Description: Custom euler yaw, euler 321 (yaw, pitch, roll) ordering
      26             :     // @Units: deg
      27             :     // @RebootRequired: True
      28             :     AP_GROUPINFO("YAW",  3, AP_CustomRotation_params, yaw, 0),
      29             : 
      30             :     AP_GROUPEND
      31             : };
      32             : 
      33        4200 : AP_CustomRotation_params::AP_CustomRotation_params() {
      34        4200 :     AP_Param::setup_object_defaults(this, var_info);
      35        4200 : }
      36             : 
      37             : #endif  // AP_CUSTOMROTATIONS_ENABLED

Generated by: LCOV version 1.14