[AN] (fix) Fixes mistake in README

This commit is contained in:
Ali Elnwegy 2025-06-08 22:36:08 +02:00
parent 70f78ada2b
commit d93b4b8de1
No known key found for this signature in database
GPG Key ID: C9239381777823C2

View File

@ -59,7 +59,7 @@ docker build -t ros2_humble:latest ROS2_humble
After all the containers are successfully built and the bridge network is established we can now start both containers. On one terminal run the following command to start the URSim container After all the containers are successfully built and the bridge network is established we can now start both containers. On one terminal run the following command to start the URSim container
```bash ```bash
docker run -it --name URSIM -p 6080:6080 -p8000:8000 -p7000:7000 -p5005:5005 -p50002:50002 -v./workspace:/workspace --network ros_ursim ursim:latest docker run --name URSIM -it -p 6080:6080 --network ros_ursim ursim:latest
``` ```
When successfully started this container will print its IP address in the terminal. Note this down: When successfully started this container will print its IP address in the terminal. Note this down:
@ -73,7 +73,7 @@ IP address of the simulator
On another terminal run On another terminal run
``` ```
docker run -it --name ROS --network ros_ursim -p50002:50002 -p8000:8000 -p7000:7000 -p5005:5005 ros2_humble:latest docker run -it --name ROS --network ros_ursim -p50002-50100:50002-50100 -p5005-8000:5005-8000 ros2_humble:latest
``` ```
Also note the IP address, using `hostname` Also note the IP address, using `hostname`