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

    Help with Voxl2 PID Tune problem

    VOXL 2
    5
    24
    1691
    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.
    • bensusanaB
      bensusana
      last edited by bensusana

      hi @Alex-Kushleyev
      OK, we got a significant improvement but it comes with a lot of questions and other problems that came up .

      first , i took the IO board out and connected the crossfire directly to J19 as shown at picture in the previous massage.

      then i configured the receiver to work in mavlink mode and started the voxl px4 service with voxl-px4 -r

      (as i founded in other topic in the forum) .

      as a result we got pretty smooth flight and actuator output looks great :
      https://review.px4.io/plot_app?log=dd187870-0fb2-4dc9-a0f6-694c4c3bdea2

      now since we need this IO board how can we solve this problem ?

      moving to work with mavliink causes a lot of missing mavlink messages and tabs in qgc mavlink inspector, but this problem should be in a new topic (i will publish later ) .

      looking forward for any help/solution .

      Alex KushleyevA 1 Reply Last reply Reply Quote 0
      • Alex KushleyevA
        Alex Kushleyev ModalAI Team @bensusana
        last edited by

        @bensusana

        Please let us test it on our end to see if we can reproduce the issue. I will ask our team to set up a quick test as soon as possible.

        Alex

        ModeratorM 1 Reply Last reply Reply Quote 0
        • ModeratorM
          Moderator ModalAI Team @Alex Kushleyev
          last edited by

          @bensusana can you please diagram your desired system architecture? Why do you need the IO board?

          bensusanaB 1 Reply Last reply Reply Quote 0
          • bensusanaB
            bensusana @Moderator
            last edited by

            @Moderator hi
            first of all we use it to connect RC receiver and we also need the other pwm pins for servo operate .

            we tried to connect the crossfire nano directly to j19 and change the mode to mavlink (just to see how the drone perform ),

            we succeed to do that only with voxl-px4 -r command that we do every restart (im guessing there is an easy way to do it if you can guide us through )
            but that causes a lot of mavlink massages and status tabs like battery status and a bunch of other tabs in qgc mavlink inspector to disappear .

            if there is some guidelines that i missed to work properly with crossfire receiver without IO board for now ,
            that will give us a lot of space for keeping developing .

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

              @bensusana Can you provide some more information to help us rule out any obvious configuration issues? For example, a px4 log from journalctl -b -u voxl-px4 --no-pager on voxl2?

              bensusanaB 1 Reply Last reply Reply Quote 0
              • bensusanaB
                bensusana @Eric Katzfey
                last edited by bensusana

                @Eric-Katzfey
                hi eric , i uploaded the log here (too many characters )
                https://we.tl/t-36gYH3HTue
                if you guys can support us through email it will be much faster .
                thanks.

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

                  @Eric-Katzfey I don't see anything obviously wrong in either the flight log or the startup log. The log of the input_rc topic doesn't show any obvious dropouts or other problems but it is not logged at full rate so it's possible that it didn't capture something bad.

                  bensusanaB 1 Reply Last reply Reply Quote 0
                  • bensusanaB
                    bensusana @Eric Katzfey
                    last edited by

                    @Eric-Katzfey @Alex-Kushleyev @Chad-Sweet
                    hi guys,
                    we about to build 4 more drones with same setup ( 8 total) and we have to be sure about the hardware, how can you help us to work this through?
                    can one of the dev team can give us support through emails? its hard to support this with one massage a day ( we have time zone problem 😳 )

                    ModeratorM 1 Reply Last reply Reply Quote 0
                    • ModeratorM
                      Moderator ModalAI Team @bensusana
                      last edited by

                      @bensusana Hi Ben, Eric is our head of software so you are getting the best support we can offer at this point. Do you have developers you work with who can help debug PX4?

                      We are working on a new firmware for that VOXL 2 IO board that we hope to help resolve some of your issues. We are a few weeks away though from the release.

                      For the direct CSRF connection, are you using the latest SDK or is it still the older version?

                      bensusanaB 1 Reply Last reply Reply Quote 0
                      • bensusanaB
                        bensusana @Moderator
                        last edited by

                        @Moderator Sdk 0.9.5
                        Crossfire nano rx connected to j19 ,using mavlink mode.
                        For unknown reasons in this mode I can control the drone but a lot of mavlink massages disappear, no battery status system status almost half of the tabs in mavlink inspector on qgc are gone .

                        What I’m doing wrong?
                        Can I use csrf raw on that Sdk?or should I move to v1.0?

                        should I try use spectrum receiver?

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

                          @bensusana Using the TBS Crossfire receiver in mavlink mode shouldn't have any affect on the mavlink messages you get at QGC. The TBS Crossfire driver runs on the DSP and communicates to the receiver using UART. It uses the Mavlink protocol over that UART. The Mavlink module is a completely separate thing that runs on the applications processor and communicates to QGC via the network. So it is unclear to me how one would influence the other in any way. You can certainly try it in CRSF mode. You can also switch to Spektrum. For full M0065 support of both RC and PWM we would recommend waiting for the upcoming 1.0.x release that supports that combination.

                          bensusanaB 1 Reply Last reply Reply Quote 0
                          • bensusanaB
                            bensusana @Eric Katzfey
                            last edited by bensusana

                            @Eric-Katzfey how to start the system with crsf raw mode?
                            i didnt found it on the modalAi portal .
                            for mavlink mode i tracked open topic that says use voxl-px4 -r for mavlink...
                            this link : https://docs.modalai.com/voxl2-rc-configs/#crsf leading to "page not found"

                            thanks for the support !

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

                              @bensusana Use -c instead of -r. Baudrate will be 250000 for CRSF (It's 115200 for Mavlink mode).

                              bensusanaB 1 Reply Last reply Reply Quote 0
                              • bensusanaB
                                bensusana
                                last edited by

                                hi guys ,
                                quick update , after a lot of testing and after we take out the IO board and still got some wobbling from the drone , we re-calibrate the f55 esc we got diffrent results from the last calibration , after updated the last resullts we did a flight test and the drone fly smoothly .

                                thanks for the support ,
                                i hope that this topic will help others šŸ™‚
                                @Eric-Katzfey @Moderator @Alex-Kushleyev

                                1 Reply Last reply Reply Quote 0
                                • bensusanaB
                                  bensusana @Eric Katzfey
                                  last edited by

                                  @Eric-Katzfey

                                  only 420000 work for me for CRSF RAW

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