diff --git a/plugins/maissensor/src/MaisSensorDriver.cpp b/plugins/maissensor/src/MaisSensorDriver.cpp index aac63e554..4791aaa20 100644 --- a/plugins/maissensor/src/MaisSensorDriver.cpp +++ b/plugins/maissensor/src/MaisSensorDriver.cpp @@ -333,12 +333,12 @@ int GazeboYarpMaisSensorDriver::calibrateChannel(int ch, double value) // start yarp::dev::IEncoderArrays methods -size_t embObjMais::getNrOfEncoderArrays() const +size_t GazeboYarpMaisSensorDriver::getNrOfEncoderArrays() const { return 1; } -yarp::dev::MAS_status embObjMais::getEncoderArrayStatus(size_t sens_index) const +yarp::dev::MAS_status GazeboYarpMaisSensorDriver::getEncoderArrayStatus(size_t sens_index) const { if (sens_index >= 1) { @@ -348,7 +348,7 @@ yarp::dev::MAS_status embObjMais::getEncoderArrayStatus(size_t sens_index) const return yarp::dev::MAS_OK; } -bool embObjMais::getEncoderArrayName(size_t sens_index, std::string &name) const +bool GazeboYarpMaisSensorDriver::getEncoderArrayName(size_t sens_index, std::string &name) const { if (sens_index >= 1) { @@ -360,7 +360,7 @@ bool embObjMais::getEncoderArrayName(size_t sens_index, std::string &name) const return false; } -bool embObjMais::getEncoderArrayMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const +bool GazeboYarpMaisSensorDriver::getEncoderArrayMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const { if (sens_index >= 1) { @@ -374,7 +374,7 @@ bool embObjMais::getEncoderArrayMeasure(size_t sens_index, yarp::sig::Vector& ou return true; } -size_t embObjMais::getEncoderArraySize(size_t sens_index) const +size_t GazeboYarpMaisSensorDriver::getEncoderArraySize(size_t sens_index) const { if (sens_index >= 1) {