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

[Bug] Mission start command sets idle after reboot instead of takeoff #22072

Closed
tstastny opened this issue Sep 12, 2023 · 2 comments · Fixed by #22114
Closed

[Bug] Mission start command sets idle after reboot instead of takeoff #22072

tstastny opened this issue Sep 12, 2023 · 2 comments · Fixed by #22114

Comments

@tstastny
Copy link

Describe the bug

Ok - so this is a real one. I thought I just messed up some branches / versions etc last time I caught this, but it happened again.
#21358 (comment)

Title describes it. Leads to runaway.

Sets IDLE position setpoint type instead of takeoff.
image

My guess is some bug in navigator on that command, not setting the right item for some reason .. and then secondary issue on fixedwing position controller that holds the last throttle command (which was initialized to cruise throttle in position mode) -- but need to investigate further.

To Reproduce

I haven't been able to reliably reproduce yet. This is only second time I've seen it. But order of operations:

  1. make px4_sitl gazebo-classic_plane
  2. make a mission with a takeoff
  3. slide for takeoff in QGC
  4. let it finish the mission
  5. dont delete the mission if it asks you to
  6. kill the sim
  7. make px4_sitl gazebo-classic_plane
  8. dont delete the mission if it asks you to
  9. slide for takeoff in QGC
  10. plane will keep cruise throttle but set IDLE mode position setpoint type

Expected behavior

Should set takeoff item, and takeoff properly.

Screenshot / Media

No response

Flight Log

https://review.px4.io/plot_app?log=9bfc46e9-82f4-450f-af9c-c0dcceb82615

Software Version

main - was testing fix branch.

Flight controller

sim

Vehicle type

Fixed Wing

How are the different components wired up (including port information)

No response

Additional context

No response

@DronecodeBot
Copy link

This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:

https://discuss.px4.io/t/px4-maintainers-call-september-12-2023/34150/1

@sfuhrer
Copy link
Contributor

sfuhrer commented Sep 20, 2023

I was able to reproduce following your guide above. Got an additional warning message: No valid mission available, refusing takeoff (which it then obviously didn't refuse).
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Status: Done
3 participants