ros1_bridge
ros1_bridge copied to clipboard
Questions about using ros1_bridge in docker
I installed ros1-noetic and ros2-galactic in two dockers respectively. I want ros1 to subscribe to the topic published by ros2, so I installed ros1_bridge, and I opened all ports of the two dockers, so don’t worry about the network or ports The problem is that the two dockers are on the same host.
Docker 1: ros-noetic Ubuntu 20.04 Docker 2: ros-galactic + ros-noetic Ubuntu 20.04 ROS_MASTER_URI=http://localhost:11311
T1: run roscore in Docker 1, everything is normal; T2: Start ros1_bridge in Docker 2, and everything is normal; the premise is that ros noetic and ros galactic are installed in this Docker at the same time to compile and pass ros1_bridge; T3: run talker and everything is normal; T4: Run the listener and report an error: symbol look up error
Can anyone tell me how to fix this?
Can you please share your Dockerfiles and source code to reproduce the issue, or preferably try with the official osrf/docker_images/galactic/ubuntu/focal/ros1-bridge image?