File tree 5 files changed +10
-6
lines changed
docs/pages/developer_guide
5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ Setup PX4
14
14
___________________________________________________
15
15
**These instructions are written for PX4 version >=1.13.0, <=1.14.0-beta1 **
16
16
17
- Follow the PX4 instructions to setup your `Ubuntu Development Environment `_ with `Fast DDS `_ support.
17
+ Follow the PX4 instructions to setup your `Ubuntu Development Environment `_ with `Fast DDS `_ and `PX4-ROS 2 Bridge `_
18
+ support.
18
19
19
20
.. _Ubuntu Development Environment : https://docs.px4.io/master/en/simulation/ros_interface.html
20
21
.. _Fast DDS : https://docs.px4.io/main/en/dev_setup/fast-dds-installation.html
22
+ .. _PX4-ROS 2 Bridge : https://docs.px4.io/main/en/ros/ros2_comm.html
21
23
22
24
Build Gazebo simulation
23
25
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ convenient to proxy an existing commercial tile-based endpoint.
100
100
docker run \
101
101
--name $CONTAINER_NAME \
102
102
-p 80:80 \
103
- -v $PWD /mapfiles/:$MASERVER_PATH /:ro \
103
+ -v $PWD /mapfiles/:$MAPSERVER_PATH /:ro \
104
104
camptocamp/mapserver
105
105
106
106
Test your MapServer WMS service by opening the capabilities XML in your browser:
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ Install GISNav in your ROS 2 Workspace:
36
36
cd ~ /colcon_ws
37
37
mkdir -p src && cd " $_ "
38
38
git clone https://github.com/hmakelin/gisnav.git
39
+ git clone https://github.com/hmakelin/gisnav_msgs.git
40
+ rosdep update
41
+ rosdep install --from-paths . -y --ignore-src
39
42
cd gisnav
40
43
pip3 install -r requirements.txt
41
44
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ SITL tests are under the ``test/sitl`` folder. They are simple Python scripts:
4
4
5
5
.. code-block :: bash
6
6
7
- cd ~ /px4_ros_com_ros2 /src/gisnav/test/sitl
7
+ cd ~ /colcon_ws /src/gisnav/test/sitl
8
8
python sitl_test_mock_gps_node.py
9
9
10
10
Flight Log Analysis
Original file line number Diff line number Diff line change 11
11
)
12
12
return position
13
13
except DataValueError as dve:
14
- self.get_logger().warn(f 'Error determining vehicle position: \n {dve}, \n {traceback.print_exc()} .')
14
+ self.get_logger().error( 'Error determining vehicle position.')
15
15
return None
16
-
17
16
"""
18
17
from __future__ import annotations # Python version 3.7+
19
18
@@ -174,7 +173,7 @@ def __post_init__(self):
174
173
# noinspection PyClassHasNoInit
175
174
@dataclass (frozen = True )
176
175
class ContextualMapData (_ImageHolder ):
177
- """Contains the rotated and cropped map image pose estimation"""
176
+ """Contains the rotated and cropped map image for pose estimation"""
178
177
image : Img = field (init = False ) # Cropped and rotated map which is the same size as the camera frames
179
178
elevation : Optional [Img ] = field (init = None ) # Rotated elevation raster (optional) in meters
180
179
rotation : float # radians
You can’t perform that action at this time.
0 commit comments