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

    voxl-mavlink-server external FC Bus Error

    Ask your questions right here!
    3
    5
    488
    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.
    • Steve TurnerS
      Steve Turner
      last edited by

      We were running a VOXL-1 based system off of staging.

      Aftern an opkg update and opkg upgrade it looks like the MAVLINK server is broken. We're investigating now, just wanted to get this out there.

      voxl:~$ voxl-mavlink-server
      loading our own config file
      =================================================================
      Parameters as loaded from config file:
      primary_static_gcs_ip:        192.168.8.10
      secondary_static_gcs_ip:      NULL
      autopilot_uart_backup_bus:    12
      autopilot_uart_bus:           5
      autopilot_uart_baudrate:      921600
      udp_mtu:                      0
      en_external_ap_timesync:      1
      =================================================================
      Successfully opened primary mavparser on bus 5
      Starting primary thread for bus 5
      Successfully opened backup mavparser on bus 12
      Starting backup thread for bus 12
      got first packet on bus 5, stopping the other bus: 12
      Adding primary GCS IP address from conf file to list: 192.168.8.10
      Added new UDP connection to 192.168.8.10
      Not connecting to secondary gcs ip: NULL
      Added new UDP connection to 10.147.20.136
      CONNECTED to GCS at 10.147.20.136
      Init complete, entering main loop
      Detected Autopilot Mavlink SYSID 1
      thread for bus 12 trying to close
      thread for bus 12 Successfully closed
      Bus error
      

      If I rollback the mavlink server to previous versions it seems happy but I can't connect to voxl-vision-hub through the mavlink server from something like QGC.

      1 Reply Last reply Reply Quote 0
      • Zachary Lowell 0Z
        Zachary Lowell 0 ModalAI Team
        last edited by

        Hi Steve,

        If you are using the dev branch of mavlink-server then you do not need voxl-vision-hub to communicate with QGC. If you are using the previous version from sdk0.9.5 then you need voxl-vision-hub to communicate with qgc.

        What exactly are you trying to do here? Are you configuring voxl-mavlink-server and voxl-vision-hub using the voxl-configure tool? Are you using both the dev branch for voxl-vision-hub and voxl-mavlink-server?

        Zach

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

          Zach,

          Thanks for the quick response!
          I can run both on the dev branch, or roll back to staging.

          I thought that voxl-vision-hub would talk to the voxl-mavlink-server which handles all communication with PX4.

          From there voxl-mavlink-server forwards between visionhub, px4, and QGC once it connections.

          I'll try running the new config tool again to see if that cleans anything up.

          Anything else to look for for the bus error?

          1 Reply Last reply Reply Quote 0
          • Zachary Lowell 0Z
            Zachary Lowell 0 ModalAI Team
            last edited by

            @Steve-Turner said in voxl-mavlink-server external FC Bus Error:

            Anything else to look for for the bus error?

            Yeah no problem!

            So as of the dev branch (which is the latest and greatest dev code) pretty much all mavlink esc forwarding is now handled by voxl-mavlink-server. Which is why you shouldn't need it for qgc connection anymore. Which method of internet are you using? Softap, station? Are you connecting to the voxl wifi or communicating over a LAN?

            As for the bus error, could you give me a bit more as to what you are doing hardware wise?

            1 Reply Last reply Reply Quote 0
            • A
              afdrus
              last edited by

              I am also trying to understand this. I was able to forward the mavlink messages from voxl to the station via wifi (using voxl-wifi station), but I am not able to specify the port as it streams everything to the default port 14550. How can I specify the port to which I can send the telemetry?

              1 Reply Last reply Reply Quote 0
              • Philemon BennerP Philemon Benner referenced this topic on
              • First post
                Last post
              Powered by NodeBB | Contributors