-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
altitude control using throttle input in wp_run() #25347
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, this is an incredibly dangerous change in my opinion. At the very least it would constraints, be transient like stick mixing, and an option whose default is off. But in general I am against pilot manual altitude control in AUTO/GUIDED for obvious safety reasons, especially BVLOS
README.md
Outdated
@@ -1,161 +1,27 @@ | |||
# ArduPilot Project | |||
# Altitude Control for Waypoints Using Throttle Input |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes to this file are totally inappropriate...pleas delete all changes.
If and when a new feature is added, it could be announced via a blog post, if judged noteworthy enough and approved, in discuss.ardupilot.org
Hi @graheeth, Thanks very much for the contribution to try to solve this long standing issue! |
@Hwurzburg , should I introduce an option with a default setting of 'off' that can be toggled on to enable this altitude waypoint control? Do you think this idea might not be valuable, or that it won't be utilized much? I'd appreciate your advice. P.S. I apologize for altering the readme.md; I'm still getting acquainted with Git. |
It definitely would require an AUTO_OPTIONS bit...as well as other changes:
what is the exact use case for this? |
@Hwurzburg there is a demand for this feature for long for all those are doing inspection or spraying. Something you have unexpected obstacle or need a small ajutements for optimality. Previously I had the idea to implent this like that : |
@Hwurzburg , this feature is intended for agricultural drone spraying. I've been directed to work on it due to frequent requests from pilots. I apologize for copying the entire function that was an oversight on my part. The request they also had was that releasing the throttle would revert the drone to its preset altitude. Just to clarify, the code does limit the pilot's control to a maximum of percent of the set altitude. I squared the fraction, thinking that a higher throttle input might indicate a preference for a greater altitude, while a slight push would imply the pilot wants more precise control. I recognize my approach might seem unpolished. However, if I can successfully integrate a toggle button and ensure its functionality, would there be a possibility of my code being accepted into the main branch? It is amazing to have any feedback from all you people working so hard, I truly appreciate the time and effort you guys put and thank you for replying to me too. |
927c9f7
to
c4619a2
Compare
Hey everyone,
I've made a way to adjust altitude on-the-fly in auto-mode. Gave it a spin in SITL and also took it for a real drone test flight – works like a charm! 👍