Plugin RosInterface not loading

Typically: "How do I... ", "How can I... " questions
Post Reply
e2718
Posts: 33
Joined: 15 Nov 2015, 05:39

Plugin RosInterface not loading

Post by e2718 » 10 Sep 2017, 19:14

have been having trying to get RosInterface loaded. Am currently following the Indigo tutorial located here:
http://www.coppeliarobotics.com/helpFil ... ndigo.html.

My problem is I can't seem to get the ros plugin 'RosInterface' to load. I know the packages have installed because calling roscd works. Would like help debugging what went wrong. Have attached the terminal outputs of what I see

Code: Select all

# can find the package rosinterface with roscd
humanoid@toughbook:~/catkin_ws/src$ roscd vrep_ros_interface
humanoid@toughbook:~/catkin_ws/src/v_repExtRosInterface$

Code: Select all

# separate tab run roscore
humanoid@toughbook:~$ roscore
... logging to /home/humanoid/.ros/log/943e238c-9653-11e7-bc0e-20c6eb68f2d5/roslaunch-toughbook-22979.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://toughbook.local:33202/
ros_comm version 1.11.21


SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.21

NODES

auto-starting new master
process[master]: started with pid [22991]
ROS_MASTER_URI=http://toughbook.local:11311/

setting /run_id to 943e238c-9653-11e7-bc0e-20c6eb68f2d5
process[rosout-1]: started with pid [23005]
started core service [/rosout]

Code: Select all

# when running V-REP, can not find 'RosInterface'
humanoid@toughbook:~/catkin_ws/src/v_repExtRosInterface$ cd $VREP_ROOT
humanoid@toughbook:~/V-REP_PRO_EDU_V3_4_0_Linux$ ./vrep.sh
Using the default Lua library.
Loaded the video compression library.
Add-on script 'vrepAddOnScript-addOnScriptDemo.lua' was loaded.
QSplitter::setCollapsible: Index 0 out of range
Simulator launched.
Plugin 'MeshCalc': loading...
Plugin 'MeshCalc': load succeeded.
Plugin 'BubbleRob': loading...
Plugin 'BubbleRob': load succeeded.
Plugin 'Bwf': loading...
Plugin 'Bwf': load succeeded.
Plugin 'Collada': loading...
Plugin 'Collada': load succeeded.
Plugin 'ConvexDecompose': loading...
Plugin 'ConvexDecompose': load succeeded.
Plugin 'CustomUI': loading...
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 'K3': loading...
Plugin 'K3': load succeeded.
Plugin 'LuaRemoteApiClient': loading...
Plugin 'LuaRemoteApiClient': load succeeded.
Plugin 'Mtb': loading...
Plugin 'Mtb': load succeeded.
Plugin 'OMPL': loading...
Plugin 'OMPL': load succeeded.
Plugin 'OpenMesh': loading...
Plugin 'OpenMesh': load succeeded.
Plugin 'PovRay': loading...
Plugin 'PovRay': load succeeded.
Plugin 'Qhull': loading...
Plugin 'Qhull': load succeeded.
Plugin 'RRS1': loading...
Plugin 'RRS1': load succeeded.
Plugin 'ReflexxesTypeII': loading...
Plugin 'ReflexxesTypeII': load succeeded.
Plugin 'RemoteApi': loading...
Starting a remote API server on port 19997
Plugin 'RemoteApi': load succeeded.
Plugin 'SDF': loading...
Plugin 'SDF': load succeeded.
Plugin 'SimpleFilter': loading...
Plugin 'SimpleFilter': load succeeded.
Plugin 'SurfaceReconstruction': loading...
Plugin 'SurfaceReconstruction': load succeeded.
Plugin 'Urdf-a': loading...
Plugin 'Urdf-a': load succeeded.
Plugin 'Urdf': loading...
Plugin 'Urdf': load succeeded.
Plugin 'Vision': loading...
Plugin 'Vision': load succeeded.
Using the 'MeshCalc' plugin.



e2718
Posts: 33
Joined: 15 Nov 2015, 05:39

Re: Plugin RosInterface not loading

Post by e2718 » 10 Sep 2017, 23:14

Forgot to mention have tried putting the files from the catkin_ws/src into both the $VREP_ROOT directory and the $VREP_ROOT/programming directory and get the same result.

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

