File tree 5 files changed +30
-2
lines changed
docs/pages/developer_guide/sitl_environment
5 files changed +30
-2
lines changed Original file line number Diff line number Diff line change
1
+ version : " 3.4"
2
+
3
+ services :
4
+ mapserver :
5
+ image : camptocamp/mapserver:latest-arm64
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 @@ -28,6 +28,14 @@ RUN cd $HOME/colcon_ws/src/gisnav && \
28
28
cd weights && \
29
29
$HOME/.local/lib/$USERNAME/gdown https://drive.google.com/uc?id=1M-VD35-qdB5Iw-AtbDBCKC7hPolFW9UY
30
30
31
+ # Install GDAL
32
+ RUN sudo apt-get -y upgrade && \
33
+ sudo apt-get -y update && \
34
+ sudo apt-get -y install software-properties-common && \
35
+ sudo add-apt-repository ppa:ubuntugis/ppa && \
36
+ sudo apt-get update && \
37
+ sudo apt-get -y install gdal-bin libgdal-dev \
38
+
31
39
# Python dependencies
32
40
RUN cd $HOME/colcon_ws/src/gisnav && \
33
41
pip3 install -r requirements.txt && \
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The `docker-compose.yaml` file defines the following services:
14
14
* Starts ` typhoon_h480 ` model at KSQL Airport
15
15
* ` mavros `
16
16
* Used for ArduPilot SITL
17
- * ` micro_ros_agent `
17
+ * ` micro-ros-agent `
18
18
* Used for PX4 SITL
19
19
* ` mapserver `
20
20
* WMS server with self-hosted [ NAIP] [ 2 ] and [ OSM Buildings] [ 3 ] data covering KSQL airport
Original file line number Diff line number Diff line change @@ -26,6 +26,18 @@ ROS version with the ``whereis ros2`` command:
26
26
echo " source /opt/ros/foxy/setup.bash" >> ~ /.bashrc
27
27
echo " source ~/colcon_ws/install/setup.bash" >> ~ /.bashrc
28
28
29
+ Install GDAL
30
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31
+ ``GDAL `` is required to install the ``geopandas `` Python dependency:
32
+
33
+ .. code-block :: text
34
+ :caption: Install GDAL
35
+
36
+ sudo apt-get -y install software-properties-common
37
+ sudo add-apt-repository ppa:ubuntugis/ppa
38
+ sudo apt-get update
39
+ sudo apt-get -y install gdal-bin libgdal-dev
40
+
29
41
Install GISNav
30
42
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31
43
Install GISNav in your ROS 2 Workspace:
You can’t perform that action at this time.
0 commit comments