Skip to content

docs(update): RTL types 4-5 docs for PR26220#26783

Closed
hamishwillee wants to merge 4 commits into
mainfrom
rtl_type4_5
Closed

docs(update): RTL types 4-5 docs for PR26220#26783
hamishwillee wants to merge 4 commits into
mainfrom
rtl_type4_5

Conversation

@hamishwillee

Copy link
Copy Markdown
Contributor

This updates the docs for the changes in #26220

  • Generic return doc - added updates for the new RTL_TYPE=5 from PR. Also added info on RTL_TYPE=4 which was omitted.
  • For the vehicle specific pages I also made it even more clear these document the default behaviour.

Comment thread docs/en/flight_modes/return.md
@github-actions

Copy link
Copy Markdown
Contributor

No broken links found in changed files.

Comment thread docs/en/flight_modes/return.md Outdated
Comment thread docs/en/flight_modes/return.md
Co-authored-by: Nick <145654544+ttechnick@users.noreply.github.com>
@hamishwillee

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request via rebase.

Copilot AI commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request via rebase.

Resolved the merge conflict in docs/en/flight_modes/return.md in commit 5d19900. The conflict was in the parameters table — the main branch had updated the RTL_TYPE=2 description with more detail, while this PR added RTL_TYPE=4 and RTL_TYPE=5. The resolved version includes both the updated RTL_TYPE=2 description from main and the new RTL_TYPE=4/RTL_TYPE=5 entries from this PR.

Comment thread docs/en/flight_modes/return.md Outdated
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Comment on lines 129 to +147
@@ -136,6 +140,11 @@ If no mission is defined PX4 will fly directly to home location and land (rally

If the mission changes during return mode, then the behaviour is re-evaluated based on the new mission following the same rules as above (e.g. if the new mission has no landing sequence and you're in a mission, the mission is reversed).

::: info
For `RTL_TYPE=4`, PX4 currently chooses between continuing to a mission landing and reversing toward home by comparing raw mission item indices.
This is only an approximation of the flown path length, because the number if mission items is not indicative of the distance remaining and non-position items are also counted.
:::

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be worth capturing

@hamishwillee

Copy link
Copy Markdown
Contributor Author

Closing - the most important bits are captured in #26968

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants