14 #ifndef YARP_DEV_2DLIDARDEVICETEMPLATE_H
15 #define YARP_DEV_2DLIDARDEVICETEMPLATE_H
73 virtual bool updateLidarData();
80 virtual bool updateTimestamp();
86 virtual bool applyLimitsOnLaserData();
97 bool getLaserMeasurement(std::vector<LaserMeasurementData>& data)
override;
99 bool getDeviceInfo(std::string& device_info)
override;
100 bool getDistanceRange(
double& min,
double& max)
override;
101 bool getScanLimits(
double& min,
double& max)
override;
102 bool getHorizontalResolution(
double& step)
override;
103 bool getScanRate(
double& rate)
override;
110 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.
The main, catch-all namespace for YARP.