2019-11-01 04:03:17 -03:00
|
|
|
#pragma once
|
|
|
|
|
2023-07-06 01:25:14 -03:00
|
|
|
#include "AP_RangeFinder_config.h"
|
2022-03-12 06:37:29 -04:00
|
|
|
|
|
|
|
#if AP_RANGEFINDER_BENEWAKE_TF03_ENABLED
|
|
|
|
|
2023-07-06 01:25:14 -03:00
|
|
|
#include "AP_RangeFinder_Benewake.h"
|
|
|
|
|
2019-11-01 04:03:17 -03:00
|
|
|
class AP_RangeFinder_Benewake_TF03 : public AP_RangeFinder_Benewake
|
|
|
|
{
|
|
|
|
public:
|
2022-06-22 08:03:22 -03:00
|
|
|
|
|
|
|
static AP_RangeFinder_Backend_Serial *create(
|
|
|
|
RangeFinder::RangeFinder_State &_state,
|
|
|
|
AP_RangeFinder_Params &_params) {
|
|
|
|
return new AP_RangeFinder_Benewake_TF03(_state, _params);
|
|
|
|
}
|
2019-11-01 04:03:17 -03:00
|
|
|
|
|
|
|
protected:
|
|
|
|
float model_dist_max_cm() const override { return 18000; }
|
2022-06-22 08:03:22 -03:00
|
|
|
|
|
|
|
private:
|
|
|
|
using AP_RangeFinder_Benewake::AP_RangeFinder_Benewake;
|
2019-11-01 04:03:17 -03:00
|
|
|
};
|
2022-03-12 06:37:29 -04:00
|
|
|
|
|
|
|
#endif // AP_RANGEFINDER_BENEWAKE_TF03_ENABLED
|