51 typedef rp::standalone::rplidar::RPlidarDriver rplidardrv;
53 void handleError(u_result error);
64 rplidar_response_measurement_node_hq_t*
m_nodes =
nullptr;
78 bool close()
override;
define control board standard interfaces
contains the definition of a Vector type
rpLidar2: The device driver for the RP2 lidar
rplidar_response_measurement_node_hq_t * m_nodes
bool acquireDataFromHW() override final
This method should be implemented by the user, and contain the logic to grab data from the hardware.
void run() override
Loop function.
void threadRelease() override
Release method.
bool setDistanceRange(double min, double max) override
set the device detection range.
bool threadInit() override
Initialization method.
bool setScanRate(double rate) override
set the scan rate (scans per seconds)
bool close() override
Close the DeviceDriver.
RpLidar3(double period=0)
bool setScanLimits(double min, double max) override
set the scan angular range.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
bool setHorizontalResolution(double step) override
get the angular step between two measurements (if available)
Interface implemented by all device drivers.
The Lidar2DDeviceBase class.
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.