LCOV - code coverage report
Current view: top level - home/pbarker/rc/ardupilot/ArduCopter - mode_guided_nogps.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 6 6 100.0 %
Date: 2026-09-09 11:02:08 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #include "Copter.h"
       2             : 
       3             : #if MODE_GUIDED_NOGPS_ENABLED
       4             : 
       5             : /*
       6             :  * Init and run calls for guided_nogps flight mode
       7             :  */
       8             : 
       9             : // initialise guided_nogps controller
      10           2 : bool ModeGuidedNoGPS::init(bool ignore_checks)
      11             : {
      12             :     // start in angle control mode
      13           2 :     ModeGuided::angle_control_start();
      14           2 :     return true;
      15             : }
      16             : 
      17             : // guided_run - runs the guided controller
      18             : // should be called at 100hz or more
      19        1440 : void ModeGuidedNoGPS::run()
      20             : {
      21             :     // run angle controller
      22        1440 :     ModeGuided::angle_control_run();
      23        1440 : }
      24             : 
      25             : #endif

Generated by: LCOV version 1.14