-
Notifications
You must be signed in to change notification settings - Fork 13.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
use NAV_MC_ALT_RAD for MC takeoff check #7380
use NAV_MC_ALT_RAD for MC takeoff check #7380
Conversation
When checking a mission, the takeoff altitude is being checked against the waypoint acceptance radius to ensure the MAV being clear from ground before heading to the next waypoint. However, until now the _horizontal_ acceptance radius was being used, instead of the altitude reference value. Targets PX4/Firmware/PX4#7379
This is only a quick-fix for multirotors, I'd be happy to hear opinions and work on the fixed wings as well! |
|
||
// if a specific acceptance radius has been defined, use that one instead |
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.
Tabs instead of spaces. Usually CI complains about this stuff, but I guess it's lenient on comments.
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.
Trivial formatting change, but otherwise looks good.
Thanks!
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.
Looks good.
Jenkins test this please. |
Travis seems to be stuck somewhere... |
@dagar please comment |
CI was distracting. Need to stabilise it. |
When checking a mission, the takeoff altitude is being checked
against the waypoint acceptance radius to ensure the MAV being
clear from ground before heading to the next waypoint.
However, until now the horizontal acceptance radius was being
used, instead of the altitude reference value.
Targets #7379