Skip to content

Commit

Permalink
added ROBOT_NAME parameter toi compose
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Delicat <jakub.delicat@husarion.com>
  • Loading branch information
delihus committed Jan 30, 2024
1 parent 6d1ddd0 commit 6362042
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ If you want to use ROSbot 2R replace [the launchfile](https://github.com/husario

## Run with `docker compose`

Select the ROSbot:
```bash
export ROBOT_NAME=rosbot # or rosbot_xl
```

To start simulation build and run webots simulator container type:

```bash
Expand Down
2 changes: 1 addition & 1 deletion demo/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ services:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- /dev/dri:/dev/dri
command: >
ros2 launch webots_ros2_husarion rosbot_xl_launch.py
ros2 launch webots_ros2_husarion ${ROBOT_NAME:-rosbot_xl}_launch.py

0 comments on commit 6362042

Please sign in to comment.