Re: Plugin RosInterface not loading

Post by coppelia » 12 Sep 2017, 14:42

Hello,

it seems that V-REP isn't even trying to load the rosInterface. Are you sure you placed it in the V-REP folder? Are you sure its name is v_repExtRosInterface.so?

Cheers

patchaaquatica
Posts: 9
Joined: 25 Jan 2018, 07:04

Re: Plugin RosInterface not loading

Post by patchaaquatica » 08 Mar 2018, 09:38

I'm having the same issue but on a fresh install of V3.5.

After changing the directory name to vrep_ros_interface, it builds fine with catkin build in ~/catkin_ws/src (along with the other 3 from the tutorial), but it is not a .so directory...?

I'm then copying the 4 directories to the V-REP root folder, start v-rep with roscore and get this;

Code: Select all

patchaaquatica:~/V-REP_PRO_EDU_V3_5_0_Linux$ ./vrep.sh
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
   QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
   QT_SCREEN_SCALE_FACTORS to set per-screen factors.
   QT_SCALE_FACTOR to set the application global scale factor.
Using the default Lua library.
Loaded the video compression library.
Add-on script 'vrepAddOnScript-addOnScriptDemo.lua' was loaded.
QSplitter::setCollapsible: Index 0 out of range
Simulator launched.
Plugin 'MeshCalc': loading...
Plugin 'MeshCalc': 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 'Collada': loading...
Plugin 'Collada': load succeeded.
Plugin 'ConvexDecompose': loading...
Plugin 'ConvexDecompose': load succeeded.
Plugin 'CustomUI': loading...
Plugin 'CustomUI': warning: replaced variable 'simUI'
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...
Error with plugin 'Image': load failed (could not load). The plugin probably couldn't load dependency libraries. For additional infos, modify the script 'libLoadErrorCheck.sh', run it and inspect the output.
Plugin 'K3': loading...
Plugin 'K3': load succeeded.
Plugin 'LuaCommander': loading...
Plugin 'LuaCommander': warning: replaced variable 'simLuaComm'
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 'OpenMesh': loading...
Plugin 'OpenMesh': load succeeded.
Plugin 'PovRay': loading...
Plugin 'PovRay': load succeeded.
Plugin 'Qhull': loading...
Plugin 'Qhull': load succeeded.
Plugin 'RRS1': loading...
Plugin 'RRS1': load succeeded.
Plugin 'ReflexxesTypeII': loading...
Plugin 'ReflexxesTypeII': load succeeded.
Plugin 'RemoteApi': loading...
Starting a remote API server on port 19997
Plugin 'RemoteApi': load succeeded.
Plugin 'SDF': loading...
Plugin 'SDF': warning: replaced variable 'simSDF'
Plugin 'SDF': load succeeded.
Plugin 'SurfaceReconstruction': loading...
Plugin 'SurfaceReconstruction': warning: replaced variable 'simSurfRec'
Plugin 'SurfaceReconstruction': load succeeded.
Plugin 'Urdf': loading...
Plugin 'Urdf': load succeeded.
Plugin 'Vision': loading...
Plugin 'Vision': load succeeded.
Using the 'MeshCalc' plugin.

rosnode list just gives me rosout

Any ideas?

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

Re: Plugin RosInterface not loading

Post by coppelia » 08 Mar 2018, 12:46

The Ros Interface is not mentioned in the terminal output. V-REP is not even trying to load that plugin (only libraries starting with libv_repExt*.so (or libv_repExt*.dylib or v_repExt*.dll) will be loaded)

Cheers

patchaaquatica
Posts: 9
Joined: 25 Jan 2018, 07:04

Re: Plugin RosInterface not loading

Post by patchaaquatica » 09 Mar 2018, 02:36

I'm an idiot, copied the .so files from ~./catkin_ws/devel and all is good, I'm getting the simROS warning but I read that its not an issue?

Code: Select all

Plugin 'RosInterface': loading...
Plugin 'RosInterface': warning: replaced variable 'simROS'
Plugin 'RosInterface': load succeeded.
Plugin 'RosSkeleton': loading...
Plugin 'RosSkeleton': load succeeded.
Thanks for your help

