Firmware
Public Member Functions | Protected Member Functions | List of all members
LidarLite Class Referenceabstract
Inheritance diagram for LidarLite:
LidarLiteI2C LidarLitePWM

Public Member Functions

virtual int init ()=0
 
virtual int ioctl (device::file_t *filp, int cmd, unsigned long arg)
 
virtual void start ()=0
 
virtual void stop ()=0
 
virtual void print_info ()=0
 Diagnostics - print some basic information about the driver.
 
virtual void print_registers ()=0
 print registers to console
 
virtual const char * get_dev_name ()=0
 

Protected Member Functions

void set_minimum_distance (const float min)
 Set the min and max distance thresholds if you want the end points of the sensors range to be brought in at all, otherwise it will use the defaults LL40LS_MIN_DISTANCE and LL40LS_MAX_DISTANCE_V3.
 
void set_maximum_distance (const float max)
 
float get_minimum_distance () const
 
float get_maximum_distance () const
 
uint32_t getMeasureTicks () const
 
virtual int measure ()=0
 
virtual int collect ()=0
 
virtual int reset_sensor ()=0
 

The documentation for this class was generated from the following files: