mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
fixed tailsitter transitions (#20756)
Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
@@ -174,6 +174,8 @@ void Tailsitter::update_vtol_state()
|
|||||||
|
|
||||||
void Tailsitter::update_transition_state()
|
void Tailsitter::update_transition_state()
|
||||||
{
|
{
|
||||||
|
VtolType::update_transition_state();
|
||||||
|
|
||||||
const hrt_abstime now = hrt_absolute_time();
|
const hrt_abstime now = hrt_absolute_time();
|
||||||
|
|
||||||
// we need the incoming (virtual) mc attitude setpoints to be recent, otherwise return (means the previous setpoint stays active)
|
// we need the incoming (virtual) mc attitude setpoints to be recent, otherwise return (means the previous setpoint stays active)
|
||||||
|
|||||||
Reference in New Issue
Block a user