WZJ
Posts: 9
Joined: 11 Feb 2018, 05:06

Re: Plugin RosInterface not loading

Post by WZJ » 11 Mar 2018, 03:50

patchaaquatica wrote:
08 Mar 2018, 09:38
I'm having the same issue but on a fresh install of V3.5.

After changing the directory name to vrep_ros_interface, it builds fine with catkin build in ~/catkin_ws/src (along with the other 3 from the tutorial), but it is not a .so directory...?

I'm then copying the 4 directories to the V-REP root folder, start v-rep with roscore and get this;

Code: Select all

patchaaquatica:~/V-REP_PRO_EDU_V3_5_0_Linux$ ./vrep.sh
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
   QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
   QT_SCREEN_SCALE_FACTORS to set per-screen factors.
   QT_SCALE_FACTOR to set the application global scale factor.
Using the default Lua library.
Loaded the video compression library.
Add-on script 'vrepAddOnScript-addOnScriptDemo.lua' was loaded.
QSplitter::setCollapsible: Index 0 out of range
Simulator launched.
Plugin 'MeshCalc': loading...
Plugin 'MeshCalc': 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 'Collada': loading...
Plugin 'Collada': load succeeded.
Plugin 'ConvexDecompose': loading...
Plugin 'ConvexDecompose': load succeeded.
Plugin 'CustomUI': loading...
Plugin 'CustomUI': warning: replaced variable 'simUI'
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...
Error with plugin 'Image': load failed (could not load). The plugin probably couldn't load dependency libraries. For additional infos, modify the script 'libLoadErrorCheck.sh', run it and inspect the output.
Plugin 'K3': loading...
Plugin 'K3': load succeeded.
Plugin 'LuaCommander': loading...
Plugin 'LuaCommander': warning: replaced variable 'simLuaComm'
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 'OpenMesh': loading...
Plugin 'OpenMesh': load succeeded.
Plugin 'PovRay': loading...
Plugin 'PovRay': load succeeded.
Plugin 'Qhull': loading...
Plugin 'Qhull': load succeeded.
Plugin 'RRS1': loading...
Plugin 'RRS1': load succeeded.
Plugin 'ReflexxesTypeII': loading...
Plugin 'ReflexxesTypeII': load succeeded.
Plugin 'RemoteApi': loading...
Starting a remote API server on port 19997
Plugin 'RemoteApi': load succeeded.
Plugin 'SDF': loading...
Plugin 'SDF': warning: replaced variable 'simSDF'
Plugin 'SDF': load succeeded.
Plugin 'SurfaceReconstruction': loading...
Plugin 'SurfaceReconstruction': warning: replaced variable 'simSurfRec'
Plugin 'SurfaceReconstruction': load succeeded.
Plugin 'Urdf': loading...
Plugin 'Urdf': load succeeded.
Plugin 'Vision': loading...
Plugin 'Vision': load succeeded.
Using the 'MeshCalc' plugin.

rosnode list just gives me rosout

Any ideas?


how can you deal with this problem ? now i have the same problem, i have the file libv_repExtRosInterface.so but i can't Plugin rosinterface when i input ./vrep/sh

fferri
Posts: 206
Joined: 09 Sep 2013, 19:28

Re: Plugin RosInterface not loading

Post by fferri » 11 Mar 2018, 11:36

WZJ wrote:
11 Mar 2018, 03:50
how can you deal with this problem ? now i have the same problem, i have the file libv_repExtRosInterface.so but i can't Plugin rosinterface when i input ./vrep/sh
Did you copy it to V-REP directory? (the same directory as where vrep.sh is)

WZJ
Posts: 9
Joined: 11 Feb 2018, 05:06

Re: Plugin RosInterface not loading

Post by WZJ » 13 Mar 2018, 07:11

fferri wrote:
11 Mar 2018, 11:36
WZJ wrote:
11 Mar 2018, 03:50
how can you deal with this problem ? now i have the same problem, i have the file libv_repExtRosInterface.so but i can't Plugin rosinterface when i input ./vrep/sh
Did you copy it to V-REP directory? (the same directory as where vrep.sh is)
well, i found the problem. It was because that i can't build the Plugin RosInterface successfully. Now i have download the VRPE V3.5.0 rev1 and this version can work

Post Reply