LCOV - code coverage report
Current view: top level - AC_InputManager - AC_InputManager.h (source / functions) Hit Total Coverage
Test: lcov.info Lines: 4 4 100.0 %
Date: 2026-09-09 11:02:08 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : /// @file   AC_InputManager.h
       4             : /// @brief  Pilot manual control input library
       5             : 
       6             : #include <AP_Common/AP_Common.h>
       7             : #include <AP_Param/AP_Param.h>
       8             : #include <AP_Math/AP_Math.h>
       9             : 
      10             : /// @class  AC_InputManager
      11             : /// @brief  Class managing the pilot's control inputs
      12             : class AC_InputManager{
      13             : public:
      14          83 :     AC_InputManager() {
      15             :         // setup parameter defaults
      16          83 :         AP_Param::setup_object_defaults(this, var_info);
      17          83 :     }
      18             : 
      19             :     /* Do not allow copies */
      20             :     CLASS_NO_COPY(AC_InputManager);
      21             : 
      22             :     static const struct AP_Param::GroupInfo        var_info[];
      23          83 :     void set_loop_rate(uint16_t loop_rate) { _loop_rate = loop_rate; }
      24             : 
      25             : protected:
      26             :     // internal variables
      27             :     uint16_t            _loop_rate;             // rate at which output() function is called (normally 400hz)
      28             : 
      29             : };

Generated by: LCOV version 1.14