PX4-Autopilot icon indicating copy to clipboard operation
PX4-Autopilot copied to clipboard

Handle loss of position during backtransition

Open RomanBapst opened this issue 4 months ago • 0 comments

Solved Problem

When the estimator declares local position invalid during a VTOL backtransition in an autonomous mode, the vehicle enters a fixed bank loiter. This is not desired during a backtransition, as the vehicle will start to turn.

Solution

Explicitly handle the case where we don't control position during the backtransition by setting the roll setpoint to zero.

Changelog Entry

For release notes:

Bugfix: Prevent fixed bank loiter during backtransition when we lose local position.

Alternatives

We could also ...

Test coverage

  • Unit/integration test: ...
  • Simulation/hardware testing logs: https://review.px4.io/

Context

Related links, screenshot before/after, video

RomanBapst avatar Oct 16 '24 13:10 RomanBapst