-
Notifications
You must be signed in to change notification settings - Fork 1.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
MultiRotor : (on landings and) after disarm the QUAD tilts over instead of cutting down the motors #8945
Comments
What reason does it give for the disarm, Switch or Landing ? Do you let the quad actually settle on the ground for 1-2s before disarming or try and disarm the moment it touches the ground or slightly before even ? |
I want to land- not to disarm at 1m alt and let it fall into the dirt. And even in that height it would Tipp over and not simply shut down. Only way to land properly for now is to grab the quad and disarm. Everything else will risk to spoil the gear i still assume that disarm should simply switch off everything- and not try to balance things out |
@Pairan Can you leave your Diff All settings? And what flight mode were you in when you disarmed. Can you clarify, from both your posts.. I'm wasn't sure which one it is.. Disarming near the ground, or landing then disarming, which was causing the issue ?
|
The effect is the SAME on both landing and disarming near ground or just disarming! The thing is that the disarm doesn't cut the motors immediately and then tries to balance the movement after that. Diff coming up:
|
OK. The reason I asked if the quad reports disarming via Switch or Landing is to understand if you are disarming it via the switch as soon as the quad touches down or if the landing detection is disarming the quad, in which case the cause of the disarm would be given as Landing (there would though be at least a 2s delay after settling on the ground before Landing detection caused a disarm). I've noticed my quad sometimes flips on disarming via landing detection. Doesn't always do it, but often enough to be irritating. I had a theory as to why this is happening and a possible fix but never got around to testing it. However if this problem is also happening with a normal switched disarm the issue is likely something different. What happens if you raise the throttle after arming to enable airmode, lower the throttle back down and then disarm ? I notice you're also using an H743 board. That might possibly have something to do with it. |
So far I didn't let INAV time to figure, if we might have landet (landing in Acro) as it uses to wind up and then flips. Will have to check that on some grassy place so it won't kill the props (in case). I land by descending and slowly balancing the ground effect until I disarm. Will try to raise throttle after disarm next time. Perhaps I report in this evening |
By this I mean start with the quad disarmed. Then arm, raise the throttle until airmode activates, then fully lower the throttle, then disarm. Do it on a flat surface ideally. Does it still flip ? |
Nope ... I recorded several landings and it didn't flip these times. Sometimes it had a hard time to detect it had landed and winded up some motors BUT then I disarmed and it was okay. Did nine attempts and nothing bad happened. Guess for now we can close the ticket as I can't get it to do what it did yesterday. Anyways ... thanks for helping and educating me on this :) |
there‘s still something going on- after Position hold and landing I disarmed and then the quad started to flip and tried to get home! I was 1m away- it didn’t stop although I had tried to disarm several times. Two props melted due to the heat on the motor shaft, my hand got burned by one motor and I had to rip out the power lead while two motors spinned 100% Guys… perhaps I can pull a log from the h743 but for now I will get back to iNav 5 where disarm stops everything. |
A log would be very useful. Almost sounds as if disarming caused it to Failsafe and RTH. In that case without a Kill switch set up it would be impossible to disarm. Log should confirm if this was the case. |
Sounds reasonable- I will clean up the quad later and see, what I can pull off the memory then |
That's what I pulled of the quad - perhaps it can give any clue |
Well according to the log, 12/12, you simply selected Failsafe mode and RTH mode at the same time since they're both activated by the same switch (as confirmed in the Diff posted above). So the quad tried to RTH because that's what is told to do .... according to the log. However, shortly after selecting Failsafe the log file doesn't seem to record correctly, a few broken records but mainly blank, so something appears a little odd where that is concerned. Not sure why Failsafe and RTH modes are on the same switch given Failsafe is set to RTH anyway. This makes no sense. This is the the second time I've seen this erroneous setup recently. Has it been recommended somewhere ? And since the log continued to record something it appears it never disarmed. There was no disarm flag at the end of the log file either. |
that's strange ... as I recall it I did pull POS HOLD and as it didn't manage to stay on the altitude (1.5m or such) it bumped into the ground. I raised Thrust to compensate but that didn't work out. Next it bumped into the ground again and then it started. DISARM didn't work ... which is not found in the logs. Either it's because auf the H743 or changes in INAV6 that gets me here. Checked my config for the mode Failsafe and removed it! I can't recall where it went into my defaults but I've been setting things up for ages like that. The Source ONE with INAV and also this FR7 did act as desired so far! There is no ranting about INAV6 from my side. I got a bit scared as I got hurt but besides that it flew great. But I will add the kill switch to the modes from now on and hope to not end up in this anytime soon. |
I take it this didn't climb during the RTH because instead it flipped upside down when RTH started. This is how it appears from the log at least. Is this what happened ? |
I would say that is what happened- ... one side of the quad gets more thrust and as such it flips ... then the "tries to climb" perhaps |
I had this happen today too. It sounded like the motors shut off on disarm. But the attitude control was still active. MAMBAF405_2022A |
That's how it felt the first time too ... motors shut down and then the quad wanted to counter the movement and throttled up again. |
@breadoven @MrD-RC Concerning this issue and the SAVED SETTINGS after disarm.. Does this save reboot the FC ? I also experienced the PinIO USER 1 power switcher, powered off the HD VTX after disarming... That's never happened before. But this too could be related to SAVE SETTINGS that is effecting CRSF or even the logic condition that drives the PinIO. MATEK F722WPX |
No, the save when your see settings saved does not reboot. Its still doing what it did before. Only on the next loop, and only once. Not potential multiple saves. |
I did wonder if resetting the PID accumulators immediately before disarming would solve this tipping problem. Effectively kills airmode so less likely to have motor surges happening at the point the motors are shut off. Can't do any harm so worth trying if this is a common issue. |
Part of the issue appears to be related to - @MrD-RC and @breadoven If you guys get the chance at some point. Would you be able to have a look how this feature is tied into the Disarming process. |
Yeps, it’s activated. Both on fw and mr and since I use dshot the pattern matches for me |
@breadoven @Pairan Did either of you get a chance to confirm whether |
Nope … after I removed the rth + failsafe combo it didn’t occur any more for me. Even installed a switch for the “kill switch mode” yesterday I upped mine to v6.1 I didn’t have any flips so far. But that doesn’t guarantee they’re gone. Just nothing new on that from my side |
I experienced exactly this issue today on a 7" quad. Are we any closer to a solution please ? versionINAV/MATEKH743 6.0.0 Mar 22 2023 / 10:48:04 (084101a)GCC-10.2.1 20201103 (release) |
I can confirm this as I was present and it was a very dangerous situation. Disarm should mean disarm. |
@steviegeek @oldrootbeer Don't stay on 6.0.0 with any H743 controller.. There was a fix implemented in 6.1 to alleviate most of this problem with those controllers. |
Thank you. You say "most of this problem"? Is 6.1 safe wrt disarming? |
Would be useful if you could provide a Diff and a log would be useful also. |
6.1.0 and 6.1.1 are safer options.. But there are still some combinations of user settings that can cause problems. |
I've attached the DIFF ALL file, unfortunately I do not have logs (sdcard corrupt/damaged) |
Hi guys, will you have the chance to cast your eyes over this DIFF file? |
@steviegeek At present, there are a couple of settings that I've found to cause a conflict and a possible disarming flip-over problem.. But in your case, neither are present. |
@Jetrell |
I assume you're not using ELRS ? It's just that you're arming channel is 7 (Aux 2) rather than the 5 that is required for ELRS. Not sure if this is true for Crossfire or not. I'm guessing this is the same problem as above ... when you went to disarm or did something else Failsafe occurred which makes normal disarm impossible. Was there any indication of failsafe in the OSD ? And I assume you've added the Killswitch mode since you had this problem ? |
@breadoven FS shows in OSD almost two minutes after it has been inverted and trying to reach Australia A 'sanity mode' of 'high motors' + 'no altitude change' = 'shutdown' would at first thoughts seem to be a good idea but the actual criteria would need more detailed thought. |
Just to confirm:
|
You landed in Angle + Althold ... then tried to disarm ? At this point it flipped and didn't disarm so you shut off Althold but this made no difference, motors continued to run ? Yes, tried to disarm as soon as it contacted the ground. it only appeared 2 mins after you tried to disarm ? Yes, OSD video available if it helps |
The OSD video would be useful thanks. |
Landing video here.......... |
Yeah … that’s how mine went down too. |
Hmmm, looking at the video it does appear that this simply crashed into the ground and rolled over inverted (It "landed" with 20 mph ground speed after all). This wasn't a case of it flipping when disarmed after a normal vertical landing since it didn't disarm. If you did correctly disarm it then this would appear to be the only issue here. The Failsafe happened because the Rx signal was lost after a minute or so, so INAV worked as expected in this case unless there was no good reason for the signal dropping I guess (Tx turned off, broken Rx/antenna ?). Exactly when in the video do you think you attempted to disarm the quad ... before the initial impact with the ground or after it ended up inverted ? |
I agree.. |
The part of this incident that caused me concern was that when it was inverted on the ground (however that happened) the motors continued to run and I was not able to shut them down. In addition to 'disarm' Ardupilot has a 'Motor Emergency Stop' which overides all else. Could INAV include something similiar please for safety reasons ? Thank you |
INAV has Killswitch mode. You have it configured to use according to your Diff (Channel 13 ?). This should disarm in all circumstances including during Failsafe (when the normal disarm switch is inhibited). However, the problem here is Failsafe was not active when you tried to disarm, you also had a valid RC signal according to the video so there's no reason why the normal Disarm switch shouldn't have worked. Given that the AltHold mode switch seemed to work it's hard to see why the Disarm switch also didn't work before the Failsafe kicked in. From the way INAV behaved it appears it never received the Disarm switch command although without a log it's hard to know. A Transmitter log might show the channel status if you have one ? |
Firstly thanks for confirming how the kill switch mode works, 'disarm in all circumstances' I intend to run more tests tomorrow, with blackbox logging.
I'm sorry that I do not have a clearer picture of exactly what happened. Thanks again |
A sanity check is preferable in any rc link lost situation I guess. Regardless of any failsafe mode. Who knows what the craft is doing, where it is and how dangerous it is behaving. |
|
Should not be an issue anymore in 7.1 after #9681 |
Current Behavior
The 7" Quad is flashed with regular INAV 6 and since then has changed dramatically in behaviour after disarming as after landing properly. I looks like the quad doesnt figure that it has been disarmed and tries to compensate ( ... and overshoots).
Mostly it flips over and the props spin aggressively for 1-2secs ... and a such most likely kill the props.
I didn't tune the rates or such. The defaults for a 7" quad was applied and nothing more (but flight modes and adjustment options for in-flight and such).
Steps to Reproduce
Expected behavior
After disarm I would have expected to simply shut everything down and DO NOTHING more than this.
Suggested solution(s)
Simply shut down motors on DISARM as it used to be ...
Additional context
I had think I also had it with INAV6 RC2 but I took it as me beeing clumsy on landings -.- But as it now happened several times yesterday I thought of reporting back in. Can anybody confirm this behaviour ?
The text was updated successfully, but these errors were encountered: