-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Enable auto disarm by default #12346
Conversation
I agree with the |
@dagar I can't think of one single person that didn't react with oh nice, why do I have to find this parameter first to make it intuitive. That said there might be corner cases for a mapping drone with a pilot that accidentally moves the stick while it's far away. But in that case you still see in telemetry that the mission was interrupted and there is the option to disable it. |
This is not the same issue as auto disarm on land, but I am wondering the
reasoning behind it - why does the kill switch not disarm the vehicle after
a short period? Over seen people use the kill switch to turn off the rotors
on landing or panic situation, but since the vehicle remains active, it
poses a high risk to operator or others if the switch gets bumped again.
Disarm on landing will take care of this partially. An optional delay timer
to auto disarm on kill switch would take care of the remaining risk for
rotor craft. I assume you *may want to stay armed for other types of
vehicles?
…On Fri, Jun 28, 2019, 7:20 AM Matthias Grob ***@***.***> wrote:
but I recall several developers (not necessarily users) reporting it as
unexpected/concerning behavior
@dagar <https://github.com/dagar> I can't think of one single person that
didn't react with oh nice, why do I have to find this parameter first to
make it intuitive. That said there might be corner cases for a mapping
drone with a pilot that accidentally moves the stick while it's far away.
But in that case you still see in telemetry that the mission was
interrupted and there is the option to disable it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12346>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACQFV7Q3SCSFDMNZ4YANLI3P4XQWJANCNFSM4H3YOZJA>
.
|
@igalloway this was added for v1.9 |
it does after 5 seconds since #10175 (contained in 1.9) |
Let’s get this - we need to drive the UX in PX4 towards what people expect. |
I'm in favor of the change I'd just like to be sure we understand why it was objectionable in the first place. As a side note this is a good example of the how we should try to capture more context in PRs to understand the background motivation. |
The concern was that we had clients that were flying missions with an RC that was sending some noise, or they accidentally touched a stick. It then went into POSTCTL without their knowledge and they only barely got it back. I added this because it needs to be extremely clear in what mode the vehicle is flying, suddenly changing out of auto mission because a stick was touched seems like a very bad idea to me. perhaps on a quadcopter its not so much an issue, but a vtol/fw will just fly away |
Perhaps COM_RC_OVERRIDE should only default to 1 on vehicles that hold position in POSCTL |
That’s a sensible suggestion. |
Thanks for the quick response @sanderux. How about we limit the override evaluation to rotary wing (including VTOLs in MC mode) and update the param comment? |
Sounds like a good idea to me. I can do that. |
8f7a3e7
to
0b23c8f
Compare
Based on the discussion I suggest we separate this pr and only enable auto disarming after land detection by default and I'll create another pr to implement #12346 (comment) and link it here. I rebased on master and took out the RC override changes. |
0b23c8f
to
5a941a0
Compare
Auto-disarm after land detection is problematic for hand launched fixed wing drones. We are working on a PR in a custom branch that will address this and allow auto-disarm to be enabled by default. It blocks auto-disarm whenever LaunchDetection is running using a new uORB message that lets the system know when LaunchDetection is running. FYI @Kjkinney |
@Antiheavy Thanks for pointing that out. So should I put it to disabled in the fixed-wing defaults in the meantime? |
Separate pr for RC override default now here: #12495 |
From a safety standpoint I still think it is a good idea to default the parameter to enabled for all. Maybe this is a good excuse for us to push the LaunchDetection disarm blocker upstream sooner rather than later. |
@Antiheavy Ok, then I leave it like it is. I guess for the hand launch mode case you would want to take a look at the variable |
@MaEtUgR @RomanBapst When this goes in can you confirm the actual change -for docs because there is a lot of discussion here.
@dagar Did this have any configuration? Is this immediate?
|
Yes, I asked again in the dev call yesterday and it seemed appropriate for the user experience on all platforms except for the corner case of the launch mode mentioned by @Antiheavy above. He said he'll take care that it will not disarm during fixed-wing hand launch when the feature is finished.
That moved to #12495 and there were some misunderstandings. The result of yesterdays devcall discussion was that this functionality is only useful for multicopter flying.
Yes, it's not configurable and it's planned to stay like this according to my understanding. I don't see any problem with that except that apparently the docs are off. |
@hamishwillee Suggestion for documentation for kill switch PX4/PX4-user_guide#528 |
THanks @MaEtUgR - the auto disarm docs for you to review in PX4/PX4-user_guide#530 |
FYI #12513 |
Describe problem solved by the proposed pull request
Based on defaults used by products at Yuneec and Auterion, feedback from @MikeGoesDrones and discussions with @RomanBapst and @LorenzMeier I think we need to adjust our defaults to the more common use-case of adopters having a good out of the box experience instead of needing to look up how to enable everything that seems intuitive.
Test data / coverage
Untested but it's only a parameter change to a configuration that was used a lot before.