Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tkoff and landing autoflap #6482

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions plane/source/docs/automatic-flaps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Automatic Flaps
===============

Plane can control flaps in autonomous modes based on an airspeed
schedule. Simply put you can specify two speeds and two flap settings.
schedule and/or during autotakeoffs and landings. Simply put you can specify two speeds and two flap settings.
If your target speed (not your actual speed) is above the specified
speeds then your flaps are set to the default (trim) position. If your
target speed is lowered below the first flap speed, then flaps are
Expand All @@ -28,18 +28,23 @@ channel function for the channel you are using for flaps to a value of
3.

Next set the parameters for your two flap speeds and flap values. These
parameters are :ref:`FLAP_1_PERCNT<FLAP_1_PERCNT>`, :ref:`FLAP_2_PERCNT<FLAP_2_PERCNT>`, :ref:`FLAP_1_SPEED<FLAP_1_SPEED>`, :ref:`FLAP_2_SPEED<FLAP_2_SPEED>`
parameters are :ref:`FLAP_1_PERCNT<FLAP_1_PERCNT>`, :ref:`FLAP_2_PERCNT<FLAP_2_PERCNT>`, :ref:`FLAP_1_SPEED<FLAP_1_SPEED>`, :ref:`FLAP_2_SPEED<FLAP_2_SPEED>`

Redo your radio calibration. Be sure to set the flap switch to the zero
flap position before finishing the radio calibration so that zero flaps
is stored as the trim (default) position.

That is basically all the setup required for flaps. If you find that
That is basically all the setup required for speed/manual controlled flaps. If you find that
your flaps are moving backwards from what you expect, change the
reversing parameter for your flap channel, for example
:ref:`SERVO5_REVERSED<SERVO5_REVERSED>`. Set it to 1 to reverse the flaps, set to 0 for normal
operation.

In addition, you can independently have flap positions for automatic takeoffs and/:or landings using:

- :ref:`LAND_FLAP_PERCNT<LAND_FLAP_PERCNT>`
- :ref:`TKOFF_FLAP_PCNT<TKOFF_FLAP_PCNT>`

Using flaps
~~~~~~~~~~~

Expand Down