File tree Expand file tree Collapse file tree
simulation/isaac-sim/installation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- echo " Installing gdown package"
3+ echo " Downloading the Ascent Aerosystems SITL package from AirLab Storage... "
44
5- pip install gdown
5+ ANDREWID=" "
6+ # Prompt for ANDREWID
7+ read -p " Please enter your Andrew ID: " ANDREWID
68
7- echo " Downloading the SITL package from Google Drive"
8-
9- gdown https://drive.google.com/uc\? id\= 1UxgezaTrHe4WJ28zsVeRhv1VYfOU5VK8
9+ # Check if ANDREWID is provided
10+ if [ -z " $ANDREWID " ]; then
11+ log_error " Error: Andrew ID cannot be empty"
12+ return 1
13+ fi
1014
15+ # Set ANDREWID as environment variable
16+ rsync --progress -avz ${ANDREWID} @airlab-storage.andrew.cmu.edu:/volume1/airstack/ascent_sitl/AscentAeroSystemsSITLPackage.zip /tmp/
1117
1218SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
1319
1420UNZIP_DIR=$SCRIPT_DIR /../sitl_integration
1521
1622echo " Unzipping the SITL package to $( readlink -f $UNZIP_DIR ) "
1723
18- unzip AscentAeroSystemsSITLPackage.zip -d $UNZIP_DIR
24+ unzip /tmp/ AscentAeroSystemsSITLPackage.zip -d $UNZIP_DIR
1925
20- rm AscentAeroSystemsSITLPackage.zip
26+ rm /tmp/ AscentAeroSystemsSITLPackage.zip
You can’t perform that action at this time.
0 commit comments