Voxl2 Spektrum Receiver error
-
@Chase-Riley In the first of these two runs you were getting
0x01
protocol byte like I see on my DX7 transmitter. In that state with this binary you should seerc_input
uorb messages and be able to try theRadio Calibration
tool tab on QGroundControl.In the second run you're seeing
0x00
protocol byte and unfortunately I'm not sure what that means.If you can get the first case working repeatedly using one of the
voxl-bind-spektrum
options-t -f -s
then we're on the path to a fix. Which did you use and have you tried them all? -
@ben-grocholsky I am using a DX8 Transmitter during these test. Would the
voxl-bind-spektrum
be needed/do anything if I am not using the Spektrum bind board from Modal AI? I currently have the Spektrum receiver hooked directly to J19 on the VOXL2. When I was using SDK .0.9.5 I had the same receiver connected to the VOXL I/O board, and it worked great. Unfortunately the I/O board is not supported in SDK 1.0.0. -
@Chase-Riley I didn't realize that had changed in V1.0. If you have access to a an alternative px4 fmu you could use the QGC pairing function to change the spektrum mode connected to that fmu and then plug it back into the voxl2. That could help check if one of the three options is more reliable. I'm not sure why you saw different data packets on a restart. Need to resolve that or try a different transmitter.
-
@ben-grocholsky @Eric-Katzfey I got it to work using by using the DSM2 binding method with another Px4 FMU. I do have a question though. I am now not able to get the actuators tab to show up in QGC for my ModalAI ESC. Would you DEB file have something to do with this? I have checked all my params in QGC and all seems to be correct. This was just the only other variable I could think of and wanted to check. Should I go back to running a standard DEB file? If so where would I find that now that I am running the custom debug one?
-
@Chase-Riley The standard px4 Debian package will set up the data correctly such that the actuators tab will be visible. For SDK 1.0 the packages are all available at http://voxl-packages.modalai.com/dists/qrb5165/sdk-1.0/binary-arm64/. To grab the px4 package use
wget http://voxl-packages.modalai.com/dists/qrb5165/sdk-1.0/binary-arm64/voxl-px4_1.14.0-2.0.34_arm64.deb
-
@Eric-Katzfey Unfortunately once I switch back to the standard Debian package the Spektrum error is back. I had it working every power up with the Debian Package from Ben.
-
@Eric-Katzfey the test deb file was just
voxl-dev
branch with the one line change to accept(0x02|0x01)
protocol bytes with the error output shortened below 80 characters + debug print bools and macros in DSM parsing forced on. I can fly that one line change on a Sentinel to look for any unexpected consequences. It'd be great to coordinate on how to get such a change merged into the dev branch and a non-debug deb to Chase. -
@ben-grocholsky That would be great! Just submit a PR and I can merge it in and then cut a new release.
-
-
This post is deleted! -
@ben-grocholsky @Eric-Katzfey That would be great if I could get this working. How long would this take to get merged?
-
@Chase-Riley I made version 1.14.0-2.0.54 with the Spektrum RC changes in it. You can get it with
wget http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.54-202310161035_arm64.deb
. Can you try it out and see if it fixes your issue? -
@Eric-Katzfey Spektrum now works with that deb file, however I am not able to get the actuators tab in QGC just like @ben-grocholsky's deb file.
-
@Chase-Riley Okay, glad that Spektrum is now working. Can you create a new post for the actuator tab issue. That is something completely different than the Spektrum RC issue. Thanks!
-
@Eric-Katzfey I can make a new post if that is what you want me to do, however the issue that no actuator tab showing up has to do with the Debian Package Files that you and Ben have provided.
Ben's: https://drive.google.com/file/d/1XJBdAKxR0C0tYPDgfOB1uUGCJ6Pv_3kV/view?usp=sharing
If I flash the standard Debian Package File (http://voxl-packages.modalai.com/dists/qrb5165/sdk-1.0/binary-arm64/voxl-px4_1.14.0-2.0.34_arm64.deb) the actuators tab appears as normal. The only time the actuators tab does not appear for me is when I am running a custom Debian Package supplied by you or Ben. Both the your's and Ben's Debian Package files solve the Spektrum issue but they both break the ESC functionality. Please reference the post below where you told me that the standard Debian Package file sets up the data correctly for the actuators tab.
@Eric-Katzfey said in Voxl2 Spektrum Receiver error:
@Chase-Riley The standard px4 Debian package will set up the data correctly such that the actuators tab will be visible. For SDK 1.0 the packages are all available at http://voxl-packages.modalai.com/dists/qrb5165/sdk-1.0/binary-arm64/. To grab the px4 package use
wget http://voxl-packages.modalai.com/dists/qrb5165/sdk-1.0/binary-arm64/voxl-px4_1.14.0-2.0.34_arm64.deb
-
@Chase-Riley Ah, sorry, didn't realize the correlation there. The one I prepared is an updated one from the SDK version that worked so it should be setting everything up correctly. But apparently something is wrong. We'll test and see if we can figure it out.
-
@Eric-Katzfey Thanks for taking a look. I am standing by to see what you find out.
-
@Chase-Riley I started from scratch and flashed SDK 1.0.0 and could see the actuators tab on QGC 4.2.4. I then upgraded voxl-px4 to voxl-px4_1.14.0-2.0.54-202310161035_arm64.deb. I still see the actuators tab. Since Ben's Debian was based on an older px4 that didn't yet properly support the actuators tab it's possible that something got corrupted in that change.
-
@Eric-Katzfey I will try that out and report back.
-
@Eric-Katzfey Would you suggest flashing my Voxl to SDK .0.9.5 and then back to 1.0.0 and start from there?