-
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
Pixhack v5: Main PWM Glitch #11326
Comments
@davids5 is this the same Problem we have/had on mRo X2.1? I forgot that the Board is running Master about 1-2 Weeks old. |
@tops4u Would you please add a picture of the wiring |
Hi @davids5, sure thing. The Setup is under construction, this is why it does not look too nice. Also I attach a video where you can see the two front Props spinning after Reboot. |
It is also random which Motors spin. Sometimes none, sometimes all of them or just two, as above. |
@tops4u - I know it is hard to tell, but can you tell if the spin is in the reboot, bootloader or PX4? With USB:reset----->bootloader 5 sec ----------->PX4 App |
I could check serial Console if this is of any Help? Is the Output there only from the FMU? |
I was thinking the leds would help but I can not tell from the video. Yes just FMU is on console. |
Hi @davids5 I loaded the File into Audacity and the Moment I hit Enter can be heard and it is at 2.469 secs in the Video, the moment the Props start spinning is at 7.649. |
@davids5 I have made one more. The following Video I recorded the Console and you can hear the Props start spinning when the Mixer Command for Hexa appears on the console log. Do you need me to do any other logging or stuff? |
@tops4u - Thank you for doing the heavy lifting! @dagar, @LorenzMeier This sounds like an issue with the PX4IO during loading and not the short pulse issues we had on V4. Code inspection would be the place to start - whos up for it? |
@tops4u Could you please share the output of:
|
Here we go (note: RC TX was off). I just hope I didn't mess up something like when there was an old extras.txt on the SD Card confusing SBUS Input.... Anything I should check for? Would you want the Param Config? PX4IO STATUS: px4io status
and PWM INFO:
|
And the saved parameters please? Just so I can configure the same airframe. |
And here are the Parameters. |
@bkueng Would be good to look into and resolve but sounds like its more a nuisance for Andreas than a safety issue right now. But I don't want to have this slip for too long. |
@LorenzMeier that may be true, but it scared me quiet a lot when it happend the first time on my Desk when there are 2.7kW Peak Power with Props mounted starting to Spin unexpected just 20cm in front of me... Now I know that it is not a big deal, but still inconvenient at times when there is not a lot of Space on my Workbench, the Props may still hit something or somebody. For Safety Reasons I should probably unmount my Props more often 😬 |
I was looking into that, and here are my findings so far:
@davids5 any insights from your side? |
@bkueng - I will need to dig into this. It sounds different then the causes on the aux pins. Before there were 2 causes. 1) Initializing the pins to inputs during boot. So They could float up and become 1s for the time the OS we inting. 3.1 uS. Creating a long pulse. 2) Once driven low the pins needed to be held low greater than 300 Ms get set to invalid PWM. So that fix was to extend the Low time. But I think the PX4IO does not know there was a reset. Does that seem correct to you? But possible it is being jerked around via the fw check. I will have a look. |
Well it knows it, but does not react to that. The PWM output keeps running during the reset. There's a small interruption (pwm set to low) when the mixer gets reloaded during bootup. Afterwards |
@bkueng - My day got away from me. I will look at this more in the AM. I think it my be the UG is forcing an async update on the ARR, but I need to add the instrumentation to trigger on it. I did see that the in the armed case the mixer is not updated but the rates may be, so that should be looked at as well. Do you have a clear definition of the states and transitions that should be in effect for the armed and disarmed case when the FMU is rebooted? I was thinking that in the unarmed case the IO could just reboot and wait in a PWM off STATE for the FMU. The tricky one is the inair restart. Would you describe how you would expect that to work? |
Describe the bug
This the same Problem as #8601 for mRo X2.1. When rebooting the Controller i.e. on the Shell in QGC just before coming online the Rotors of my Hexa spin about ¼-½ turn.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Rotors do not spin without prior Arming.
Log Files and Screenshots
N/A
Drone (please complete the following information):
The text was updated successfully, but these errors were encountered: