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?
Problem to launch Coppelia with ROS2 Interface
-
- Posts: 16
- Joined: 28 Jan 2018, 08:21
-
- Posts: 16
- Joined: 28 Jan 2018, 08:21
Re: Problem to launch Coppelia with ROS2 Interface
The problem solved when you source like this
not sourcing the local installation folder. It works now.
And for compilation, just remove ros1 and it will work
Code: Select all
source /opt/ros/foxy/setup.bash
And for compilation, just remove ros1 and it will work