Skip to content

Commit

Permalink
Common: SBF GPS-for-yaw info
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Nov 23, 2023
1 parent 9c7d4ab commit 20d7fb7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions common/source/docs/common-gps-septentrio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,20 @@ If you want to inject RTCM corrections to both GPS1 and GPS2 then use:
Note:
Baud rate is auto-negotiated by the ArduPilot firmware, and might get set to something different than the 115200 baud.

GPS-for-Yaw
===========

:ref:`GPS-for-yaw<common-gps-for-yaw>` is possible using two separate GPSs or, in ArduPilot 4.5 (or higher), a single unit with two antennas may also be used.

If a single unit with two antennas is used please set the following parameters:

- :ref:`GPS_TYPE <GPS_TYPE>` = 26 (SBF-DualAntenna)
- :ref:`GPS_MB1_TYPE <GPS_MB1_TYPE>` = 1 (RelativeToCustomBase)
- :ref:`GPS_MB1_OFS_X <GPS_MB1_OFS_X>`, :ref:`GPS_MB1_OFS_Y <GPS_MB1_OFS_Y>` and :ref:`GPS_MB1_OFS_Z <GPS_MB1_OFS_Z>` to match the offset of the main antenna from the first in meters. For example if the second antenna is 50cm to the right of main antenna set :ref:`GPS_MB1_OFS_Y <GPS_MB1_OFS_Y>` = -0.5.
- :ref:`EK3_SRC1_YAW <EK3_SRC1_YAW>` = 2 (GPS)

Note that the yaw calculation requires the GPS have an RTK fixed lock and the yaw calculation is only correct while the vehicle is upright so it should not be used on vehicle that spend significant time at extreme lean angles (e.g tail sitters).

Video including setup instructions
==================================
.. youtube:: HWJnG3tu9iM
Expand Down

0 comments on commit 20d7fb7

Please sign in to comment.