From 77b15797d350997d17e031823cad90dbb898f287 Mon Sep 17 00:00:00 2001 From: Woen-Sug Choi Date: Wed, 11 Sep 2024 10:27:13 +0900 Subject: [PATCH] add geoid path --- .docker/jazzy.amd64.dockerfile | 3 +++ .docker/jazzy.arm64v8.dockerfile | 1 + 2 files changed, 4 insertions(+) diff --git a/.docker/jazzy.amd64.dockerfile b/.docker/jazzy.amd64.dockerfile index 9e8417d0..82f7adce 100644 --- a/.docker/jazzy.amd64.dockerfile +++ b/.docker/jazzy.amd64.dockerfile @@ -92,6 +92,8 @@ sed --in-place --expression \ sed --in-place --expression \ '$i source "/opt/mavros/install/setup.bash"' /ros_entrypoint.sh && \ sed --in-place --expression \ +'$i export GEOGRAPHICLIB_GEOID_PATH=/usr/local/share/GeographicLib/geoids' /ros_entrypoint.sh && \ +sed --in-place --expression \ '$i export PYTHONPATH=\$PYTHONPATH:/opt/gazebo/install/lib/python' /ros_entrypoint.sh && \ sed --in-place --expression \ '$i export PATH=/opt/ardupilot_dave/ardupilot/build/sitl/bin:\$PATH' /ros_entrypoint.sh && \ @@ -107,6 +109,7 @@ USER $USER RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \ echo "source /opt/gazebo/install/setup.bash" >> ~/.bashrc && \ echo "source /opt/mavros/install/setup.bash" >> ~/.bashrc && \ + echo "export GEOGRAPHICLIB_GEOID_PATH=/usr/local/share/GeographicLib/geoids" >> ~/.bashrc && \ echo "export PYTHONPATH=\$PYTHONPATH:/opt/gazebo/install/lib/python" >> ~/.bashrc && \ echo "export PATH=/opt/ardupilot_dave/ardupilot/build/sitl/bin:\$PATH" >> ~/.bashrc && \ echo "export PATH=/opt/ardupilot_dave/ardupilot/Tools/autotest:\$PATH" >> ~/.bashrc && \ diff --git a/.docker/jazzy.arm64v8.dockerfile b/.docker/jazzy.arm64v8.dockerfile index dcab8895..ac7cef67 100644 --- a/.docker/jazzy.arm64v8.dockerfile +++ b/.docker/jazzy.arm64v8.dockerfile @@ -154,6 +154,7 @@ USER docker RUN echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc && \ echo "source /opt/gazebo/install/setup.bash" >> ~/.bashrc && \ echo "source /opt/mavros/install/setup.bash" >> ~/.bashrc && \ + echo "export GEOGRAPHICLIB_GEOID_PATH=/usr/local/share/GeographicLib/geoids" >> ~/.bashrc && \ echo "export PYTHONPATH=\$PYTHONPATH:/opt/gazebo/install/lib/python" >> ~/.bashrc && \ echo "export PATH=/opt/ardupilot_dave/ardupilot/build/sitl/bin:\$PATH" >> ~/.bashrc && \ echo "export PATH=/opt/ardupilot_dave/ardupilot/Tools/autotest:\$PATH" >> ~/.bashrc && \