| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This project provides a Docker-based solution to establish a communication bridge between ROS 1 Noetic and ROS 2 Humble using ros1_bridge.
cd DIT-Ros1Bridge/docker
docker compose up -dThis will start two docker containers:
If you have modified the Dockerfile or the installation scripts, you need to rebuild the image.
Note: The build process involves compiling ROS 2 Humble from source, which will take approximately 20-30 minutes depending on your hardware.
cd DIT-Ros1Bridge/docker
docker compose build
docker compose up -dWe also provide docker container for ROS1 and ROS2 environment, you can use the command to start the containers:
cd DIT-Ros1Bridge/docker
docker compose -f compose.example.yaml up -dThis will start two additional containers:
Open two terminals for testing:
Termianl 1 (ROS 1 Talker)
docker exec -it ros1 bash
source /opt/ros/noetic/setup.bash
rosrun rospy_tutorials talkerTermianl 2 (ROS 2 Listener)
docker exec -it ros2 bash
source /opt/ros/humble/setup.bash
ros2 run demo_nodes_cpp listenerVerification: If the bridge works correctly, you should see output in Terminal 2 similar to:
I heard: [hello world 1769646207.0724797]Open two terminals for testing:
Termianl 1 (ROS 2 Talker)
docker exec -it ros2 bash
source /opt/ros/humble/setup.bash
ros2 run demo_nodes_cpp listenerTermianl 2 (ROS 1 Listener)
docker exec -it ros1 bash
source /opt/ros/noetic/setup.bash
rosrun rospy_tutorials talkerVerification: If the bridge works correctly, you should see output in Terminal 2 similar to:
I heard: [Hello World: 13]| Back | FazBrowse Home | New Git URL |