yarp icon indicating copy to clipboard operation
yarp copied to clipboard

IAxisInfo::getAxes()

Open randaz81 opened this issue 2 years ago • 2 comments

Added method bool getAxes(int* ax) to yarp::dev::IAxisInfo interface

randaz81 avatar Aug 09 '22 12:08 randaz81

Please also add this method to yarp.i:

https://github.com/robotology/yarp/blob/14df562aa253fb8d041ba98eaa7fb96d3281017a/bindings/yarp.i#L1299-L1313

Something along these lines:

 int getAxes() {
    int buffer;
    bool ok = self->getAxes(&buffer);
    if (!ok) return 0;
    return buffer;
}

PeterBowman avatar Aug 09 '22 14:08 PeterBowman

Please also add this method to yarp.i: done

randaz81 avatar Sep 16 '22 09:09 randaz81