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

    Garbage attitude control

    Ask your questions right here!
    9
    27
    1984
    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.
    • modaltbM
      modaltb ModalAI Team
      last edited by

      Hey @Patrick-Hinchey ,

      Thanks for the video, I'm gonna get some teammates to help early this week who are much more versed in this area.

      Here's my setup, it's VOXL2 with VOXL2 IO, as you can see it's flyable but a little rough, I too initially had a wobble that prevented me from flying and changed params a bit from our default Sentinel settings to get it airborne:
      https://www.youtube.com/watch?v=1INto92k-v0

      I'll get some members of the team early this week to better answer your second question and we'll keep cranking away.

      1 Reply Last reply Reply Quote 0
      • Daniel MellingerD
        Daniel Mellinger ModalAI Team
        last edited by

        Hi @Patrick-Hinchey, we are actively working on figuring out the answer your question about "why the same gains on the same machine would work great on the Pixhawk4 but not on the VOXL2." There are several differences between the PX4 code running on VOXL2 compared to Pixhawk4. Specifically, the path of the PWM commands to the motors including the px4io setup is different on VOXL2 compared to Pixhawk4. Additionally, VOXL2 uses a different IMU than Pixhawk4 and that IMU is configured differently. We will keep you posted on what we are able to figure out.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by A Former User

          @Patrick-Hinchey

          I hope all is well!

          I'm sorry you're dealing with this - I know it can be frustrating.

          I'm jumping here a little late and may have missed something. I was wondering, can you confirm that you have the correct motor mapping:
          f58f9527-186f-40ab-8c76-a389971eebc1-image.png

          Also, were you able to successfully run through a PWM ESC calibration using these Instructions? Which specific ESCs are you using? Did you hear the expected chimes (maybe firmware not accepting)?

          1 Reply Last reply Reply Quote 0
          • Patrick HincheyP
            Patrick Hinchey
            last edited by

            Thank you for your insight everyone,

            We have an important milestone coming up in 2 weeks so we're going to use the external flight controller until then and then resume troubleshooting this issue after that - trying all the suggestions above.

            Thanks, see you in 2 weeks!

            1 Reply Last reply Reply Quote 0
            • X
              xav04
              last edited by

              Hi, I have the same problem. I have VOXL 2 I/O and every time I try to take it off it wobbles and crashes. I have a quad x, I have done the ESC calibration and I have followed all the instructions. Is there any solution to this problem?

              Patrick HincheyP 1 Reply Last reply Reply Quote 0
              • Patrick HincheyP
                Patrick Hinchey @xav04
                last edited by Patrick Hinchey

                @Chad-Sweet @xav04 I have had a chance to get our new ModalAI x T-motor F55A ESCs out of the box and plug them in. I can communicate with them over FTDI converter on my laptop, but the VOXL2 doesn't recognise them.
                There's not much troubleshooting I can do as the tutorial just says to plug it in and set the correct PX parameters. Do I remember correctly that I read somewhere the MAVLink console doesn't work on VOXL2? It certainly doesn't work on mine.
                The motors don't spin when I arm, and I'm not getting any telemetry info from them.
                I followed the tutorial for VOXL EXC V2. IS there anything special I need for the F55A?

                1 Reply Last reply Reply Quote 0
                • modaltbM
                  modaltb ModalAI Team
                  last edited by

                  Hey @Patrick-Hinchey I can get on the phone with you tomorrow if easier just let me know.

                  It's likely the baud rate on the VOXL2 side that needs to be updated. There's a param UART_ESC_BAUD that by default is 250kbit

                  https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/uart_esc/modalai_esc/modalai_esc_params.c#L57

                  I believe the default baud on this F55A config is going to be 2Mbit (2000000 as the param).

                  When you mentioned you are talkin' to them over FTDI, is this through the voxl-esc python tools?

                  As for the MAVLink console, we don't have the plumbing going for some of the commands over the UDP link from QGC to VOXL2.

                  That said, you can get to the nuttx like shell via command line if you SSH onto target or adb (captured here, as a work around )

                  Patrick HincheyP 1 Reply Last reply Reply Quote 0
                  • Patrick HincheyP
                    Patrick Hinchey @modaltb
                    last edited by

                    @modaltb Sorry for not replying. Is there an option to set up email notifications?
                    Yep I was talking to the ESC with voxl-esc python tools. And I believe it was indeed at 2Mbaud.

                    We've decided to use the FlightCore V2 as the flight controller going forward, with VOXL2 acting only as companion computer. We may revisit this sometime in the future as a weight-reduction exercise, but not any time soon

                    1 Reply Last reply Reply Quote 0
                    • modaltbM
                      modaltb ModalAI Team
                      last edited by modaltb

                      OK thanks for the info, we are still looking at the main issue at hand in this thread still.... it's slow progress right now, but we will update here when I have positive movement to share.

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

                        @Patrick-Hinchey
                        hi patrick
                        did you manage to solve the tune problem ?
                        we king of facing same problem with our drone
                        any help will be appreciate

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