38 bool had_data =
false;
41 if (sensor ==
nullptr) {
47 hal.
console->
printf(
"All: device_%u type %d status %d distance_cm %d\n",
AP_RangeFinder_Backend * get_backend(uint8_t id) const
RangeFinder::RangeFinder_Type type() const
uint16_t distance_cm() const
AP_HAL::UARTDriver * console
static const struct AP_Param::GroupInfo var_info[]
uint8_t num_sensors(void) const
virtual void delay(uint16_t ms)=0
static AP_SerialManager serial_manager
virtual void printf(const char *,...) FMT_PRINTF(2
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
RangeFinder::RangeFinder_Status status() const
static bool set_object_value(const void *object_pointer, const struct GroupInfo *group_info, const char *name, float value)
AP_HAL::Scheduler * scheduler