File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,10 @@ services:
70
70
- driver : nvidia
71
71
count : 1
72
72
capabilities : [ gpu ]
73
- command : bash -c "source /opt/ros/foxy/setup.bash && source ~/colcon_ws/install/setup.bash && ros2 launch gisnav px4.launch.py"
73
+ command : >
74
+ bash -c "source /opt/ros/foxy/setup.bash && source ~/colcon_ws/install/setup.bash &&
75
+ export LD_PRELOAD=$(find $(pip3 show torch |grep Location: |cut -d' ' -f 2)/torch/lib -name 'libgomp*') &&
76
+ ros2 launch gisnav px4.launch.py"
74
77
75
78
px4 :
76
79
build :
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ RUN apt-get update --fix-missing && \
11
11
USER $USERNAME
12
12
13
13
# Install GDAL
14
- RUN sudo apt-get -y install software-properties-common && \
14
+ RUN sudo apt-get -y upgrade && \
15
+ sudo apt-get -y update && \
16
+ sudo apt-get -y install software-properties-common && \
15
17
sudo add-apt-repository ppa:ubuntugis/ppa && \
16
18
sudo apt-get update && \
17
19
sudo apt-get -y install gdal-bin libgdal-dev
You can’t perform that action at this time.
0 commit comments