Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
btalb committed Mar 25, 2022
2 parents f473fac + 0dfd539 commit b85a2fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/benchbot_run
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ function exit_gracefully() {
close_network $network_forwarding $network_policy
fi
kill_benchbot
xhost -local:root > /dev/null
exit ${exit_code:-0}
}

Expand Down Expand Up @@ -360,7 +361,6 @@ ${cmd// /$'\t'} --ip "$URL_SUPERVISOR" -d $DOCKER_TAG_BACKEND /bin/bash -c \
echo -e "\n${colour_blue}Starting container for BenchBot Debugging:${colour_nc}"
cmd="${docker_run//'$name'/benchbot_debug}"
${cmd// /$'\t'} --ip "$URL_DEBUG" -it -d $DOCKER_TAG_BACKEND /bin/bash
xhost -local:root > /dev/null

# Print the output of the Supervisor, watching for failures
header_block "BENCHBOT IS RUNNING (Ctrl^C to exit) ..." ${colour_green}
Expand All @@ -372,6 +372,7 @@ while [ -n "$(docker ps -q -f 'name=benchbot_supervisor')" ] && \
[ -n "$(docker ps -q -f 'name=benchbot_robot')" ]); do
sleep 1
done
# sleep infinity

if [ -n "$simulator_required" ] && \
[ -z "$(docker ps -q -f 'name=benchbot_robot')" ]; then
Expand Down
2 changes: 1 addition & 1 deletion docker/shared_tools.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ENV BENCHBOT_CONTROLLER_PATH="$BENCHBOT_DIR/benchbot_robot_controller"
RUN git clone $BENCHBOT_CONTROLLER_GIT $BENCHBOT_CONTROLLER_PATH && \
pushd $BENCHBOT_CONTROLLER_PATH && git checkout $BENCHBOT_CONTROLLER_HASH && \
pip install -r requirements.txt && pushd $ROS_WS_PATH && \
pushd src && git clone https://github.com/eric-wieser/ros_numpy.git && popd && \
pushd src && git clone https://github.com/eric-wieser/ros_numpy && popd && \
ln -sv $BENCHBOT_CONTROLLER_PATH src/ && source devel/setup.bash && catkin_make

# Create a place to mount our add-ons, & install manager dependencies
Expand Down

0 comments on commit b85a2fa

Please sign in to comment.