Compare commits
6 Commits
c665883185
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ea5c3783d | |||
| d93b4b8de1 | |||
| 70f78ada2b | |||
| cdec866f4f | |||
| ce3f00c3e2 | |||
| 6942ff044e |
@@ -1,4 +1,3 @@
|
||||
|
||||
# OSC–ROS 2 Interface
|
||||
|
||||
## Description
|
||||
@@ -59,7 +58,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
|
||||
|
||||
```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:
|
||||
@@ -73,7 +72,7 @@ IP address of the simulator
|
||||
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 -v ./workspace:/workspace ros2_humble:latest
|
||||
```
|
||||
Also note the IP address, using `hostname`
|
||||
|
||||
@@ -145,7 +144,7 @@ If everything worked, this should either move the robot or complain about it bei
|
||||
Now you should find three new folders in your directory: log, build and install. You can check with `ls`
|
||||
```bash
|
||||
workspace/
|
||||
├── src
|
||||
├── srcdocker run --name URSIM
|
||||
├── build
|
||||
├── install
|
||||
└── log
|
||||
|
||||
Reference in New Issue
Block a user