-
Notifications
You must be signed in to change notification settings - Fork 17.4k
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: add radius for GUIDED mode #19297
Conversation
How about a negative radius for a CCW loiter? |
Still works. I don't know what the usual guided command mode is, but I/we use a loiter command (loiter_unlim in our case) which handles that by setting the loiter_CCW bit on the location |
Can you maybe also add a separate parameter for this? GUIDED_LOITER_RAD. |
I really don't like the use of sending through these I can think of two other approaches we can take off the top of my head. The first is to flesh out support for The second approach - and the one I think I prefer - is to add support for |
After a rethink, this PR is definitely not the correct way forward. MAV_CMD_DO_REPOSITION is the proper way to use guided and adding radius should be done in one, or all, of the below methods in a new PR:
|
Allow setting a radius specifically for mode GUIDED via mavlink. A radius of Zero indicates to use WP_LOITER_RAD which is the existing behavior