-
Notifications
You must be signed in to change notification settings - Fork 16.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
RCInput not correctly identifying ST24 serial protocol #14626
Comments
Are you able to try #14174 to see if it helps? It more precisely decodes DSM which may mean that ST24 works correctly |
Can I use your branch directly or should I cherry pick the commits to a stable branch? |
The branch is off master - should be fine. I can re-base if it will help. |
No as long as there's no major issues that's fine with me. setting up cygwin now, only have the pixhawk stuff installed atm. |
I'm happy to do you a build if you tell me what platform you need |
That would be great! What else do you need beyond the things in the bug report? |
Thanks, ill give it a try! |
Unfortunately the same issue persists. It selected DSM again and the sticks still move wildly with no physical movements, and I know the receiver is outputting clean packets because it works with pixhawk at least in hitl. |
The pixhawk uses similar decoder code so my suspicion is that the issue is where it selects the decoder. Is there any way to force it to use the st24 decoder to see if it works correctly? |
Not easily without modifying the code. |
The st16 transmitter and st24 receiver have been surprisingly incompatible considering that someone mustve needed it if they wrote them into pixhawk a while ago, I guess they don't use it anymore. I wish it worked properly, this thing is a great piece of kit, especially with one of the yuneec cams. |
I know where the problem is and I will fix it
|
Apologies for not replying to this in a long time. I tried the sr24 receiver on a brand new pixhawk 4 and it worked perfectly. It may be an issue exclusive to the radiolink pixhawk 1. |
Hello this st24 work ? |
The repair code has been submitted to the MASTER , but the latest version does not include this code yet, and I don't know why.The version I built locally has been tested and is working properly. |
Bug report
Issue details
When the ST24 receiver, bound to a ST16 transmitter, is plugged into the SPKT/DSM port, it is incorrectly identified as a DSM receiver. The decoder gets the number of channels correct (12) but the decoded result is randomly fluctuating inputs because the wrong decoder is being used. I tested PPM to make sure it works, and it takes over a minute to detect the switch both ways. My guess is that the ST24 decoder has an issue and it's choosing DSM only because of a random chance packet that satisfies the selection requirements.
Version
This is on the latest stable version.
Platform
[ ] All
[ ] AntennaTracker
[ X ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine
Airframe type
Quad X
Hardware type
Pixhawk 1
Logs
Not useful, RC inputs are all over the place
The text was updated successfully, but these errors were encountered: