22
33set -e
44
5- VERSION=${1:- " object-v1 " } # object dataset --> "object- v1", collaborative dataset --> "collab-v1"
5+ VERSION=${1:- " multi-agent- v1" }
66DATAFOLDER=${2:-/ data/ $(whoami)}
77MAXFILES=${3:- 10}
88
@@ -11,11 +11,12 @@ DATAFOLDER="${DATAFOLDER}/CARLA"
1111
1212DOWNLOAD=" https://g-b0ef78.1d0d8d.03c0.data.globus.org/datasets/carla"
1313
14- if [ " $VERSION " = " ego-lidar " ]; then
14+ if [ " $VERSION " = " multi-agent-v1 " ]; then
1515 echo " Preparing to download ego-lidar dataset..."
16- SAVESUB=" ego-lidar"
17- SUBDIR=" ego-lidar"
18- files=(run_2022_10_27_10-20-59
16+ SAVESUB=" multi-agent-v1"
17+ SUBDIR=" multi-agent-v1"
18+ files=(
19+ run_2022_10_27_10-20-59
1920 run_2022_10_27_10-27-53
2021 run_2022_10_27_10-34-42
2122 run_2022_10_27_10-42-06
@@ -28,18 +29,8 @@ if [ "$VERSION" = "ego-lidar" ]; then
2829 run_2022_10_27_11-43-45
2930 run_2022_10_27_11-50-37
3031 )
31- elif [ " $VERSION " = " multi-agent-v1" ]; then
32- echo " Preparing to download multi-agent v1..."
33- SAVESUB=" multi-agent-v1"
34- SUBDIR=" multi-agent-v1"
35- files=(run_2022_10_31_13-34-52
36- run_2022_10_31_13-46-21
37- run_2022_10_31_13-57-59
38- run_2022_10_31_14-09-42
39- run_2022_10_31_14-21-09
40- )
4132else
42- echo " Cannot understand input version ${VERSION} ! Currently can only use 'ego-lidar' and ' multi-agent-v1'"
33+ echo " Cannot understand input version ${VERSION} ! Currently can only use 'multi-agent-v1'"
4334fi
4435
4536SAVEFULL=" ${DATAFOLDER} /${SAVESUB} "
0 commit comments