-
Notifications
You must be signed in to change notification settings - Fork 54
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
vJoySerialFeeder with SBUS is glitching #77
Comments
Hi, I'm not sure what this could be. The values seem too regular to be just an error. Could it be that failsafe is activated and the receiver sends some predefined values? You may check the failsafe settings on the transmitter and see if they match the values that flash for a moment on the interface. May you look at the Setup dialog next to the protocol selection in the vjsf? What is the failsafe setting there? I have heard that some frsky receivers may have problems if they are too close to the TX. Can you try moving further away and see if it still glitches? |
Sorry, but Im not sure what you mean by this. I've checked my failsafe settings on my transmitter and it is currently set to custom where if activated, all channels will hold.
Im also not sure what you mean by
I've tried about 3m away from my PC but its still glitching sadly. |
vjsf is simply vJoySerialFeeder. |
Hi, thanks for the help! I've recorded 2 of the logs just in case, im pretty sure this should be long enough to capture the glitch. |
The dump doesn't look OK but I think it is because the Choose the Serial mode of connection: Enter the name of your port, baudrate to 100000 and even parity: In the Logging section choose All output, browse to select a place to save the log, uncheck header and click open to get to start the connection: The text in the window will be garbled but that's OK because the data is binary. The log file will also contain binary data (not hex). Let's see if that dump will be better. |
Here you go, I wont be able to work on this for awhile cause I got an exam coming. Hopefully this should be enough! Please do let me know if there's anything I can do from my side as well |
I've checked the output, this time everything is fine. It seems that the |
I've tested with 2 different receivers and it occured on both, I think I might have another spare one. I'll try it out and keep it updated here. Also, just a quick note, that the receiver has already been tested on the actual drone, and it works flawlessly. It may be the case that my computer isnt fast enough to process the information coming from the COM port which I am a bit skeptical of this since my computer's specifications are as below:
|
Just tested it, I have 3 of the receiver and still the same bug occuring, unfortunately :( |
I'll try to debug this further from my side, and see if there might be potential fix for my specific issues. I'll try to keep it updated here if I found any solution |
So I first followed the following instruction
https://github.com/Cleric-K/vJoySerialFeeder/blob/master/Docs/Sbus.md
which I then connect it to my FrSky R8 pro which utilizes the SBUS protocol.
I manage to get readings into the application as seen in the gif below where I connect to my Arduino COM port, and as you can see, there is some glitching occuring every now and then where the values just dropped to 0 for some reason. I thought it might be my receiver issue, so I used another one, and same thing occured unfortunately. Im not sure what might have cause this issue
The text was updated successfully, but these errors were encountered: