From 4bd16840640db7e78c57f8c54973c16e95ddf3b9 Mon Sep 17 00:00:00 2001 From: Henry Wurzburg Date: Tue, 28 Nov 2023 10:49:26 -0600 Subject: [PATCH] SBF GSP-for-yaw info addition --- common/source/docs/common-gps-septentrio.rst | 39 ++++++++++++++------ 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/common/source/docs/common-gps-septentrio.rst b/common/source/docs/common-gps-septentrio.rst index eadcf02ccd..a3ad2dff1a 100644 --- a/common/source/docs/common-gps-septentrio.rst +++ b/common/source/docs/common-gps-septentrio.rst @@ -18,26 +18,43 @@ Setup instructions To setup this using GPS1 input (serial3) configure these parameters: -- GPS_INJECT_TO,0 -- GPS_RATE_MS,100 -- GPS_TYPE,10 -- :ref:`SERIAL3_BAUD`,115 -- :ref:`SERIAL3_PROTOCOL`,5 +- :ref:`GPS_INJECT_TO` = 0 (send to first GPS) +- :ref:`GPS_RATE_MS` = 100 +- :ref:`GPS_TYPE` = 10 (SBF) +- :ref:`SERIAL3_BAUD` = 115 +- :ref:`SERIAL3_PROTOCOL` = 5 (GPS) To setup this using GPS2 input (serial4) configure these parameters: -- GPS_INJECT_TO,1 -- GPS_RATE_MS2,100 -- GPS_TYPE2,10 -- :ref:`SERIAL4_BAUD`,115 -- :ref:`SERIAL4_PROTOCOL`,5 +- :ref:`GPS_INJECT_TO` = 1 (send to 2nd GPS) +- :ref:`GPS_RATE_MS2` = 100 +- :ref:`GPS_TYPE2` = 10 (SBF) +- :ref:`SERIAL4_BAUD` = 115 +- :ref:`SERIAL4_PROTOCOL` = 5 (GPS) If you want to inject RTCM corrections to both GPS1 and GPS2 then use: -- GPS_INJECT_TO,127 + +- :ref:`GPS_INJECT_TO` = 127 (send to all) 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` 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 ` = 26 (SBF-DualAntenna) +- :ref:`GPS_MB1_TYPE ` = 1 (RelativeToCustomBase) +- :ref:`GPS_MB1_OFS_X `, :ref:`GPS_MB1_OFS_Y ` and :ref:`GPS_MB1_OFS_Z ` to match the offset of the main antenna from the second in meters. For example if the second antenna is 50cm to the right of main antenna set :ref:`GPS_MB1_OFS_Y ` = -0.5. +- :ref:`EK3_SRC1_YAW ` = 2 (GPS) + +See the :ref:`` section for a diagram illustrating the directions of these offsets. + +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