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

    volx-mavlink-server PX4 Disconnected From UART

    Ask your questions right here!
    mavlink-server mavlink voxl-vision-px4
    3
    13
    953
    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.
    • tomT
      tom admin
      last edited by

      @zkern5254 I would recommend updating to VOXL Platform 0.9, which is our latest software release and is much newer than the software you're testing with.

      The download can be found here: https://developer.modalai.com/asset/1

      Z 1 Reply Last reply Reply Quote 0
      • Steve TurnerS
        Steve Turner
        last edited by

        I don't work for ModalAI, but a few quick questions I have to try to help:

        VOXL, VOXL Flight or VOXL2?

        What port do you have your PX4 Autopilot/Flight Core plugged into if running a VOXL?

        I recommend running a voxl-configure-mpa and picking one of the options close to your platform or factory reset to configure the mavlink connection via UART for your platform. https://docs.modalai.com/voxl-configure-mpa/

        I would also check /etc/modalai/voxl-mavlink-server.conf and make sure the telemetry port is set up. voxl-configure-mpa should do this for you, but just in case you should see something like:

        /**
         * voxl-mavlink-server Configuration File
         * UART fields are for APQ8096 VOXL1 or QRB5165 VOXL2 with external fc
         * UDP fields are for PX4 on SDSP on QRB5165 only
         * External FC field is for QRB5165 only. Set to true to enable UART
         * communication to an external flight controller, otherwise a UDP interface
         * will be started to talk to voxl-px4 on localhost which is the default behavior.
         *
         */
        {
        	"px4_uart_bus":	5,
        	"px4_uart_baudrate":	921600,
        	"udp_port_to_px4":	14556,
        	"udp_port_from_px4":	14557,
        	"external_fc":	false
        }
        

        If you're running a VOXL with Flight Core, the connection is documented here: https://docs.modalai.com/how-to-connect-voxl-to-flight-core/

        And the UART bus should be port 5 as shown in the config file above.

        If you're using a Flight core, do you have blinking lights on it? Should be solid green, blinking blue.

        I also recommend running image 3.9.0 based on our experience if you can make the upgrade.

        Hope this helps!

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zkern5254 @Steve Turner
          last edited by

          @Steve-Turner Valid points, I'll check the voxl-configure-mpa but I'm pretty positive I've run that already. I'll give it a go anyways.

          As for the mavlink-server config file. I've checked that so many times I see it in my sleep now.

          I'm actually using the flight deck so all the connections aren't really up to me.

          I'll try the upgrade.

          1 Reply Last reply Reply Quote 0
          • Z
            zkern5254 @tom
            last edited by

            @tom Thanks for answer! I'll give the upgrade a shot. That is probably the only thing I haven't tried yet. I should have mentioned in my original post also that I'm using a flight deck. I think that's why this is most confusing to me. All of the UART connections are board level so I can't be messing those up.

            1 Reply Last reply Reply Quote 0
            • tomT
              tom admin
              last edited by tom

              @zkern5254 Does your flight deck have an M0019 (VOXL-Flight) or does it have a dual board solution of M0006 (VOXL) and M0018 (Flight Core)? Just trying to determine if the UART connection is internal or through a cable.

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zkern5254 @tom
                last edited by

                @tom I have the M0019 version

                1 Reply Last reply Reply Quote 0
                • tomT
                  tom admin
                  last edited by

                  @zkern5254 Okay cool, we do test the internal UART before shipping so unless some sort of issue occured post-shipment the hardware should be good.

                  Z 2 Replies Last reply Reply Quote 0
                  • Z
                    zkern5254 @tom
                    last edited by

                    @tom Copy that, I'll try the update and see if that fixes anything. We haven't modified the board or anything since receiving it so I'm not sure why something would have gone with the UART connection of all things.

                    1 Reply Last reply Reply Quote 0
                    • Z
                      zkern5254 @tom
                      last edited by

                      @tom I updated to the newest firmware, then ran the voxl-configure-mpa wizard and I'm still getting PX4 DISCONNECTED FROM UART when I check the mavlink-server status. (I can see the visual odometry messages on wireshark, like before. Just not other mav messages.)

                      b34b4a6f-5f51-4892-8750-f6ce5f226cc4-image.png

                      The mavlink-server config files looks like this:

                      914f0510-5884-4aaa-86cf-dd7d9d482ddf-image.png

                      And my px4 serial params look like this:

                      1b74bb24-8ab9-470a-b2c9-27f67e4315a5-image.png
                      5a53c652-30dd-43f9-be22-51e9a478b77b-image.png

                      So still no dice.

                      1 Reply Last reply Reply Quote 0
                      • tomT
                        tom admin
                        last edited by

                        @zkern5254 I'll see if I can get any other ideas from the team.

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