ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Voxl2 Spektrum Receiver error

    VOXL 2
    4
    90
    7811
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ben grocholskyB
      ben grocholsky @Chase Riley
      last edited by

      @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 see rc_input uorb messages and be able to try the Radio 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?

      Chase RileyC 1 Reply Last reply Reply Quote 0
      • Chase RileyC
        Chase Riley @ben grocholsky
        last edited by

        @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.

        ben grocholskyB 1 Reply Last reply Reply Quote 0
        • ben grocholskyB
          ben grocholsky @Chase Riley
          last edited by

          @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.

          Chase RileyC 1 Reply Last reply Reply Quote 0
          • Chase RileyC
            Chase Riley @ben grocholsky
            last edited by

            @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?

            Eric KatzfeyE 1 Reply Last reply Reply Quote 0
            • Eric KatzfeyE
              Eric Katzfey ModalAI Team @Chase Riley
              last edited by

              @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 RileyC 1 Reply Last reply Reply Quote 0
              • Chase RileyC
                Chase Riley @Eric Katzfey
                last edited by

                @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.

                ben grocholskyB 1 Reply Last reply Reply Quote 0
                • ben grocholskyB
                  ben grocholsky @Chase Riley
                  last edited by ben grocholsky

                  @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.

                  Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                  • Eric KatzfeyE
                    Eric Katzfey ModalAI Team @ben grocholsky
                    last edited by

                    @ben-grocholsky That would be great! Just submit a PR and I can merge it in and then cut a new release.

                    ben grocholskyB Chase RileyC 2 Replies Last reply Reply Quote 0
                    • ben grocholskyB
                      ben grocholsky @Eric Katzfey
                      last edited by

                      @Eric-Katzfey https://github.com/modalai/px4-firmware/pull/42

                      Chase RileyC 1 Reply Last reply Reply Quote 0
                      • Chase RileyC
                        Chase Riley @Eric Katzfey
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • Chase RileyC
                          Chase Riley @ben grocholsky
                          last edited by

                          @ben-grocholsky @Eric-Katzfey That would be great if I could get this working. How long would this take to get merged?

                          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                          • Eric KatzfeyE
                            Eric Katzfey ModalAI Team @Chase Riley
                            last edited by

                            @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?

                            Chase RileyC 2 Replies Last reply Reply Quote 0
                            • Chase RileyC
                              Chase Riley @Eric Katzfey
                              last edited by

                              @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.

                              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                              • Eric KatzfeyE
                                Eric Katzfey ModalAI Team @Chase Riley
                                last edited by

                                @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!

                                Chase RileyC 1 Reply Last reply Reply Quote 0
                                • Chase RileyC
                                  Chase Riley @Eric Katzfey
                                  last edited by

                                  @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

                                  Eric's: http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.54-202310161035_arm64.deb

                                  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

                                  Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                                  • Eric KatzfeyE
                                    Eric Katzfey ModalAI Team @Chase Riley
                                    last edited by

                                    @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.

                                    Chase RileyC 1 Reply Last reply Reply Quote 0
                                    • Chase RileyC
                                      Chase Riley @Eric Katzfey
                                      last edited by

                                      @Eric-Katzfey Thanks for taking a look. I am standing by to see what you find out.

                                      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                                      • Eric KatzfeyE
                                        Eric Katzfey ModalAI Team @Chase Riley
                                        last edited by

                                        @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.

                                        Chase RileyC 2 Replies Last reply Reply Quote 0
                                        • Chase RileyC
                                          Chase Riley @Eric Katzfey
                                          last edited by

                                          @Eric-Katzfey I will try that out and report back.

                                          1 Reply Last reply Reply Quote 0
                                          • Chase RileyC
                                            Chase Riley @Eric Katzfey
                                            last edited by

                                            @Eric-Katzfey Would you suggest flashing my Voxl to SDK .0.9.5 and then back to 1.0.0 and start from there?

                                            Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB | Contributors