-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
PX4 1.9.0 ignores RC-commands #12251
Comments
Can you share a log showing the problem? This definitely isn't reproducible in general (RC is tested constantly). |
There is no log showing the problem. The drone can not be armed, can not switch to another mode, etc. But the movement of the sticks are visible in QGroundControl. The most I can show is a video when it's working and a video where it isn't. |
You can get a log from boot by setting the parameter SDLOG_MODE to 2. |
Hi there, I definitely have the same problem, and that happened just as he said. After I upgraded my v1.8.2 stable to v1.9.0, my device started to respond slowly for arming like arming 2 seconds after I pull the stick and disarming almost 4 seconds later than the stick. I did arming and disarming several times, and it did not solve. So I unplug the battery and replug it several times and problem solved. I also saw the stick movements on Qground as he said. I am uploading several logs, but I am not sure about their capabilities. I tried to recreate the bug, but I failed. Here the three following logs of the system, which I believe contains the bug. https://review.px4.io/plot_app?log=a7c08c8a-a018-47fc-a6dd-5b85665dfacc Thanks |
@PX4/testflights have you seen anything like this? |
It is not happening everytime, so I will upload the log when it happens. Thank you so far. |
@hardeman could you describe your setup? Specific RC equipment, etc. |
@dagar we have not seen this issue so far, we will comment a log with the vehicle behavior later on today. |
Tested on Pixhwak 4 Mini v5Modes tested:
Procedure Notes Logs Tested on Pixhawk 4 v5Modes Tested
Procedure Notes |
Same thing with the arming or kill switch happens to me sometimes. For example, if a landing detector disarms the airframe but my RC stick is still in the armed position, the commander would seem to deal with it by ignoring the RC stick ever after until reboot. Same thing if I arm using QGC slider but my stick is still in disarmed mode. And lastly if I accidentally power on the airframe before turning on the transmitter, the RC arming commands would get ignored even though in QGC I can see them switching in the Flight modes setup window. Disclaimer Optimal behavior would be to reset the priority to RC after the commander detects alignment of RC with the QGC and the current state. |
Thanks @JMshare that's helpful. |
I'm seeing this issue as well. My setup :: Steps to reproduce:
My results are sporadic, but I am seeing 4 fails in 10 tries. Edit : I should add that I am only seeing this with QGroundControl connected. |
On my setup this is bug is being triggered by QGroundControl sending a |
Notes from devcall: @jkflying had also seen a similar report about an SBUS receiver. Another report about this that I found. |
I wonder if this is related to a comment by @dagar in #12050 (comment)
Is there a race condition between selecting the RC controller or the QGC virtual joystick? Sometimes it selects the RC and sometimes the virtual. Of course I don't know that others had the virtual joystick enabled in QGC like I did. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
I have to close this because there was no follow up. |
We have the same problem. It started in 1.9, the PX4 was not responding to arming or mode changes. In 1.11 modes do change, kill switch works but still cannot arm. Only reboot fixes the problem. I believe that this happens when the PX4 is idle for some time with RC turned off. |
Yes, the problem realy happened in PX4 v1.10.2. As told, after rebooting it disappeared. Thank you for the workaround. |
Actually, I never got this error after I commented on this issue almost two years ago. From my point of view, the problem is because of using Pixhawk 2 and probably the cheap copies of it. I upgraded my hardware to Pixhawk 4 and I am not getting any meaningless errors I got from Pixhawk 2. |
Describe the bug
We're testing with a Pixhawk with PX4 1.9.0. The problem is since the upgrade to 1.9.0.
The RC is connected and stick movements are visible in QGroundControl, but PX4 doesn't respond to arming or a mode switch sometimes. After a couple of restarts it works just fine.
To Reproduce
Steps to reproduce the behavior:
-Everything switched on.
-In QGroundControl are stick movements visible.
-The commands (like arming or mode switch) are not executed
The text was updated successfully, but these errors were encountered: