You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
756 B

#pragma once
#include "AP_RangeFinder_Benewake.h"
#ifndef AP_RANGEFINDER_BENEWAKE_TF03_ENABLED
#define AP_RANGEFINDER_BENEWAKE_TF03_ENABLED (AP_RANGEFINDER_BENEWAKE_ENABLED && AP_RANGEFINDER_BACKEND_DEFAULT_ENABLED)
#endif
#if AP_RANGEFINDER_BENEWAKE_TF03_ENABLED
class AP_RangeFinder_Benewake_TF03 : public AP_RangeFinder_Benewake
{
public:
static AP_RangeFinder_Backend_Serial *create(
RangeFinder::RangeFinder_State &_state,
AP_RangeFinder_Params &_params) {
return new AP_RangeFinder_Benewake_TF03(_state, _params);
}
protected:
float model_dist_max_cm() const override { return 18000; }
private:
using AP_RangeFinder_Benewake::AP_RangeFinder_Benewake;
};
#endif // AP_RANGEFINDER_BENEWAKE_TF03_ENABLED