PX4 return to launch settiongs not working

image

A fixed-wing aircraft is being tested on the GAZEBO simulator.
In the safety menu, the Return to launch setting was set to ‘loiter and do not land’. Created an RC loss situation. But it doesn’t keep the loiter altitude 80 I set.
And when it reaches the landing altitude set in the mission, it starts landing.

I am not landing and loiter is the purpose.

That doesn’t sound good. @bkueng have you verified the failsafe behavior with fixedwing?

Not specifically, it’s mostly agnostic. @jypbeck89 does it actually switch to land mode?

Yes, it changes to landing mode

@jypbeck89 this was recently introduced, I have a fix here: fix failsafe: correctly handle Hold RC loss action by bkueng · Pull Request #21403 · PX4/PX4-Autopilot · GitHub.

BTW you can also check the failsafe behavior here: Failsafe State Machine Simulation | PX4 User Guide

2 Likes

Hi @bkueng, @JulianOes.

Was this fixed?
Because I tested today (29th July) with PX4 v1.14.0 and with v1.14.3 on SITL and I am still getting the same response. The fixed-wing vehicle lands on every instance, even though the parameter is set to “Return to launch, then Loiter and do not land” (RTL_LAND_DELAY = -1).

Can you try with main or the v1.15.0 beta version?

@Jigyasu Please don’t revive older posts. I recommend you try @bkueng suggestion and open a new post if this doesn’t solve your issue.