-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_sim.sh
65 lines (45 loc) · 5.48 KB
/
run_sim.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env bash
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim1_0.2.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim1_0.2.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial2/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim1_0.2.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial3/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim1_0.5.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim1_0.5.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial2/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim1_0.5.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial3/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim1_0.7.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim1_0.7.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial2/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim1_0.7.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial3/ \;
./plot.py sim1_0.2 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_1_0.2_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_2_0.2_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_3_0.2_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_4_0.2_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_5_0.2_1.0
./plot.py sim1_0.5 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_1_0.5_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_2_0.5_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_3_0.5_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_4_0.5_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_5_0.5_1.0
./plot.py sim1_0.7 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_1_0.7_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_2_0.7_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_3_0.7_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_4_0.7_1.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim1/trial1/results_5_0.7_1.0
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim2_0.2.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim2_0.2.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial2/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim2_0.2.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial3/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim2_0.5.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim2_0.5.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial2/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim2_0.5.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial3/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim2_0.7.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim2_0.7.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial2/ \;
timeout 32m roslaunch ~/catkin_ws/src/gitagent/Launch/launch5_sim2_0.7.launch
find . -maxdepth 1 -type f -exec mv {} ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial3/ \;
./plot.py sim2_0.2 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_1_0.2_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_2_0.2_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_3_0.2_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_4_0.2_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_5_0.2_2.0
./plot.py sim2_0.5 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_1_0.5_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_2_0.5_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_3_0.5_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_4_0.5_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_5_0.5_2.0
./plot.py sim2_0.7 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_1_0.7_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_2_0.7_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_3_0.7_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_4_0.7_2.0 ~/catkin_ws/results/test/pop_size.2/prova.2/sim2/trial1/results_5_0.7_2.0
find . -name 'sim*' | zip all.zip -@
./send.sh