-
Notifications
You must be signed in to change notification settings - Fork 38
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
“EDT safety arm” not working #219
Comments
Can you post a support ID from Betaflight (CLI tab, click "submit support data" button at the bottom), and a screenshot of your ESC-Configurator settings? You should not have the startup power values set to max. Please follow the Bluejay Setup guide and set them to appropriate values: https://github.com/bird-sanctuary/bluejay/wiki/Setup |
Hi ot0tot ! Submit_support_data_c2155526-c333-497a-92a0-a1bd6c282194.txt |
Your CPU usage is concerningly high, likely due to poor FC design preventing the OSD from using DMA. I would consider reducing your PID loop rate to 2kHz, and or overclocking to 120MHz ( The inconsistent starting behavior is likely due to your DShot idle value being set to low. As recommended in the Bluejay setup guide, this should be increased to 5.5%. |
Your CPU usage is concerningly high, likely due to poor FC design preventing the OSD from using DMA. I would consider reducing your PID loop rate to 2kHz, and or overclocking to 120MHz (set cpu_overclock = 120MHZ and save in the CLI). The inconsistent starting behavior is likely due to your DShot idle value being set to low. As recommended in the Bluejay setup guide, this should be increased to 5.5%. The main difference between my two quad's motors is X140HV 1507-2500KV motors have an important "magnetic resistance" unpowered, X220S MN2206-2300KV don't have. |
Another information : the problem happens with BF and when I use ESC-configurator to control motors (with Chrome navigator). |
That's not how you should be setting things up though. You should test and setup during regular arm process. Motor control in the configurator just sends commands via BF but does not involve the pid loop. Motor control there is just for quickly checking direction. |
@stylesuxx I'm not a programmer so I can't read the code but it looks like:
|
Yeah, don't use motor stop, things should be working as expected then. |
Hi @stylesuxx @ot0tot ! I did new tests: What I can’t simulate is a 0 order of BF during a flight when using dynamic idle (I don’t use it and I think it’s hard to reproduce) Do you think the problem is in BlueJay or in BF/BF Conf/ESC Conf? And of course, pilots can use BF Motor_Stop if they want ;) |
Safety arm check are here: Line 687 in 1b0802d
Bluejay will not arm, while So every-time this flag is cleared, arming will not work until it is set again. This flag is cleared under the following conditions:
So when triggering from configurator, the initial handshake works fine, you can spin motors. You return to 0 and then at some point most likely timeout is triggered.
No this is not true. While in operation, the ESC will receive continuous DSHOT signal, even if the value is 0. This does NOT reset the Are you seeing this issue issue in real life? Or are you just having the issue in the configurator? If just in the configurators, this is kind of expected. |
I race in acro mode using motor_stop and without air mode because I only reduce throttle stick to 0 when I crash and I stop props faster than moving my hand to the arm/disarm switch. It’s a long discussion between pro and cons but many pilots do that. I use air mode only when I do freestyle because I have to reduce throttle to 0 keeping quad attitude under control when I do some tricks and because I’m not at 50cm of the ground when I do it. For BF Configurator and ESC Configurator, it could be a good idea to warn the user that motors will only spin one time and then will do a beacon sound to confirm EDT safety arm works well (and some user will not think BlueJay is bugged). I understand that BF stops sending continuous DSHOT signal when throttle is at zero with motor_stop enabled despite quad is armed. Is it true? I don’t know how to test it. Do you think I have to open an issue in BF? |
Mhh, that's interesting - could you post some logs please. @damosvil could I ask you to jump in here? Are we resetting the
|
Describe the issue
Hello,
Because 2 weeks ago I was seriously injured at my left hand by one of my quad with one or two motors starting for 1 second at high speed with BLHeli_S 16.6 + Betaflight 4.2.11 quad disarmed, I’m updating all my quads with BLHeli_S to BF 4.5.1 and BlueJay 0.21.0 (and quad with BLHeli_32 to AM32). I hope “EDT safety arm” will improve quad safety when disarmed in BF. BlueJay team members, thank you for your job!
But, I installed BlueJay 0.21.0 on two quads (one Eachine X140HV with G-H-30 and one Eachine X220S with A-H-25). When “EDT safety arm” is checked:
I tried with BF dshot_edt=on and off without difference.
When EDT safety arm is unchecked, everything works well, my quads fly :)
Note: I can see bi-dir DShot RPM and ESC CPU temp values in BF motor conf, when I allow motors to spin and are spinning.
A friend has the same issue with another quad (I don’t know his configuration).
Hope you will find the bug and correct it, maybe with BF team, because “EDT safety arm” is a major update in safety.
Pascal
Bluejay version
0.21.0
ESC variant
G-H-30 and A-H-25
PWM frequency
48
DShot bitrate
300
Bidirectional DShot
On
FC firmware
Betaflight 4.5.1
Motor size
1507-2500KV and MN2206-2300KV
Configurator debug log
No response
The text was updated successfully, but these errors were encountered: