Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions run_trial.bash
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ usage()
}

# Parse arguments
RUNTIME="runc"
nvidia_arg=""
image_nvidia=""

Expand All @@ -34,6 +35,7 @@ do

case $key in
-n|--nvidia)
RUNTIME="nvidia"
nvidia_arg="-n"
image_nvidia="-nvidia"
shift
Expand Down Expand Up @@ -170,6 +172,8 @@ docker run \
--env ROS_MASTER_URI=${ROS_MASTER_URI} \
--env ROS_IP=${COMPETITOR_ROS_IP} \
--ip ${COMPETITOR_ROS_IP} \
--privileged \
--runtime=$RUNTIME \
${DOCKERHUB_IMAGE} &

# Run competition until server is ended
Expand Down