1 #ifndef __STREAMING_DEVICE_CONTROLLER_HPP__
2 #define __STREAMING_DEVICE_CONTROLLER_HPP__
6 #include <yarp/os/Bottle.h>
7 #include <yarp/os/BufferedPort.h>
8 #include <yarp/os/RFModule.h>
9 #include <yarp/os/TypedReaderCallback.h>
11 #include <yarp/dev/PolyDriver.h>
13 #include "StreamingDevice.hpp"
14 #include "CentroidTransform.hpp"
30 public yarp::os::TypedReaderCallback<yarp::os::Bottle>
36 bool configure(yarp::os::ResourceFinder & rf)
override;
37 bool updateModule()
override;
38 bool interruptModule()
override;
39 bool close()
override;
40 double getPeriod()
override;
41 void onRead(yarp::os::Bottle & bot)
override;
44 bool update(
double timestamp);
48 yarp::dev::PolyDriver cartesianControlClientDevice;
51 yarp::os::BufferedPort<yarp::os::Bottle> proximityPort;
52 int thresholdAlertHigh;
53 int thresholdAlertLow;
54 bool disableSensorsLowLevel;
56 yarp::os::BufferedPort<yarp::os::Bottle> centroidPort;
59 yarp::os::BufferedPort<yarp::os::Bottle> syncPort;
Contains roboticslab::ICartesianControl and related vocabs.
Abstract base class for a cartesian controller.
Definition: ICartesianControl.h:146
Sends streaming commands to the cartesian controller from a streaming input device like the 3Dconnexi...
Definition: StreamingDeviceController.hpp:31
Abstract class for a YARP streaming device.
Definition: StreamingDevice.hpp:46
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:6