I am using ROS Melodic, Ubuntu 18.04 and CoppeliaSim V4.1.0 and I want to send custom messages from package box_msgs that I created. I have problem load ROS interface.
So far I cloned melodic brunch of sim_ros_interface to my catkin workspace and then I modified it:
- followed message types was added to: catkin_ws/src/simExtROS/meta/messages.txt
box_msgs/Box_array
box_msgs/Box
box_msgs/Dimensions
box_msgs/Orientation
box_msgs/Position
- in catkin_ws/src/simExtROS/package.xml I added
Code: Select all
<depend>box_msgs</depend>
- in catkin_ws/src/simExtROS/CMakeList.txt I added box_msgs to
Code: Select all
find_package(catkin REQUIRED COMPONENTS)
Code: Select all
catkin build --cmake-args -DCMAKE_BUILD_TYPE=Release
After that I copied libsimExtROSInterface.so from catkin_ws/devel/lib to CoppeliaSim root directory and tried to run CoppeliaSim but ros interface does not load i getting error:
Code: Select all
bash [CoppeliaSim:error] plugin 'ROSInterface': 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.