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

    Starling planning using waypoints

    Ask your questions right here!
    3
    6
    354
    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.
    • I
      iparra
      last edited by

      Hi,

      we want to fly the drone in large indoors environments and we want the planner not to use a single target point but a series of waypoints so that we can plan a very long trajectory inside a building. It does not necessarily has to be on the voxl-portal by clicking, it is ok if we pass along a series of way points coordinates (10-15) and the planner performs plans between waypoints or a long plan passing through the way points. Where should we start looking to do so?

      Thank you in advance

      ModeratorM 1 Reply Last reply Reply Quote 0
      • ModeratorM
        Moderator ModalAI Team @iparra
        last edited by

        @iparra that's not implemented in the current code base. You'll need to modify the voxl-mapper code to achieve what you are looking to do. You can start by looking here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-mapper/-/blob/master/server/voxl-mapper/voxl_planner.cc?ref_type=heads

        I 1 Reply Last reply Reply Quote 0
        • I
          iparra @Moderator
          last edited by

          @Moderator Thak you for your help.

          I already have a first working version as far as planning is concerned, but I'm looking now into voxl-portal to be able to nicely interactuate with the buttons and the voxl-mapper "states".

          I 1 Reply Last reply Reply Quote 0
          • I
            iparra @iparra
            last edited by

            @iparra said in Starling planning using waypoints:

            @Moderator Thak you for your help.

            I already have a first working version as far as planning is concerned, but I'm looking now into voxl-portal to be able to nicely interactuate with the buttons and the voxl-mapper "states".

            Another question, after an initial mapping, I don't want to use the mapping feature of voxl-mapper but the planning. Is there a way to tell voxl-mapper not to update the map with the new measures. As there is not actual SLAM, when some VIO fails the map gets ruined and cannot continue flying unless I clear the map and reload. We are relocalizing using april tags, but after the relocalizacions the map can be ruined.

            Thank you in advance

            Jetson NanoJ 1 Reply Last reply Reply Quote 0
            • Jetson NanoJ
              Jetson Nano @iparra
              last edited by

              @iparra
              I am also currently attempting to do the same. Long waypoint navigation without the drone stopping.
              If possible could you tell us what kind of change did you make in the mapper to get this working?

              I 1 Reply Last reply Reply Quote 0
              • I
                iparra @Jetson Nano
                last edited by

                @Jetson-Nano Unfortunately it is not yet fully working, as I said I managed to create plans with waypoints and to fly those plans we are currently launching the plans on a waypoint to waypoint basis so, no full trajectory without stopping (we don't have to click on the waypoints but the drone stops to plan the next strecht). We have done so because we don't trust the VIO to be able to mantain a correct pose for the long trajectory through the waypoints and we "stop" at the waypoints (where we placed april tags) to relocate and replan with a corrected position after a flight between waypoints.

                If you trust VIO to follow your planned trajectory it is possible. We have modified the planTo function from mapper to localize the closest waypoint to the clicked target and we launch global_planner_->createPlan(current_start, final_target, waypoints_); iteratively from way point to waypoint without clearing the waypoints_ vector until it reaches the last waypoint and then plan to the actual target. This creates a long trajectory that should be followed when you press follow button. As I said we have never tried to follow the long trajectory, but as far as I understand the drone should follow it given that qvio maintains a good enough pose.

                Right now we are experiencing stability issues when switching from position mode to trajectory mode. If we manage to solve that I can run a test with the long trajectory and get back to you.

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