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

          Line data    Source code
       1             : #pragma once
       2             : #include "AP_RangeFinder_config.h"
       3             : 
       4             : #if AP_RANGEFINDER_TOFSENSEP_CAN_ENABLED
       5             : 
       6             : #include "AP_RangeFinder_Backend_CAN.h"
       7             : 
       8             : class AP_RangeFinder_TOFSenseP_CAN : public AP_RangeFinder_Backend_CAN {
       9             : public:
      10           0 :     AP_RangeFinder_TOFSenseP_CAN(RangeFinder::RangeFinder_State &_state, AP_RangeFinder_Params &_params) :
      11           0 :         AP_RangeFinder_Backend_CAN(_state, _params, AP_CAN::Protocol::TOFSenseP, "tofsensep")
      12             :     {
      13           0 :     }
      14             : 
      15             :     // handler for incoming frames
      16             :     bool handle_frame(AP_HAL::CANFrame &frame) override;
      17             : 
      18             :     static const struct AP_Param::GroupInfo var_info[];
      19             :     
      20             : protected:
      21             : 
      22           0 :     MAV_DISTANCE_SENSOR _get_mav_distance_sensor_type() const override {
      23           0 :         return MAV_DISTANCE_SENSOR_LASER;
      24             :     }
      25             : };
      26             : 
      27             : #endif  // AP_RANGEFINDER_TOFSENSEP_CAN_ENABLED

Generated by: LCOV version 1.14