Page 1 of 1

libsimExtROS2 cannot open error

Posted: 13 Mar 2023, 18:31
by vj3
I am facing this error while opening Coppeliasim on ubuntu 20.04. I checked that this file `libsimExtROS2.so` exists in the folder. I have ROS Noetic setup on the machine but I have not sourced it in bash script.

Code: Select all

error: library ( /home/vidhij/peract_root/CoppeliaSim_20_04/libsimExtROS2.so ) load: "Cannot load library /home/vidhij/peract_root/CoppeliaSim_20_04/libsimExtROS2.so: (libstd_srvs__rosidl_typesupport_cpp.so: cannot open shared object file: No such file or directory)"
I am using RLBench, PyRep and Peract libraries which needs to make use of CoppeliaSim through python interface. Currently this error is increasing the loading time for the simulator. Here is the related issue on github https://github.com/peract/peract/issues ... 1611870781

Re: libsimExtROS2 cannot open error

Posted: 14 Mar 2023, 08:44
by fferri
"noetic" is ROS 1, not ROS 2

Re: libsimExtROS2 cannot open error

Posted: 14 Mar 2023, 23:26
by vj3
Yes, ROS Noetic is ROS 1 but coppeliaSim still wants to load libsimExtROS2.so file. In some cases, this error is skipped and simulator loads, but when loading from python script, the simulator load time is very slow, if it has not crashed already.

Code: Select all

error: library ( /home/vidhij/peract_root/CoppeliaSim_20_04/libsimExtROS2.so ) load: "Cannot load library /home/vidhij/peract_root/CoppeliaSim_20_04/libsimExtROS2.so: (libstd_srvs__rosidl_typesupport_cpp.so: cannot open shared object file: No such file or directory)"

Re: libsimExtROS2 cannot open error

Posted: 15 Mar 2023, 05:35
by fferri
vj3 wrote: 14 Mar 2023, 23:26 Yes, ROS Noetic is ROS 1 but coppeliaSim still wants to load libsimExtROS2.so file.
So what?
CoppeliaSim will try to load all plugins matching libsimExt*.so in its directory.

A plugin failing to load should not cause any significant slowdown.
You can also consider removing the plugin .so from the coppeliaSim directory or renaming it so it won't be attempted to load.