6#ifndef YARP_DEV_RGBDSENSOR_NWS_YARP_H
7#define YARP_DEV_RGBDSENSOR_NWS_YARP_H
36#define DEFAULT_THREAD_PERIOD 0.03
41#define RGBD_WRAPPER_PROTOCOL_VERSION_MAJOR 1
42#define RGBD_WRAPPER_PROTOCOL_VERSION_MINOR 0
105 typedef unsigned int UInt;
107 enum SensorType{COLOR_SENSOR, DEPTH_SENSOR};
112 param(T& inVar, std::string inName)
121 std::string colorFrame_StreamingPort_Name;
122 std::string depthFrame_StreamingPort_Name;
128 std::string rpcPort_Name;
129 std::string nodeName;
144 std::string sensorId;
157 bool isSubdeviceOwned;
167 bool setCamInfo(
const std::string& frame_id,
169 const SensorType& sensorType);
181 bool close()
override;
contains the definition of a Vector type
bool configure(yarp::dev::IRGBDSensor *interface)
bool respond(const yarp::os::Bottle &cmd, yarp::os::Bottle &response) override
Respond to a message.
~RGBDSensorParser() override=default
rgbdSensor_nws_yarp: A Network grabber for kinect-like devices. This device will produce two streams ...
void run() override
Loop function.
bool threadInit() override
Initialization method.
RgbdSensor_nws_yarp & operator=(RgbdSensor_nws_yarp &&)=delete
bool detach() override
WrapperSingle interface.
RgbdSensor_nws_yarp(RgbdSensor_nws_yarp &&)=delete
bool fromConfig(yarp::os::Searchable ¶ms)
bool close() override
Close the DeviceDriver.
RgbdSensor_nws_yarp(const RgbdSensor_nws_yarp &)=delete
~RgbdSensor_nws_yarp() override
RgbdSensor_nws_yarp & operator=(const RgbdSensor_nws_yarp &)=delete
bool open(yarp::os::Searchable ¶ms) override
Device driver interface.
void threadRelease() override
Release method.
bool attach(yarp::dev::PolyDriver *poly) override
Specify which sensor this thread has to read from.
Interface implemented by all device drivers.
A cheap and cheerful framework for human readable/writable forms of messages to devices.
An interface for retrieving intrinsic parameter from a depth camera.
Control interface for frame grabber devices.
A generic interface for cameras that have both color camera as well as depth camera sensor,...
An interface for retrieving intrinsic parameter from a rgb camera.
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
An abstraction for a periodic thread.
A mini-server for network communication.
A class for storing options and configuration information.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.
Image class with user control of representation details.
constexpr yarp::conf::vocab32_t VOCAB_PROTOCOL_VERSION
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.