6#ifndef YARP_DEV_RANGEFINDER2D_NWC_YARP_H
7#define YARP_DEV_RANGEFINDER2D_NWC_YARP_H
91 bool close()
override;
define control board standard interfaces
contains the definition of a Vector type
This class is the parameters parser for class Rangefinder2D_nwc_yarp.
Rangefinder2D_nwc_yarp: The client side of any ILaserRangefinder2D capable device.
std::string m_robot_frame_name
yarp::dev::ReturnValue getScanRate(double &rate) override
get the scan rate (scans per seconds)
yarp::dev::ReturnValue getDeviceInfo(std::string &device_info) override
get the device hardware characteristics
bool close() override
Close the DeviceDriver.
yarp::dev::ReturnValue setScanRate(double rate) override
set the scan rate (scans per seconds)
yarp::dev::ReturnValue getLaserMeasurement(std::vector< yarp::sig::LaserMeasurementData > &data, double *timestamp=nullptr) override
Get the device measurements.
yarp::dev::ReturnValue getDistanceRange(double &min, double &max) override
get the device detection range
std::string m_laser_frame_name
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
yarp::dev::ReturnValue getHorizontalResolution(double &step) override
get the angular step between two measurements.
yarp::dev::ReturnValue setHorizontalResolution(double step) override
get the angular step between two measurements (if available)
yarp::dev::ReturnValue getScanLimits(double &min, double &max) override
get the scan angular range.
yarp::dev::ReturnValue getDeviceStatus(Device_status &status) override
get the device status
yarp::dev::ReturnValue setScanLimits(double min, double max) override
set the scan angular range.
yarp::dev::ReturnValue setDistanceRange(double min, double max) override
set the device detection range.
yarp::dev::ReturnValue getRawData(yarp::sig::Vector &data, double *timestamp=nullptr) override
Get the device measurements.
Rangefinder2D_InputPortProcessor m_inputPort
Interface implemented by all device drivers.
A generic interface for planar laser range finders.
A mini-server for performing network communication in the background.
BufferedPort()
Constructor.
A mini-server for network communication.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.