PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "LidarLite.h"
#include <drivers/device/i2c.h>
#include <drivers/drv_hrt.h>
#include <mathlib/mathlib.h>
#include <px4_platform_common/defines.h>
#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>
Go to the source code of this file.
Classes | |
class | LidarLiteI2C |
Variables | |
static constexpr uint8_t | LL40LS_BASEADDR = 0x62 |
static constexpr uint8_t | LL40LS_BASEADDR_OLD = 0x42 |
static constexpr uint8_t | LL40LS_SIG_COUNT_VAL_DEFAULT = 0x80 |
static constexpr uint8_t | LL40LS_MEASURE_REG = 0x00 |
static constexpr uint8_t | LL40LS_MSRREG_RESET = 0x00 |
static constexpr uint8_t | LL40LS_MSRREG_ACQUIRE = 0x04 |
static constexpr uint8_t | LL40LS_DISTHIGH_REG = 0x0F |
static constexpr uint8_t | LL40LS_AUTO_INCREMENT = 0x80 |
static constexpr uint8_t | LL40LS_HW_VERSION = 0x41 |
static constexpr uint8_t | LL40LS_SW_VERSION = 0x4f |
static constexpr uint8_t | LL40LS_SIGNAL_STRENGTH_REG = 0x0e |
static constexpr uint8_t | LL40LS_PEAK_STRENGTH_REG = 0x0c |
static constexpr uint8_t | LL40LS_UNIT_ID_HIGH = 0x16 |
static constexpr uint8_t | LL40LS_UNIT_ID_LOW = 0x17 |
static constexpr uint8_t | LL40LS_SIG_COUNT_VAL_REG = 0x02 |
static constexpr uint8_t | LL40LS_SIG_COUNT_VAL_MAX = 0xFF |
static constexpr int | LL40LS_SIGNAL_STRENGTH_MIN_V3HP = 70 |
static constexpr int | LL40LS_SIGNAL_STRENGTH_MAX_V3HP = 255 |
static constexpr int | LL40LS_SIGNAL_STRENGTH_LOW = 24 |
static constexpr int | LL40LS_PEAK_STRENGTH_LOW = 135 |
static constexpr int | LL40LS_PEAK_STRENGTH_HIGH = 234 |
Driver for the PulsedLight Lidar-Lite range finders connected via I2C.
Definition in file LidarLiteI2C.h.
|
static |
Definition at line 62 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::collect().
|
static |
Definition at line 53 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::probe().
|
static |
Definition at line 54 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::probe().
|
static |
Definition at line 61 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::collect().
|
static |
Definition at line 63 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::probe().
|
static |
Definition at line 58 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::measure(), and LidarLiteI2C::reset_sensor().
|
static |
Definition at line 60 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::measure().
|
static |
Definition at line 59 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::reset_sensor().
|
static |
Definition at line 78 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::collect().
|
static |
Definition at line 77 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::collect().
|
static |
Definition at line 66 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::collect().
|
static |
Definition at line 55 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::reset_sensor().
|
static |
Definition at line 71 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::reset_sensor().
|
static |
Definition at line 70 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::reset_sensor().
|
static |
Definition at line 76 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::collect().
|
static |
Definition at line 74 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::collect().
|
static |
Definition at line 73 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::collect().
|
static |
Definition at line 65 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::collect().
|
static |
Definition at line 64 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::probe().
|
static |
Definition at line 67 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::probe().
|
static |
Definition at line 68 of file LidarLiteI2C.h.
Referenced by LidarLiteI2C::probe().