ps-micro / PROBOT_Anno

ROS Packages for PROBOT Anno.
http://www.ps-micro.com/anno
Apache License 2.0
89 stars 31 forks source link

plugin fail load #6

Open qiufengxiaohe opened 4 years ago

qiufengxiaohe commented 4 years ago

hello,When I run this command "roslaunch probot_bringup probot_anno_bringup.launch sim:=true" Some errors in the rviz pluglib,as follows: PluginlibFactory: The plugin for class 'probot_rviz_plugin/IO' failed to load. Error: Failed to load library /home/qiufeng/probot_anno_system/devel/lib//libprobot_rviz_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libmoveit_move_group_interface.so.0.9.15: cannot open shared object file: No such file or directory)

But I strictly follow the readme,and i copy libprobot_rviz_plugin.so to devel/lib fold,and my Operating system version Ubuntu linux 16.04,so Can you help me, thank you very much

huchunxu commented 4 years ago

This is because different versions of moveit are used. Currently, the software released is based on libmoveit_Move_Group_Interface.so.0.9.15. But recently, ROS has been updated to version 0.9.18. We will adapt it in the near future.

qiufengxiaohe commented 4 years ago

That's OK. Thank you very much!

qiufengxiaohe commented 4 years ago

hi,Thank you for updating the package,but the updated software is baesed on llibmoveit_Move_Group_Interface.so.0.9.17.can you update it again in your spare time,thank you very much. and i have some questions about your source files(C++) of your plugun,I can't find them,i only find libprobot_rviz_plugin.so in folder of lib,What is the file libprobot_rviz_plugin.so? Plugin.so? What is it used for?Is it the same as a C + + file?

huchunxu commented 4 years ago

Hi, I have update software to latest moveit version 0.9.18, please try again. This plugin provides a HMI, similar to a teaching device.We have not provide the source code of it. But the .so file already contains all the functions. After sourcing your workspace, it could be added into rviz by "Add panel".

qiufengxiaohe commented 4 years ago

Thank you very much for your respond

Artemkamax commented 4 years ago

The same problem( how to fix it?

NuBot-Cc commented 4 years ago

hi~ I also met the same problem, the Movement and IO bar can't be load. How do I solver this error? Should I turn down the version of libmoveit_move_group_interface.so.1.0.4? The class required for this panel, 'probot_rviz_plugin/Movement', could not be loaded. Error: Failed to load library /home/ly/PROBOT_Anno_ws/devel/lib//libprobot_rviz_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libmoveit_move_group_interface.so.1.0.4: cannot open shared object file: No such file or directory)