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

Plane: Pullup passes wait_airspeed stage without ever meeting airspeed criteria #28712

Open
ohitstarik opened this issue Nov 23, 2024 · 1 comment

Comments

@ohitstarik
Copy link
Contributor

Bug report

Issue details

The new bugfix of pullup (1c19487 ) changes the behavior of stage wait_airspeed such that the stage passes if the desired airspeed is reached or pitch is above pitch_min. This is meant to cover a scenario where pitch trim is bad enough that the airframe pulls up before the desired airspeed is reached, most likely leading to stalls, or the wait_airspeed stage never passing.

However, more concerningly, this introduces situations where if the aircraft is in a freefall and:

  • gets caught in a line
  • is released from anywhere but the tail
  • tumbles due to wind (lower altitude testing)
  • or is in any other situation where it meets the criteria for pitch_min,

wait_airspeed is passed, and the vehicle begins pulling up before it is allowed to gain enough airspeed to do so, or have a stable enough attitude to do so, both of which are critical to a successful pullup maneuver at high altitudes.

I believe this bugfix needs to be reworked, or rolled back. I don't see a situation where a team would send a vehicle up to altitude with bad pitch trim, or without having tested the vehicle and its pitch trim numerous times on the ground. Meanwhile, an in-flight error is spontaneous and could happen at any time, allowing pitch_min to be reached and causing errors during the pullup maneuver.

Version
4.6.0 beta

Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ x ] Plane
[ ] Rover
[ ] Submarine

@DjMixMasterDragon
Copy link
Contributor

Can confirm this issue - we just got bit by this bug in real flight past week. Glider did not release from balloon initially and pitch sensor triggered the WAIT_AIRSPEED - I am glad you brought this up. We have reverted since.

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

No branches or pull requests

2 participants