8#ifndef ROBOTSIO_YARPVECTOROFPROBE_H
9#define ROBOTSIO_YARPVECTOROFPROBE_H
13#include <RobotsIO/Utils/Data.h>
14#include <RobotsIO/Utils/Probe.h>
15#include <RobotsIO/Utils/TransformWithVelocity.h>
16#include <RobotsIO/Utils/YarpBufferedPort.hpp>
17#include <RobotsIO/Utils/any.h>
19#include <opencv2/opencv.hpp>
23#include <yarp/eigen/Eigen.h>
24#include <yarp/sig/Vector.h>
28 template <
class T,
class U = yarp::sig::VectorOf<T>>
29 class YarpVectorOfProbe;
34template <
class T,
class U>
44 void on_new_data()
override;
47 yarp::sig::VectorOf<T> convert_from(
const U& data);
49 yarp::sig::VectorOf<T> data_;
51 const std::string log_name_ =
"YarpVectorOfProbe";
55template <
class T,
class U>
61template <
class T,
class U>
66template <
class T,
class U>
69 data_ = convert_from(RobotsIO::Utils::any_cast<U>(get_data()));
71 this->send_data(data_);
75template <
class T,
class U>