Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Land failsafe broken without GPS #11468

Closed
AuterionWrikeBot opened this issue Feb 16, 2019 · 8 comments · Fixed by #13143
Closed

Land failsafe broken without GPS #11468

AuterionWrikeBot opened this issue Feb 16, 2019 · 8 comments · Fixed by #13143

Comments

@AuterionWrikeBot
Copy link

AuterionWrikeBot commented Feb 16, 2019

When flying without GPS and losing RC the vehicle goes into land mode (given that it has been configured that way).
But the vehicle never detects landing because something with the flight task is broken (see messages below).

┆Attachments: Image-2019-02-16 01-08-33.png

@stale
Copy link

stale bot commented Jun 24, 2019

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.

@stale
Copy link

stale bot commented Jul 8, 2019

Closing as stale.

@julianoes
Copy link
Contributor

@bresch is this still an issue?

@stale
Copy link

stale bot commented Oct 9, 2019

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

@stale stale bot added the stale label Oct 9, 2019
@julianoes
Copy link
Contributor

Closing because there was no follow up.

@julianoes julianoes reopened this Oct 9, 2019
@stale stale bot removed the stale label Oct 9, 2019
@julianoes julianoes self-assigned this Oct 9, 2019
@julianoes
Copy link
Contributor

On a second read, let me reconsider this and check it.

@julianoes
Copy link
Contributor

I can reproduce this in SITL using gpssim stop and then disconnecting the joystick in QGC:

WARN  [commander] Manual control lost
WARN  [commander] Failsafe enabled: no RC
WARN  [mc_pos_control] Auto activation failed with error: Activation Failed
WARN  [mc_pos_control] Position-Ctrl activation failed with error: Activation Failed
WARN  [mc_pos_control] Previous flight task failed, switching to mode 1
WARN  [mc_pos_control] Auto activation failed with error: Activation Failed
WARN  [mc_pos_control] Position-Ctrl activation failed with error: Activation Failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed
WARN  [mc_pos_control] Position-Control Setpoint-Update failed

It looks like the problem is that it goes into Land instead of Descend mode. Land mode requires a valid position while descend should only require a baro.

FYI @MaEtUgR

@julianoes
Copy link
Contributor

NAVIGATION_STATE_DESCEND is mapped to the land functionality in navigator:
https://github.com/PX4/Firmware/blob/f9a5c91f8cc5f74ce8d2a0425f7b76d7af65a0a8/src/modules/navigator/navigator_main.cpp#L594-L597

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants