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

    VIO waypoint navigation

    VOXL SDK
    4
    7
    627
    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.
    • J
      Jetson Nano
      last edited by 13 May 2024, 10:50

      @Chad-Sweet
      The latest release SDK 1.2 tells that now VIO waypoint navigation is now supported.
      Could you tell us how we can test the above feature as the documentation doesn't make it clear.

      C 1 Reply Last reply 14 May 2024, 08:41 Reply Quote 0
      • C
        Cliff Wong ModalAI Team @Jetson Nano
        last edited by Cliff Wong 14 May 2024, 08:43 14 May 2024, 08:41

        @Jetson-Nano Hi there, here's a tutorial on using this feature.

        The video applies one of the vins_vio params-- based on if you are planning indoor or outdoor missions in QGC. The drone will automatically acquire heading from the internal compass. Note, the compass is not used for position estimation, just to acquire vehicle heading at power up. This is required in order to assign a global heading "at origin" (aka takeoff) since we are dealing with QGC's global Lat Lon system for mission planning. This allows a saved QGC-GPS mission be reused as long as a takeoff position is added....and loaded and executable under vio-only position estimation of course.

        As an alternative, one may not use the above params, but instead use the option of manually entering in the heading of the vehicle. That is done in the takeoff item's heading field of a QGC mission. That is to allow manually heading change on the fly.

        J 1 Reply Last reply 14 May 2024, 11:02 Reply Quote 1
        • J
          Jetson Nano @Cliff Wong
          last edited by 14 May 2024, 11:02

          @Cliff-Wong
          Heyy,
          How do I do even set waypoints for Indoors with QGC?

          C 1 Reply Last reply 14 May 2024, 17:40 Reply Quote 0
          • C
            Cliff Wong ModalAI Team @Jetson Nano
            last edited by Cliff Wong 14 May 2024, 17:43 14 May 2024, 17:40

            @Jetson-Nano If using QGC for mission planning, indoor missions are more of an approximation since openstreetmap displays no indoor spaces (e.g. approximating waypoints on the roofline of buildings). If there's a way to overlay an indoor floorplan/raster or add custom maps using a WMS server into QGC would be ideal. Then you can ingest a floor plan of a indoor space and perform precise waypoint planning. Note QGC mission planning provides distance info between waypoints, so one can construct an fairly accurate flight pattern (e.g. for navigating known aisleway & starting point for example).

            To describe what's happening under the hood: we're using QGC's takeoff mission item as the local position origin for VIO, and its registered lat-lon is used as a global position offset (though you can manually type it in as well in QGC). From there, waypoints are executed in reference to that origin and true north (of the map). In the end, you're basically flying a pattern based on the take off point and true north. Hence, it doesn't matter where you fly on the map cause this feature is telling PX4 where the drone is located in global space (when running vio only)--and executes the same flight pattern [on the map] from the distances & heading.

            Alternatives for indoor "mission planning": we do offer voxl-mapper (trajectory-style) as well as wps mode in voxl-vision-hub (waypoint-style), though both are offboard mode planners in local space and thus precise by setup, but being offboard-mode based, you do not get all the safety measures that PX4 mission mode provides (e.g. RTH, PL, Geofencing, Auto-mode, etc...).

            J J 2 Replies Last reply 20 May 2024, 12:45 Reply Quote 0
            • J
              Jetson Nano @Cliff Wong
              last edited by Jetson Nano 20 May 2024, 13:10 20 May 2024, 12:45

              @Cliff-Wong
              Hey
              I will try to input custom indoor maps with QGC.
              How can i configure voxl-vision-hub for waypoint-style navigation?
              In the latest configration setups for SDK 1.2, only 4 configrations are there
              fc0a536b-ba98-44d2-8e8b-769ce382b1c8-image.png
              b454d05a-7abf-42eb-ba5b-dfe47fa2e874-image.png

              1 Reply Last reply Reply Quote 0
              • J
                Judoor 0 @Cliff Wong
                last edited by 30 Oct 2024, 18:55

                @Cliff-Wong Hi,
                I'm trying to implement the vio navigation without gps. i'm on sdk 1.3.2 with a starling 2.
                When uploading the waypoint to the drone, the global position of the drone isn't reference to the take off point. in fact it doesn't appear at all on the map.
                What can I do to fix that ?
                Julien

                C 1 Reply Last reply 7 days ago Reply Quote 0
                • C
                  constantines @Judoor 0
                  last edited by 7 days ago

                  @Judoor-0
                  You can use QGroundControl v5 and later. Then once your drone coots and connected to the QGC, mouse click on the desirable position and select Set Estimator Origin option. This will be your [0,0,0] in local frame and [lat, lon, alt] in global
                  24ef863e-534d-4894-b99d-d1cacd609954-Untitled.jpg

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