Skip to content

RTL_ALT_FINAL is relative to home, not terrain, causing hard landing at rally point #31968

Description

@pa-hagen

Bug report

Issue details
RTL_ALT_FINAL is calculated relative to HOME, even if RTL_TYPE is terrain and TERRAIN is enabled.
This causes the drone to descend all the way to ground at LAND_SPEED_HIGH if RTL target (RALLY point) is located higher in the terrain relative to HOME and RTL_ALT_FINAL > 0

Version
Arducopter 4.5.2 in IRL. Verifired in Arducopter 4.7 in SITL.

Platform
[ ] All
[ ] AntennaTracker
[x] Copter
[ ] Plane
[ ] Rover
[ ] Submarine

Airframe type
Hex

Hardware type
Cube orange

Logs
https://www.pahagen.com/ardupilot/00199-2026-01-15_10-34-13.tlog
(RTL start at approx 95% to end. Mode changed to break approx 5 meters above ground to prevent hard landing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions