32 return MAV_DISTANCE_SENSOR_LASER;
44 bool lidar_transfer(
const uint8_t *send,
unsigned send_len, uint8_t *recv,
unsigned recv_len);
uint8_t check_reg_counter
virtual MAV_DISTANCE_SENSOR _get_mav_distance_sensor_type() const override
static AP_RangeFinder_Backend * detect(uint8_t bus, RangeFinder::RangeFinder_State &_state, RangeFinder::RangeFinder_Type rftype)
bool lidar_transfer(const uint8_t *send, unsigned send_len, uint8_t *recv, unsigned recv_len)
RangeFinder::RangeFinder_Type rftype
void update(void) override
AP_HAL::OwnPtr< AP_HAL::I2CDevice > _dev
AP_RangeFinder_PulsedLightLRF(uint8_t bus, RangeFinder::RangeFinder_State &_state, RangeFinder::RangeFinder_Type rftype)
enum AP_RangeFinder_PulsedLightLRF::@176 phase
uint16_t last_distance_cm