50 const uint8_t device_orientation = distance_sensor_s::ROTATION_DOWNWARD_FACING);
67 void set_orientation(
const uint8_t device_orientation = distance_sensor_s::ROTATION_DOWNWARD_FACING);
69 void update(
const hrt_abstime timestamp,
const float distance,
const int8_t quality = -1);
void set_max_distance(const float distance)
~PX4Rangefinder() override
void set_hfov(const float fov)
void set_fov(const float fov)
API for the uORB lightweight object broker.
void set_vfov(const float fov)
static int32_t device_id[max_accel_sens]
High-resolution timer with callouts and timekeeping.
void set_device_type(uint8_t device_type)
uORB::PublicationMultiData< distance_sensor_s > _distance_sensor_pub
void update(const hrt_abstime timestamp, const float distance, const int8_t quality=-1)
Abstract class for any character device.
void set_min_distance(const float distance)
PX4Rangefinder(const uint32_t device_id, const uint8_t priority=ORB_PRIO_DEFAULT, const uint8_t device_orientation=distance_sensor_s::ROTATION_DOWNWARD_FACING)
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
void set_device_id(const uint8_t device_id)
int _class_device_instance
void set_orientation(const uint8_t device_orientation=distance_sensor_s::ROTATION_DOWNWARD_FACING)