48 typedef rp::standalone::rplidar::RPlidarDriver rplidardrv;
51 std::string deviceinfo();
73 bool close()
override;
define control board standard interfaces
contains the definition of a Vector type
rpLidar2: The device driver for the RP2 lidar
RpLidar2(double period=0)
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
yarp::dev::ReturnValue setDistanceRange(double min, double max) override
set the device detection range.
bool close() override
Close the DeviceDriver.
bool threadInit() override
Initialization method.
bool acquireDataFromHW() override final
This method should be implemented by the user, and contain the logic to grab data from the hardware.
void threadRelease() override
Release method.
void run() override
Loop function.
yarp::dev::ReturnValue setScanLimits(double min, double max) override
set the scan angular range.
yarp::dev::ReturnValue setHorizontalResolution(double step) override
get the angular step between two measurements (if available)
yarp::dev::ReturnValue setScanRate(double rate) override
set the scan rate (scans per seconds)
Interface implemented by all device drivers.
The Lidar2DDeviceBase class.
A mini-server for performing network communication in the background.
An abstraction for a periodic thread.
void step()
Call this to "step" the thread rather than starting it.
A base class for nested structures that can be searched.
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.