Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hwurzburg committed Jan 31, 2024
1 parent aba9f8b commit a340fa0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common/source/docs/common-gps-septentrio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ If a single unit with two antennas is used please set the following parameters:
- :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 second 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)

See the :ref:`<antenna_offsets>` section for a diagram illustrating the directions of these offsets.
See the :ref:`Antenna Offsets<antenna-offsets>` 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).

Expand Down
8 changes: 4 additions & 4 deletions copter/source/docs/traditional-helicopter-tailrotor-setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,21 @@ Setting the trim value of the Servo output is important to ensuring that the int
For DDFP tails using V4.5 or later
++++++++++++++++++++++++++++++++++

If no :ref:`<collective-to-tailrotor-compensation>` is used, then it is recommended that the :ref:`H_YAW_TRIM<H_YAW_TRIM>` parameter is set to minimize the yaw I term in the hover. To determine this:
If no :ref:`collective-to-tailrotor-compensation` is used, then it is recommended that the :ref:`H_YAW_TRIM<H_YAW_TRIM>` parameter is set to minimize the yaw I term in the hover. To determine this:

- Ensure PID logging is switched on in the :ref:`LOG_BITMASK<LOG_BITMASK>` parameter.
- Hover the aircraft, maintaining altitude. For best results, this is preferentially done on a light wind day. If possible, leave the aircraft drift with the wind and mintain a fixed height (ALT HOLD is very useful for this).
- After the flight, download the log and find the ``PIDY.I`` message. Zoom in the on that portion of the flight with the hovering (should be a relatively flat line). Determine the average value of the I term. Enter this average value in the :ref:`H_YAW_TRIM<H_YAW_TRIM>` parameter.
- To confirm this has been done correctly repeat the flight. Now, in the hovering portion of the flight, the yaw I Term should be close to zero.

If :ref:`<collective-to-tailrotor-compensation>` is used, then set the :ref:`H_YAW_TRIM<H_YAW_TRIM>` sufficient to compensate for the main rotor zero blade pitch drag.
If :ref:`collective-to-tailrotor-compensation` is used, then set the :ref:`H_YAW_TRIM<H_YAW_TRIM>` sufficient to compensate for the main rotor zero blade pitch drag.

Other Tail Types and DDFP using firmware before V4.5
++++++++++++++++++++++++++++++++++++++++++++++++++++

If no :ref:`<collective-to-tailrotor-compensation>` is used, then it is recommended that the ``SERVOx_TRIM`` for the tailrotor servo is set to the PWM that corresponds to the tailrotor pitch required for hover, or the motor speed for DDFP. To determine this, hover the aircraft. After the flight, pull the log and determine the average PWM value for the servo for hovering flight. Either set that as the ``SERVOx_TRIM`` or mechanically adjust the tail pitch (non-DDFP tail types) for the tail pitch corresponding to the PWM. Then set the ``SERVOx_TRIM`` to the servo midpoint. The latter approach is usually preferable.
If no :ref:`collective-to-tailrotor-compensation` is used, then it is recommended that the ``SERVOx_TRIM`` for the tailrotor servo is set to the PWM that corresponds to the tailrotor pitch required for hover, or the motor speed for DDFP. To determine this, hover the aircraft. After the flight, pull the log and determine the average PWM value for the servo for hovering flight. Either set that as the ``SERVOx_TRIM`` or mechanically adjust the tail pitch (non-DDFP tail types) for the tail pitch corresponding to the PWM. Then set the ``SERVOx_TRIM`` to the servo midpoint. The latter approach is usually preferable.

If If no :ref:`<collective-to-tailrotor-compensation>` is used, the set the ``SERVOx_TRIM`` for the PWM that corresponds to zero tailrotor pitch. Or, the tailrotor pitch can be mechanically adjusted to zero pitch for the servo midpoint.
If If no :ref:`collective-to-tailrotor-compensation` is used, the set the ``SERVOx_TRIM`` for the PWM that corresponds to zero tailrotor pitch. Or, the tailrotor pitch can be mechanically adjusted to zero pitch for the servo midpoint.

.. _collective-to-tailrotor-compensation:

Expand Down

0 comments on commit a340fa0

Please sign in to comment.