gazebo-yarp-plugins
gazebo-yarp-plugins copied to clipboard
Error on using the plugin ApplyExternalWrench
I am trying to use the plugin for applying external wrenches but on a robot which differs from the iCub. I am getting the following error. I assume that I need to define at least one link named root_link. Is this the case? Is this really necessary?
[ERROR] ApplyWrench plugin: link named root_linknot found
https://github.com/robotology/gazebo-yarp-plugins/blob/2f68a8ddd580e270a4fd8d9fc70828fc0a2ebece/plugins/externalwrench/src/ApplyExternalWrench.cc#L147 apparently the problem is in this line. Getting a link of the robot as the default link seems to be a better solution indeed.
I leave this open until the problem is fixed (@jeljaik and @traversaro).
Fixed in a07d8c99a64520c9117b915f517b88c932bef078.
I need to reopen the issue since the fix is not working when using the iCub fixed. The error I am getting is:
ApplyWrench plugin: link named iCub::root_link not found