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

    voxl-vision-hub sending unsolicited set_attitude messages

    Ask your questions right here!
    2
    6
    109
    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.
    • B
      bendraper
      last edited by

      I have an external ArduPilot flight controller and when I enter Guided mode, my drone starts to descend and move as if it were given a target even though intended behavior is that it should just hold its position until given a target. Upon some digging, I think I've determined that somewhere in vision hub (version 1.8.17), the moment I enter guided mode I get a burst of SET_ATTITUDE_TARGET messages. I have open vins server turned off as well as voxl-px4 for what its worth. Any idea where and why this message may be getting sent?

      B 1 Reply Last reply Reply Quote 0
      • B
        bendraper @bendraper
        last edited by

        @bendraper Actually I think the message is SET_POSITION_TARGET_LOCAL_NED not SET_ATTITUDE

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

          @bendraper Edit /etc/modalai/voxl-vision-hub.conf and set "offboard_mode": "off"

          B 2 Replies Last reply Reply Quote 0
          • B
            bendraper @Eric Katzfey
            last edited by

            @Eric-Katzfey So I have a niche issue with that. I'm running a process on the Voxl that is utilizing the local port within vision hub because it is said in the voxl-mavlink-server conf file that you should expose a local port there as opposed to voxl-mavlink server. But now when i set offboard mode to off, my process is blocked off from that local port that is enabled within vision hub... any way you can see to resolve this?

            1 Reply Last reply Reply Quote 0
            • B
              bendraper @Eric Katzfey
              last edited by

              @Eric-Katzfey This process is trying to send SET_POSITION_TARGET_LOCAL_NED by the way. Not sure if the act of setting offboard mode to OFF just blocks that message or something

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

                @bendraper The code is open source. It is located here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/-/tree/dev?ref_type=heads. We encourage users to clone the repo and familiarize themselves with the code base. Did you try setting offboard_mode to off? Did it stop the SET_POSITION_TARGET_LOCAL_NED messages from being sent out?

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