-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexecute.bash
More file actions
executable file
·32 lines (21 loc) · 1.24 KB
/
Copy pathexecute.bash
File metadata and controls
executable file
·32 lines (21 loc) · 1.24 KB
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
#!/bin/bash
SESSION="Mision"
tmux -2 new-session -d -s $SESSION
tmux new-window -t $SESSION:1 -n 'Monitor 0'
tmux send-keys "ros2 launch monitor execution_monitor.py drone_id:=0 config_file:=config/config_prueba_swarm2.yaml" C-m
tmux new-window -t $SESSION:2 -n 'Monitor 1'
tmux send-keys "ros2 launch monitor execution_monitor.py drone_id:=1 config_file:=config/config_prueba_swarm2.yaml" C-m
tmux new-window -t $SESSION:3 -n 'Monitor 2'
tmux send-keys "ros2 launch monitor execution_monitor.py drone_id:=2 config_file:=config/config_prueba_swarm2.yaml" C-m
tmux new-window -t $SESSION:4 -n 'Replanner'
tmux send-keys "ros2 launch replanning_manager replanning_manager.py" C-m
tmux new-window -t $SESSION:5 -n 'Viewer'
tmux send-keys "ros2 launch viewer viewer.py config_file:=config/config_prueba_swarm2.yaml" C-m
tmux new-window -t $SESSION:6 -n 'Mission Transmitter 0'
tmux send-keys "python3 mission_transmitter.py 3 cf" C-m
tmux new-window -t $SESSION:7 -n 'Mission Reciever 0'
tmux send-keys "python3 mission_receiver.py 0 cf" C-m
tmux new-window -t $SESSION:8 -n 'Mission Reciever 1'
tmux send-keys "python3 mission_receiver.py 1 cf" C-m
tmux new-window -t $SESSION:9 -n 'Mission Reciever 2'
tmux send-keys "python3 mission_receiver.py 2 cf" C-m