From 710cb73cff526d40de69e7edbf4a058c82d979ce Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 18 Sep 2024 09:48:04 +0200 Subject: [PATCH] Update MaisSensorDriver.h --- plugins/maissensor/include/yarp/dev/MaisSensorDriver.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/maissensor/include/yarp/dev/MaisSensorDriver.h b/plugins/maissensor/include/yarp/dev/MaisSensorDriver.h index f57e8543a..e71414855 100644 --- a/plugins/maissensor/include/yarp/dev/MaisSensorDriver.h +++ b/plugins/maissensor/include/yarp/dev/MaisSensorDriver.h @@ -85,6 +85,12 @@ class yarp::dev::GazeboYarpMaisSensorDriver: virtual bool open(yarp::os::Searchable& config); virtual bool close(); + // yarp::dev::IEncoderArrays + virtual size_t getNrOfEncoderArrays() const override; + virtual yarp::dev::MAS_status getEncoderArrayStatus(size_t sens_index) const override; + virtual bool getEncoderArrayName(size_t sens_index, std::string &name) const override; + virtual bool getEncoderArrayMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const override; + virtual size_t getEncoderArraySize(size_t sens_index) const override; private: