Skip to content

Commit 24ea33c

Browse files
committed
new tmuxinator demos dir
1 parent 501910c commit 24ea33c

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

docker/demos/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
### 1. Install Tmuxinator
2+
3+
Follow the installation instructions for Tmuxinator [here](https://github.com/tmuxinator/tmuxinator?tab=readme-ov-file#installation)
4+
5+
### 2. Running the demos using Tmuxinator and Docker
6+
7+
#### 2.1. First, export the tmuxinator project path:
8+
9+
```
10+
cd linorobot2/docker/demos
11+
export TMUXINATOR_CONFIG=$PWD
12+
```
13+
14+
#### 2.2. Running the Nav2 demo in Gazebo::
15+
16+
```
17+
tmuxinator start sim
18+
```

docker/sim.yaml renamed to docker/demos/sim.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
name: linorobot2-sim-demo
2+
root: <%= ENV["TMUXINATOR_CONFIG"] %>
23
on_project_start:
34
- export DISPLAY=:200
45
- export WORLD=turtlebot3_world
56
- export SIM=true
67
- export RVIZ=true
78
- export SPAWN_X=0.5
89

9-
on_project_exit:
10+
on_project_stop:
1011
- docker compose down
11-
tmux_options: -f $HOME/.config/tmuxinator/eztmux/.tmux.conf
12+
13+
tmux_options: -f $HOME/.config/tmuxinator/default.conf
1214
windows:
1315
- main:
1416
panes:

0 commit comments

Comments
 (0)