Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Kits
  3. VOXL-CAM
  4. VOXL not connecting to QGC

VOXL not connecting to QGC

Scheduled Pinned Locked Moved VOXL-CAM
17 Posts 6 Posters 3.4k Views
  • 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 Offline
    Steve TurnerS Offline
    Steve Turner
    wrote on last edited by
    #8

    Link Preview Image
    How can I set home position in mavros?

    Hello everyone. How can I send home position from my fake gps module during initialization phase? I’m currently working in SITL mode in gazebo, and I have removed the gps joint from iris model so far so good. I also w…

    favicon

    Dronecode Forum | Open Source Drone Development (discuss.px4.io)

    Maybe offers some options as well.

    And PX4 docus on home position.
    https://airsim-fork.readthedocs.io/en/latest/px4_sitl.html#setting-gps-origin

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #9

      @stevet Thank you so much for incredible insights into voxl-vision-px4 package as well as pointing to specific code which may be related to this issue.

      I changed offboard mode to "trajectory" in voxl-vision-px4.conf and tried running mavros with it still no luck. Still I face same issue of mavros requesting home position from PX4.

      I dont know exactly when PX4 sends home position to mavros, as in when copter lifts off or even on ground. But still it would be worth a try to run mavros once copter is off the ground holding its position.

      @James-Strawson Any inputs over here? Does PX4 publishes home position to mavros when qvio server is initialised and sending VIO to FCU. I guess it should since people generally must be using figure eight offboard example with mavros from ground which needs mavros to be taking in all setpoint_raw mavros topics inputs?

      1 Reply Last reply
      0
      • James StrawsonJ Offline
        James StrawsonJ Offline
        James Strawson
        ModalAI Team
        wrote on last edited by
        #10

        @stevet said in VOXL not connecting to QGC:

        voxl-mavlink

        When using MAVROS the vvpx4 offboard_mode setting should be set to "off" since the figure 8 and trajectory modes let vvpx4 send offboard commands which would naturally conflict with offboard commands coming from MAVROS.

        the "HP: requesting home position" message is perfectly normal, I've always seen it come up and it's never stopped me from running the mavros figure-8 example.

        P ? 3 Replies Last reply
        0
        • James StrawsonJ James Strawson

          @stevet said in VOXL not connecting to QGC:

          voxl-mavlink

          When using MAVROS the vvpx4 offboard_mode setting should be set to "off" since the figure 8 and trajectory modes let vvpx4 send offboard commands which would naturally conflict with offboard commands coming from MAVROS.

          the "HP: requesting home position" message is perfectly normal, I've always seen it come up and it's never stopped me from running the mavros figure-8 example.

          P Offline
          P Offline
          parbat101
          wrote on last edited by
          #11

          @James-Strawson Can you please elaborate on setting vvpx4 offboard_mode "off" while using MAVROS. I am having a similar issue: my drone does not take off, and the screen displays "requesting home position" when I am running mavros_test.sh file.
          If you can guide me through the steps of turning vvpx4 offboard_mode "off", that would be great. Thank You.

          1 Reply Last reply
          0
          • James StrawsonJ James Strawson

            @stevet said in VOXL not connecting to QGC:

            voxl-mavlink

            When using MAVROS the vvpx4 offboard_mode setting should be set to "off" since the figure 8 and trajectory modes let vvpx4 send offboard commands which would naturally conflict with offboard commands coming from MAVROS.

            the "HP: requesting home position" message is perfectly normal, I've always seen it come up and it's never stopped me from running the mavros figure-8 example.

            P Offline
            P Offline
            parbat101
            wrote on last edited by
            #12

            @James-Strawson I also set offboard_mode of vvpx4 to "off" while running mavros test and the drone still does not take off. I have also attached the pictures of what I changed.
            IMG_2813 2-min.JPG
            IMG_2814-min.JPG

            ? 1 Reply Last reply
            0
            • James StrawsonJ James Strawson

              @stevet said in VOXL not connecting to QGC:

              voxl-mavlink

              When using MAVROS the vvpx4 offboard_mode setting should be set to "off" since the figure 8 and trajectory modes let vvpx4 send offboard commands which would naturally conflict with offboard commands coming from MAVROS.

              the "HP: requesting home position" message is perfectly normal, I've always seen it come up and it's never stopped me from running the mavros figure-8 example.

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #13

              @James-Strawson Thank you for your response.

              Even if I ignore "HP: requesting home position" I am not getting any data over /mavros/global_position/local topic which I think needs home position to be set correctly. Intention behind using /mavros/global_position/local is to have odometry in FLU frame which directly fits into most of the path planners for further work. Any inputs over here?

              I did few more experiments but with no luck :

              • I have seen in some forums like this fake gps plugin in px4 can be used to set home position. This plugin is present in px4 plugin list but isnt active maybe.

              • I tried running rosservice call /mavros/cmd/set_home which always returns false in result which means it is failing. My qvio data is been forwarded to px4 and I can see it on QGC terminal as well.

              Any thoughts on getting /mavros/global_position/local or /mavros/local_position/odom topics working?

              1 Reply Last reply
              0
              • P parbat101

                @James-Strawson I also set offboard_mode of vvpx4 to "off" while running mavros test and the drone still does not take off. I have also attached the pictures of what I changed.
                IMG_2813 2-min.JPG
                IMG_2814-min.JPG

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #14

                @parbat101 Probably you can try enabling "en_send_vio_to_qgc": true in your above shown config file? In my case I can arm drone in manual/position mode easily, just using mavros is the concern.

                P 1 Reply Last reply
                0
                • ? A Former User

                  @parbat101 Probably you can try enabling "en_send_vio_to_qgc": true in your above shown config file? In my case I can arm drone in manual/position mode easily, just using mavros is the concern.

                  P Offline
                  P Offline
                  parbat101
                  wrote on last edited by
                  #15

                  @Aks Thank you for your reply. My problem is also with MAVROS; it does not take off at last step and requests for home position. The drone (VOXL m500) takes off and I can control it flawlessly on manual and position flight mode.

                  I also enabled "en_send_vio_to_qgc" after your suggestion; the MAVROS flight did not work. It still does not take off in the MAVROS flight test. For manual mode and position flight mode, I did not have any problems.
                  I am not sure what is the problem with the MAVROS flight???

                  Edited.jpg
                  IMG_0116.jpg

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    howard
                    Regular
                    wrote on last edited by
                    #16

                    hey!@parbat101
                    Didi you figure out the way to set local position as home? If so please post it here, that would be helpful
                    thank you

                    Bright NnadiB 1 Reply Last reply
                    0
                    • H howard

                      hey!@parbat101
                      Didi you figure out the way to set local position as home? If so please post it here, that would be helpful
                      thank you

                      Bright NnadiB Offline
                      Bright NnadiB Offline
                      Bright Nnadi
                      Contributor
                      wrote on last edited by
                      #17

                      @Steve-Turner Hey please I need you help setting up ADB for my newly purchased VOXL CAM. I already started a discussion "Broken parts".

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      ModalAI
                      Categories Recent Tags ModalAI.com Docs
                      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups