-
Notifications
You must be signed in to change notification settings - Fork 6
/
sim_tmux_launcher.sh
executable file
·36 lines (25 loc) · 1.33 KB
/
sim_tmux_launcher.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
source ~/.bashrc
tmux new-session -d -s flo
tmux rename-window startup
tmux send-keys 'connect_to_robot 0 && roscore' Enter
tmux split-window -t flo
#tmux send-keys 'mon launch --name=flo_launcher flo_core flo_bringup.launch' Enter
tmux send-keys 'connect_to_robot 0 && roslaunch --wait flo_core flo_sim.launch' Enter # it is just more stable..
tmux split-window -t flo -h
tmux send-keys 'htop' Enter
tmux split-window -t flo -h
tmux send-keys 'cd ~/catkin_ws/src/FloSystem/flo_web/webrtc_robot_router/' Enter
tmux send-keys 'npm run tsc && pm2 start ./build/app.js && pm2 logs' Enter
# need to make this use a build version
tmux rotate-window -t flo
tmux split-window -t flo -h
#tmux send-keys 'mon launch --name=flo_launcher flo_core flo_bringup.launch' Enter
tmux send-keys 'connect_to_robot 0 && sleep 20 && roslaunch --wait flo_telepresence realsense-sp-1.launch platform:=podium' Enter # it is just more stable..
tmux split-window -t flo
#tmux send-keys 'mon launch --name=flo_launcher flo_core flo_bringup.launch' Enter
tmux send-keys 'connect_to_robot 0 && sleep 30 && roslaunch --wait flo_telepresence realsense-sp-2.launch platform:=podium' Enter # it is just more stable..
tmux new-window -t flo -n audio
tmux send-keys 'docker-compose build && docker-compose up' Enter
tmux split-window -t flo
tmux select-window -t flo -n