14#ifndef YARP_DEV_2DLIDARDEVICETEMPLATE_H
15#define YARP_DEV_2DLIDARDEVICETEMPLATE_H
70 virtual bool updateLidarData();
77 virtual bool updateTimestamp();
83 virtual bool applyLimitsOnLaserData();
94 yarp::dev::ReturnValue getLaserMeasurement(std::vector<yarp::sig::LaserMeasurementData>& data,
double* timestamp =
nullptr)
override;
104 virtual bool checkSkipAngle(
const double& angle,
double& distance);
A generic interface for planar laser range finders.
The Lidar2DDeviceBase class.
yarp::os::Stamp m_timestamp
virtual bool acquireDataFromHW()=0
This method should be implemented by the user, and contain the logic to grab data from the hardware.
std::vector< Range_t > m_range_skip_vector
bool m_do_not_clip_and_allow_infinity_enable
yarp::dev::IRangefinder2D::Device_status m_device_status
yarp::sig::Vector m_laser_data
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.
For streams capable of holding different kinds of content, check what they actually have.