APM:Libraries
Classes | Macros | Variables
AP_RangeFinder_PulsedLightLRF.cpp File Reference
#include "AP_RangeFinder_PulsedLightLRF.h"
#include <utility>
#include <stdio.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/utility/sparse-endian.h>
Include dependency graph for AP_RangeFinder_PulsedLightLRF.cpp:

Go to the source code of this file.

Classes

struct  settings_table
 

Macros

#define LL40LS_MEASURE_REG   0x00 /* Measure range register */
 
#define LL40LS_DISTHIGH_REG   0x0F /* High byte of distance register, auto increment */
 
#define LL40LS_COUNT   0x11
 
#define LL40LS_HW_VERSION   0x41
 
#define LL40LS_INTERVAL   0x45
 
#define LL40LS_SW_VERSION   0x4f
 
#define LL40LS_MSRREG_RESET   0x00 /* reset to power on defaults */
 
#define LL40LS_AUTO_INCREMENT   0x80
 
#define LL40LS_COUNT_CONTINUOUS   0xff
 
#define LL40LS_MSRREG_ACQUIRE   0x04 /* Value to initiate a measurement, varies based on sensor revision */
 
#define LL40LS_ADDR   0x62
 

Variables

const AP_HAL::HALhal
 -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- More...
 
static const struct settings_table settings_v1 []
 
static const struct settings_table settings_v2 []
 

Macro Definition Documentation

◆ LL40LS_ADDR

#define LL40LS_ADDR   0x62

Definition at line 40 of file AP_RangeFinder_PulsedLightLRF.cpp.

◆ LL40LS_AUTO_INCREMENT

#define LL40LS_AUTO_INCREMENT   0x80

◆ LL40LS_COUNT

#define LL40LS_COUNT   0x11

Definition at line 28 of file AP_RangeFinder_PulsedLightLRF.cpp.

◆ LL40LS_COUNT_CONTINUOUS

#define LL40LS_COUNT_CONTINUOUS   0xff

Definition at line 36 of file AP_RangeFinder_PulsedLightLRF.cpp.

◆ LL40LS_DISTHIGH_REG

#define LL40LS_DISTHIGH_REG   0x0F /* High byte of distance register, auto increment */

◆ LL40LS_HW_VERSION

#define LL40LS_HW_VERSION   0x41

◆ LL40LS_INTERVAL

#define LL40LS_INTERVAL   0x45

Definition at line 30 of file AP_RangeFinder_PulsedLightLRF.cpp.

◆ LL40LS_MEASURE_REG

#define LL40LS_MEASURE_REG   0x00 /* Measure range register */

◆ LL40LS_MSRREG_ACQUIRE

#define LL40LS_MSRREG_ACQUIRE   0x04 /* Value to initiate a measurement, varies based on sensor revision */

◆ LL40LS_MSRREG_RESET

#define LL40LS_MSRREG_RESET   0x00 /* reset to power on defaults */

Definition at line 34 of file AP_RangeFinder_PulsedLightLRF.cpp.

◆ LL40LS_SW_VERSION

#define LL40LS_SW_VERSION   0x4f

Variable Documentation

◆ hal

const AP_HAL::HAL& hal

-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

Definition at line 14 of file AC_PID_test.cpp.

◆ settings_v1

const struct settings_table settings_v1[]
static
Initial value:

Definition at line 130 of file AP_RangeFinder_PulsedLightLRF.cpp.

Referenced by AP_RangeFinder_PulsedLightLRF::init().

◆ settings_v2

const struct settings_table settings_v2[]
static