49 ScheduledWorkItem(MODULE_NAME,
px4::wq_configurations::hp_default)
92 PX4_DEBUG(
"collection error");
101 if (current_distance <= 0.0f) {
PX4Rangefinder _px4_rangefinder
LidarLitePWM(const uint8_t rotation=distance_sensor_s::ROTATION_DOWNWARD_FACING)
static void read(bootloader_app_shared_t *pshared)
void update(const hrt_abstime timestamp, const float distance, const int8_t quality=-1)
void perf_count(perf_counter_t handle)
Count a performance event.
virtual int reset_sensor()
uint32_t get_measure_interval() const
Vector< float, 6 > f(float t, const Matrix< float, 6, 1 > &, const Matrix< float, 3, 1 > &)
perf_counter_t _sensor_zero_resets
void perf_end(perf_counter_t handle)
End a performance event.
perf_counter_t _sample_perf
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
perf_counter_t _comms_errors
void perf_begin(perf_counter_t handle)
Begin a performance event.
__EXPORT hrt_abstime hrt_absolute_time(void)
Get absolute time in [us] (does not wrap).