-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Failsafe / loss-of-control / disarm not honored on SPRacing H7RF #11338
Comments
The blackbox file from this flight, please skip to 1:30 for the relevant portion. DVR of crash (if needed): |
Yes, disarm not being registered is very serious. Here we can see the FC gets the RX link back after the failsafe, the FC registers the Flight Mode Change (ARM OFF), but doesn't disarm. Someone else posted a similar looking log in the ELRS discord server a while ago, but I don't have the log or details handy. To clarify, the FC wasn't powered on for over an hour, the batteries were changed and the FC was power cycled right @blockfeed ? |
@SteveCEvans do you think this could be as a result of the scheduler not scheduling the processing of the RX state 'RX_STATE_MODES' in |
I have also had this happen to me, and I have been injured as a result of this. I panic-reflex caught my drone when I disarmed and it didn't land, cutting my finger badly. Although my finger should be fine by next week or so, it sorta put me off fiddling with this in the interim. It would really be great if we could get this fixed! I was testing new PID tunes and a custom lowpass filter so I also have a blackbox log of this happening. Running ELRS and HGLRCF722 flight controller (STM32F7X2). |
Both of you are flying and unsupported firmware file? I see they are from spracing, not directly from betaflight. Maybe the error is in the betaflight code too, but it makes the thing more difficult. |
Note I'm using ELRS (2.0.1) wired to a serial port too, BetaFPV receiver. Mine was a fork from Betaflight, and I modified only the filters code, not any other files. Modified on my side are gyro_init.c, filters.c, filters.h I think is all. I'm testing the same firmware on a SPI FRSKI whoop and it doesn't have any disarm issues. Also note that (according to the original poster) ELRS discord also reported some issues. EDIT:
|
We are unable to look at this issue now. We first need #11110 which is scheduled for BF 4.4. |
Should I make another ticket for the HGLRCF722 which I'm flying currently with the same issue? |
Yes please. This will keep this issue specific to the H7RF. There could be some common underlying (configuration or code) problem. |
@McGiverGim @haslinghuis The SPRacingH7RF support does not change any flight code. It uses the same ELRS RX code that is in I don't feel we need a new issue for this, but if one is created please reference this issue from it. |
@pjpei Are you able to replicate this on an unmodified target for you 'HGLRCF722' board? Maintainers: This is a very serious safety issue which, IMHO, should be treated as a high-priority bug that deserves investigation and fixing prior to any 4.3 release and not deferred to 4.4. The last thing we want is users injuring themselves and loosing confidence in the software over a known issue that wasn't looked at. |
@hydra As I have injured myself already, I'm sorta waiting for at least some acknowledgement of the bug and some form of bugfix before I fly with it again on my HGLRCF722. If it helps, I have tested with MATEXF411RX with my custom stuff many times with no issue of this sort. I did file another issue as requested by haslinghuis, #11344 . |
Correction: I'm on ELRS 2.0.1, not 2.1.0. Correcting description above. |
The requirement for 4 packets signaling disarm needs to be relaxed if the rc packet interval exceeds some threshold. The log provided has crsf debug enabled and we can see a collapse of the packet interval at the end of the log, with intermittent packets getting through at around 2Hz. We could either expand the definition of failsafe to include a min packet rate, or we could relax the rcDisarmTicks threshold when the packet interval is large. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week. |
This is waiting on scheduler investigation and updates from @SteveCEvans. What's the latest @SteveCEvans ? |
I'm guessing that #11459 is also related. For those following I updated the H7RF branch in order to test #11380 but it didn't work. Issue: #11451, Fixes: #11456 and #11457. I'll wait for all these 3 PR's to be merged and then request @blockfeed to re-test. @blockfeed if you can't wait, then grab https://github.com/spracing/betaflight/commits/bf-h7rf-wip-14 and cherry-pick the commits from #11459 and retest and report back here. |
Please test with latest development firmware if issue still persists as it should be resolved. |
@blockfeed Please test with https://github.com/spracing/betaflight/releases/tag/spracing-20220406-2041 which is rebased on |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week. |
Issue closed automatically as inactive. |
Describe the bug
After about an hour of flight time, the input suddenly locks up and stick movements are not registered properly. Disarm also appears to not be honored when activated (appears related).
To Reproduce
Flash 4.3.0-20220118-1357 (SPRacing H7RF, which appears to be rebased to master/9c3562a).
Fly as usual
Eventually controls feel as if "locked up", but are being registered sporadically/randomly
Expected behavior
Fly normally
Flight controller configuration
Flight controller
SPRacing H7RF, purchased from SPRacing directly
Other components
Matek R24-D ELRS (2.1.0), wired to UART 8
Caddx Vista (latest), wired to UART4
TX16S running EdgeTX 2.6rc3
Thor TX running master (dynamic power, 1:64, 500MHz, 250mw max, 3.75M baud, built the day before 2.1 release)
How are the different components wired up
See above.
Add any other context about the problem that you think might be relevant here
Please keep in mind that despite this board being an SPI ELRS board, I have the built-in receiver disabled and am using a dedicated Matek ELRS receiver (in this configuration). I mentioned the issue to @hydra in the SPRacing discord and he recommended raising this issue with the BF team.
The text was updated successfully, but these errors were encountered: