Px4-autopilot: failsafe after takeoff shouldn't climb first

Created on 5 Jun 2018  路  13Comments  路  Source: PX4/PX4-Autopilot

In SITL, when I do a normal commander takeoff test, the drone first goes to the takeoff altitude, then it goes into failsafe because there is neither RC nor a data link. This means it will rise to a default altitude of 5 meters before descending, loiter, and finally landing.

The fact that it rises first in failsafe when it is right over the takeoff spot is not intuitive in my opinion. Better would be if it just descended and landed again.

pxh> commander takeoff
pxh> INFO  [commander] Takeoff detected
WARN  [commander_tests] Failsafe enabled: no datalink
INFO  [navigator] RTL HOME activated
INFO  [navigator] RTL: climb to 493 m (5 m above home)
INFO  [navigator] RTL: return at 493 m (5 m above home)
INFO  [navigator] RTL: descend to 493 m (5 m above home)
INFO  [navigator] RTL: loiter 5.0s
WARN  [navigator] RTL: land at home
INFO  [commander] Landing detected
bug multicopter stale

All 13 comments

This conversation seems related: https://github.com/PX4/Firmware/pull/8738

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Fixed Wing might need different handling for this.

Someone reported that the vehicle also goes up to reach RTL altitude even if the drone is already above home, ready to land. Not sure if this is true, but we have to remember to check those cases as well.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

We need to implement a sort RTL cone to solve that. I even had a case where the drone was on the ground and just not disarmed when the battery failsafe RTL was triggered.

FYI @MaEtUgR

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Solved by #12382

Not really. By default it's not enabled and it still climbs to a certain minimum altitude even when enabled.

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

Is this fixed?

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings