Page 1 of 1

Problem to launch Coppelia with ROS2 Interface

Posted: 09 Sep 2020, 08:58
by macieksz@pro.onet.pl
I followed this tutorial to run Coppelia with ROS2 interface plugin
https://www.coppeliarobotics.com/helpFi ... torial.htm

I sourced ros2 and then launch Coppelia and it works, but sometimes does not launch showing his error:

plugin 'ROS2Interface': loading...
CoppeliaSim_Player_V4_1_0_Ubuntu20_04/coppeliaSim: symbol lookup error: /home/ros/Downloads/CoppeliaSim_Player_V4_1_0_Ubuntu20_04/libsimExtROS2Interface.so: undefined symbol: _ZN15image_transport14ImageTransportC1ESt10shared_ptrIN6rclcpp4NodeEE

I tried to compile the https://github.com/CoppeliaRobotics/simExtROS2Interface by myself but has this error

sim_ros2_interface/include/sim_ros2_interface/sim_ros2_interface.h:15:10: fatal error: image_transport/image_transport.hpp: No such file or directory
15 | #include <image_transport/image_transport.hpp>

I searched for this file in ros2 and it exits but can not find out how to solve this issue!

Can you guide me in that?

Re: Problem to launch Coppelia with ROS2 Interface

Posted: 09 Sep 2020, 09:08
by macieksz@pro.onet.pl
The problem solved when you source like this

Code: Select all

source /opt/ros/foxy/setup.bash
not sourcing the local installation folder. It works now.

And for compilation, just remove ros1 and it will work