error on loading ROSInterface

Report crashes, strange behaviour, or apparent bugs
Post Reply
wyc
Posts: 3
Joined: 09 Jul 2020, 20:36

error on loading ROSInterface

Post by wyc »

Hi I have been following the ROS tutorial (https://www.coppeliarobotics.com/helpFi ... torial.htm) to try to install ros plugins to CoppeliaSim 4.0.0. I cloned libPlugins, common, simMath, and include folder from respective directories from github. I also catkin build ros_bubble_rob and sim_ros_interface successfully. I then copied libsimExtROSInterface.so from devel to CoppeliaSim folder and run coppeliasim.sh. The result is as followed:

Code: Select all

Loading the CoppeliaSim library...
Done!
Launching CoppeliaSim...
lib: 1
lic: 1

CoppeliaSim Edu V4.0.0. (rev. 4)
Using the default Lua library.
Loaded the video compression library.
Add-on script 'simAddOnScript-addOnScriptDemo.lua' was loaded.
Add-on script 'simAddOnScript-b0RemoteApiServer.lua' was loaded.
Add-on script 'simAddOnScript_PyRep.lua' was loaded.
If CoppeliaSim crashes now, try to install libgl1-mesa-dev on your system:
>sudo apt install libgl1-mesa-dev
OpenGL: NVIDIA Corporation, Renderer: GeForce RTX 2060/PCIe/SSE2, Version: 4.6.0 NVIDIA 440.33.01
...did not crash.
Simulator launched.
Plugin 'Geometric': loading...
Plugin 'Geometric': load succeeded.
Plugin 'Assimp': loading...
Plugin 'Assimp': warning: replaced variable 'simAssimp'
Plugin 'Assimp': load succeeded.
Plugin 'BlueZero': loading...
Plugin 'BlueZero': warning: replaced variable 'simB0'
Plugin 'BlueZero': load succeeded.
Plugin 'BubbleRob': loading...
Plugin 'BubbleRob': load succeeded.
Plugin 'Bwf': loading...
Plugin 'Bwf': load succeeded.
Plugin 'CodeEditor': loading...
Plugin 'CodeEditor': load succeeded.
Plugin 'Collada': loading...
Plugin 'Collada': load succeeded.
Plugin 'ConvexDecompose': loading...
Plugin 'ConvexDecompose': load succeeded.
Plugin 'CustomUI': loading...
Plugin 'CustomUI': warning: replaced variable 'simUI'
Plugin 'CustomUI': warning: replaced function 'simUI.insertTableRow@CustomUI'
Plugin 'CustomUI': warning: replaced function 'simUI.removeTableRow@CustomUI'
Plugin 'CustomUI': warning: replaced function 'simUI.insertTableColumn@CustomUI'
Plugin 'CustomUI': warning: replaced function 'simUI.removeTableColumn@CustomUI'
Plugin 'CustomUI': warning: replaced function 'simUI.setScene3DNodeParam@CustomUI'
Plugin 'CustomUI': load succeeded.
Plugin 'DynamicsBullet-2-78': loading...
Plugin 'DynamicsBullet-2-78': load succeeded.
Plugin 'DynamicsBullet-2-83': loading...
Plugin 'DynamicsBullet-2-83': load succeeded.
Plugin 'DynamicsNewton': loading...
Plugin 'DynamicsNewton': load succeeded.
Plugin 'DynamicsOde': loading...
Plugin 'DynamicsOde': load succeeded.
Plugin 'DynamicsVortex': loading...
Plugin 'DynamicsVortex': load succeeded.
Plugin 'ExternalRenderer': loading...
Plugin 'ExternalRenderer': load succeeded.
Plugin 'ICP': loading...
Plugin 'ICP': warning: replaced variable 'simICP'
Plugin 'ICP': load succeeded.
Plugin 'Image': loading...
Plugin 'Image': warning: replaced variable 'simIM'
Plugin 'Image': load succeeded.
Plugin 'K3': loading...
Plugin 'K3': load succeeded.
Plugin 'Lic': loading...
Plugin 'Lic': load succeeded.
Plugin 'LuaCommander': loading...
Plugin 'LuaCommander': warning: replaced variable 'simLuaCmd'
Plugin 'LuaCommander': load succeeded.
Plugin 'LuaRemoteApiClient': loading...
Plugin 'LuaRemoteApiClient': load succeeded.
Plugin 'Mtb': loading...
Plugin 'Mtb': load succeeded.
Plugin 'OMPL': loading...
Plugin 'OMPL': warning: replaced variable 'simOMPL'
Plugin 'OMPL': load succeeded.
Plugin 'OpenGL3Renderer': loading...
Plugin 'OpenGL3Renderer': load succeeded.
Plugin 'OpenMesh': loading...
Plugin 'OpenMesh': load succeeded.
Plugin 'Qhull': loading...
Plugin 'Qhull': load succeeded.
Plugin 'ROSInterface': loading...


Error: signal 11:

/home/alfred/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/libcoppeliaSim.so(_Z11_segHandleri+0x2b)[0x7f6ed47010bb]
/lib/x86_64-linux-gnu/libc.so.6(+0x3efd0)[0x7f6ed8651fd0]
system: ubuntu 18.04
ROS melodic
GPU: Nvidia RTX 2060
Driver: cuda version 10.2

The version of sim_ros_interface I used is the melodic branch in the repository.

Does anyone know what is causing the problem?

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: error on loading ROSInterface

Post by coppelia »

Hello,

can you try to run that with the beta version of CoppeliaSim V4.1.0, available here?

Cheers

wyc
Posts: 3
Joined: 09 Jul 2020, 20:36

Re: error on loading ROSInterface

Post by wyc »

Version 4.1.0 beta works and ROSInterface is successfully loaded

Thank you.

Post Reply