-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
proper in_flight detection for rotorcrafts #201
Comments
Same for the landing detection. I know of at least 2 crashes due to killing -Christophe On Sat, May 26, 2012 at 2:39 AM, Felix Ruess <
|
Same story. Landing detection should be improved. |
Could you make a pull request with this please? Although not the final solution, that should at least be better than what we have now...
I don't quite understand why you want to have yaw control enabled on the ground... could you elaborate?
Sorry, I'm not quite following. What do you mean by that? |
Yes, right, there's no need in a yaw control on the ground. But before we detect ground, it should be on, that's what i mean. |
Simply checks if thrust, speed and acceleration are above a threshold. Does not rely on RC thrust command anymore, but only on actual thrust command. Not tested on real vehicle at all so far... Attempt to improve issue paparazzi#201 and replaces paparazzi#468
Closing this issue, since it was improved quite a lot already with the heuristic using thrust, speed and acceleration. |
The "detection" when you are actually in flight needs some serious improvements.
This is currently done in autopilot.c autopilot_check_in_flight(), just based on if the motors are on and the throttle stick is over a certain threshold for some time.
While you are not in_flight, the yaw control is disabled and the integrators are not running.
The in_flight detection could maybe be done on a combination of velocity, acceleration and throttle...
It would be nice to have a basic state machine with e.g. landed, takeoff, flying, landing or so...
The text was updated successfully, but these errors were encountered: