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

    Mavlink Mode on FC-V1

    VOXL Flight
    1
    2
    217
    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.
    • m4v3rM
      m4v3r
      last edited by

      Hey there,
      I recently stumbled upon some unclear and conflicting documentation and hope to get some insight from you guys:

      This is about the PX4 parameter that sets the mavlink mode to talk to VOXL on UART2 with the one-PCB solution:

      I was used to it having to be set to "onboard" (value "2") as is covered in the general PX4'documentation-
      MAV1_onboard-2.jpg
      and used to be in your (ModalAI)'s documentation which recently got updated and now says "0" (Normal) as the mode for both Flight Core and VOXL Flight:
      MAV1_normal-1.jpg
      and
      MAV1_normal-2.jpg

      while the source code still includes "2" (Onboard) as the default parameter-
      MAV1_onboard-1.jpg
      the picture shows your own repository but it's the same with all other branches as well.
      Funny thing is - sometimes I can set this parameter afterwards and sometimes it just resets immediately. Not sure yet if that's dependant on the IMUs present or maybe the airframe selection or some other parameter...

      However,
      I would like to know which is the desired Mavlink mode to set in PX4 for the UART that I want it to talk to the VOXL?
      thanks and cheers.

      Ch.B.

      1 Reply Last reply Reply Quote 0
      • m4v3rM
        m4v3r
        last edited by m4v3r

        Hey,
        just to give a little update here:
        I found out how to set the "force mavlink mode" variable in the voxl-vision-hub.conf which was forcing the parameter back in PX4, and simultaneously set it to "Normal" in PX4.
        So far I don't see any downsides from using MAV_1_MODE=0 (normal).
        I'm only making use of voxl-mavlink-server and voxl-vision-hub for the time being, basically to use VOXL's connectivity to send MAV commands to the PX4.
        Do you think using "normal" will have any downsides?
        The inconsistency between your documentation and the .conf and PX4 firmware files still exists though, so I'd really like to get some more insight on this.
        Thanks and a great weekend to everyone. ❤

        Ch.B.

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