Closed hgrw closed 4 years ago
I can't reproduce this on any of the Ubuntu 20.04 machines. Can you try again with the latest version of include, common, libPlugin, simExtROS2Interface and CoppeliaSim 4.1.0 beta?
I can't reproduce this on any of the Ubuntu 20.04 machines. Can you try again with the latest version of include, common, libPlugin, simExtROS2Interface and CoppeliaSim 4.1.0 beta?
I am currently using Foxy on linux 20.04 with latest versions of include, common, libPlugin, simExtROS2Interface and CoppeliaSim 4.1.0 beta. The plugin compiled very and loaded very well. The problem comes when i use a message not mentioned in the default meta/interfaces.txt. For example sensor_msgs/msg/LaserScan. I have edited the interfaces file and add it, recompile the plugin but still CoppeliaSim is giving me error:
[simExtROS2Interface:error] simExtROS2Interface_createPublisher: Unsupported message type 'sensor_msgs/LaserScan'. You may want to add it to meta/interfaces.txt and recompile the ROS2Interface plugin.
I did add the line "sensor_msgs/msg/LaserScan" in meta/interfaces.txt. Even geometry_msgs/msg/Twist is not working. I was wondering if there is something else needed to be done other than just adding a line in meta/interfaces.txt? Thanks
Why do you use sensor_msgs/LaserScan
, when the message name is sensor_msgs/msg/LaserScan
?
yes sorry my bad. sensor_msgs/LaserScan was working fine with ROS1 and ROS2 dashing so i didn't notice that the problem is in my robot code of vrep. Thanks for a quick reply. Its working fine now.
Hi there. It looks like simExtROS2Interface was fixed for foxy in May (6431eb59034a783c00ca0f4844167fda24058cb1). I hoped that compiling from the latest commit at the time of writing would yield an .so file that would be compatible with both foxy, and coppeliasim 4.0 (albeit with a few adjustments here and there, eg updating repos in $COPPELIA_SIM_ROOT_DIR/programming/). Alas, this is not the case. The plugin doesn't load, despite all the dependencies being found. I have pasted the output of libLoadErrorCheck.sh at bottom, and some basic system info is below.
Do you have any idea what might be going on?
My system is running: kernel: 5.4.0-37-generic OS: Ubuntu 20.04 LTS CoppeliaSim Version: 4.0.0 ROS2 Version: foxy
To build the repo, I pulled the latest commits from include and libPlugin