Laelaps  2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
laeVL6180.cxx File Reference

Laelaps Time-of-Flight sensors. The ToFs are used as a virtual bumper for close-in obstacle detection. More...

#include <inttypes.h>
#include <unistd.h>
#include <math.h>
#include <string>
#include <vector>
#include <map>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/i2c.h"
#include "Laelaps/laelaps.h"
#include "Laelaps/laeDesc.h"
#include "Laelaps/laeTune.h"
#include "Laelaps/laeUtils.h"
#include "Laelaps/laeDb.h"
#include "Laelaps/laeI2CMux.h"
#include "Laelaps/laeToFMux.h"
#include "Laelaps/laeVL6180.h"

Go to the source code of this file.

Variables

static double AlsGainAnalogTbl [GAIN_NumOf]
 Ambient Light Sensor gain table. More...
 

Detailed Description

Laelaps Time-of-Flight sensors. The ToFs are used as a virtual bumper for close-in obstacle detection.

The hardware changed between Laelaps v2.0 and subsequence v2.1+ versions. See laeVL6180.h for details.

This code is based on the Arduino library freely available from Sparkfun. See original comment block below.

See also
https://github.com/sparkfun/ToF_Range_Finder_Sensor-VL6180/tree/master/Libraries/Arduino
https://www.sparkfun.com/products/12785
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)
Copyright
© 2015-2017. RoadNarrows LLC.
http://www.roadnarrows.com
All Rights Reserved

Definition in file laeVL6180.cxx.

Variable Documentation

double AlsGainAnalogTbl[GAIN_NumOf]
static
Initial value:
=
{
20.0,
10.32,
5.21,
2.60,
1.72,
1.28,
1.01,
40.0
}

Ambient Light Sensor gain table.

Definition at line 95 of file laeVL6180.cxx.

Referenced by sensor::vl6180::LaeVL6180Mux::gainAnalogToEnum(), and sensor::vl6180::LaeVL6180Mux::gainEnumToAnalog().