|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_IRANGEFINDER2D_H
10 #define YARP_DEV_IRANGEFINDER2D_H
44 DEVICE_GENERAL_ERROR = 2,
139 #endif // YARP_DEV_IRANGEFINDER2D_H
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
constexpr yarp::conf::vocab32_t VOCAB_ILASER2D
contains the definition of a Vector type
virtual bool getDeviceInfo(std::string &device_info)=0
get the device hardware charactestics
constexpr yarp::conf::vocab32_t VOCAB_LASER_SCAN_RATE
virtual bool getScanLimits(double &min, double &max)=0
get the scan angular range.
virtual bool getRawData(yarp::sig::Vector &data)=0
Get the device measurements.
A generic interface for planar laser range finders.
virtual bool setScanLimits(double min, double max)=0
set the scan angular range.
virtual bool getHorizontalResolution(double &step)=0
get the angular step between two measurments.
virtual bool setScanRate(double rate)=0
set the scan rate (scans per seconds)
virtual bool getDistanceRange(double &min, double &max)=0
get the device detection range
constexpr yarp::conf::vocab32_t VOCAB_LASER_DISTANCE_RANGE
constexpr yarp::conf::vocab32_t VOCAB_LASER_ANGULAR_STEP
virtual bool getDeviceStatus(Device_status &status)=0
get the device status
virtual bool getLaserMeasurement(std::vector< LaserMeasurementData > &data)=0
Get the device measurements.
virtual ~IRangefinder2D()
constexpr yarp::conf::vocab32_t VOCAB_DEVICE_INFO
virtual bool setDistanceRange(double min, double max)=0
set the device detection range.
virtual bool setHorizontalResolution(double step)=0
get the angular step between two measurments (if available)
constexpr yarp::conf::vocab32_t VOCAB_LASER_ANGULAR_RANGE
The main, catch-all namespace for YARP.
virtual bool getScanRate(double &rate)=0
get the scan rate (scans per seconds)