File tree Expand file tree Collapse file tree
sas_ros_jazzy_coppeliasim Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,5 @@ ENV COPPELIASIM_FILE=$COPPELIASIM_FILE
1414SHELL ["/bin/bash" , "-c" ]
1515ENV BASH_ENV="/etc/bash_env"
1616
17- # Install CoppeliaSim.
18- RUN cd ~/git/docker_recipes && git pull
19- RUN chmod +x ~/git/docker_recipes/dependencies/install_coppeliasim.sh
20- RUN bash -c '~/git/docker_recipes/dependencies/install_coppeliasim.sh'
17+ RUN chmod +x ~/sas_ws/src/sas/.devel/scripts/setup_sas_ros_jazzy_coppeliasim.sh
18+ RUN cd ~/sas_ws/src/sas/.devel/scripts && bash -c "./setup_sas_ros_jazzy_coppeliasim.sh"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Based on https://github.com/Adorno-Lab/docker_recipes/blob/8a94fb42c7fc7579343f83584c00108536366faf/dependencies/install_coppeliasim.sh#L1
3+
4+ apt-get update -q
5+ apt-get install -y --no-install-recommends \
6+ vim tar xz-utils \
7+ libx11-6 libxcb1 libxau6 libgl1-mesa-dev \
8+ xvfb dbus-x11 x11-utils libxkbcommon-x11-0 \
9+ libavcodec-dev libavformat-dev libswscale-dev \
10+ python3 python3-pip python3-venv libraw1394-11 libmpfr6 \
11+ libusb-1.0-0
12+
13+ python3 -m install pyzmq cbor2 --break-system-packages
14+
15+ mkdir -p ~ /utils
16+ echo " Downloading ${COPPELIASIM_FILE} ."
17+ cd ~ /utils || exit 1
18+ curl --progress-bar --remote-name --location \
19+ https://downloads.coppeliarobotics.com/" ${COPPELIASIM_RELEASE} " /" ${COPPELIASIM_FILE} " || exit 1
20+ tar -xf ~ /utils/" ${COPPELIASIM_FILE} " \
21+ echo " export COPPELIASIM_PATH='~/utils/CoppeliaSim_Edu_${COPPELIASIM_RELEASE} _${UBUNTU_VERSION} '" >> ~ /.bashrc
22+ # shellcheck disable=SC2016
23+ # Suppressed because we want to use $COPPELIASIM_PATH in bashrc.
24+ echo ' alias coppeliasim=$COPPELIASIM_PATH/coppeliaSim.sh & ' >> ~ /.bashrc
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments