Skip to content

Commit 5090847

Browse files
committed
Add camera topic remapping example to dev guide.
1 parent 8f50806 commit 5090847

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/pages/developer_guide.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,17 @@ the PX4 User Guide.
318318
.. seealso::
319319
`PX4-ROS 2 bridge <https://docs.px4.io/master/en/ros/ros2_comm.html>`_ for more information on the PX4-ROS 2 bridge
320320

321+
Remap ROS 2 Topics
322+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
323+
By default, the :class:`.CameraInfo` and :class:`px4_msgs.Image` messages are expected at ``camera/camera_info`` and
324+
``camera/image_raw`` topics, respectively. The topics can be remapped:
325+
326+
.. code-block:: bash
327+
328+
ros2 run gisnav mock_gps_node --mavros --ros-args --log-level info \
329+
--params-file src/gisnav/config/typhoon_h480__ksql_airport_ardupilot.yaml \
330+
-r camera/camera_info:=camera_info -r camera/image_raw:=image_raw
331+
321332
Testing
322333
====================================================
323334
Unit & ROS 2 integration tests

0 commit comments

Comments
 (0)