Skip to content

Commit

Permalink
Update MaisSensorDriver.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Sep 18, 2024
1 parent 7a910d3 commit 6c92c81
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/maissensor/src/MaisSensorDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 6c92c81

Please sign in to comment.