yarp icon indicating copy to clipboard operation
yarp copied to clipboard

annoying error message: `device XXX does not derive from IDeviceDriverParams`

Open Nicogene opened this issue 5 months ago • 3 comments

Describe the bug controlboardremapper device dose not start via yarprobotinterface due to this error:

"Device foo does not derive from IDeviceDriverParams."

That is triggered by these lines of code:

  • https://github.com/robotology/yarp/blob/285f6317ec29fe960b18524c7a91d5d685073ef4/src/libYARP_robotinterface/src/yarp/robotinterface/Robot.cpp#L239-L242

In fact the device does not inherit by that interface:

  • https://github.com/robotology/yarp/blob/285f6317ec29fe960b18524c7a91d5d685073ef4/src/devices/controlBoardRemapper/ControlBoardRemapper.h#L69-L92

To Reproduce Run controlboardremapper device via yarprobotinterface

Expected behavior A clear and concise description of what you expected to happen. controlboardremapper device works if launched via yarprobotinterface Screenshots If applicable, add screenshots to help explain your problem.

Configuration (please complete the following information):

  • OS: Ubuntu 24.04
  • yarp version: 3.12
  • compiler: n/a

Additional context Add any other context about the problem here.

cc @MSECode @traversaro @randaz81

Nicogene avatar Jun 12 '25 12:06 Nicogene