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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. Starling planning using waypoints

Starling planning using waypoints

Scheduled Pinned Locked Moved Unsolved General Questions
6 Posts 3 Posters 1.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.
  • I Offline
    I Offline
    iparra
    Contributor
    wrote on last edited by
    #1

    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
    0
    • I iparra

      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 Offline
      ModeratorM Offline
      Moderator
      ModalAI Team
      wrote on last edited by
      #2

      @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
      0
      • ModeratorM Moderator

        @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 Offline
        I Offline
        iparra
        Contributor
        wrote on last edited by
        #3

        @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
        0
        • I iparra

          @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 Offline
          I Offline
          iparra
          Contributor
          wrote on last edited by
          #4

          @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
          0
          • I iparra

            @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 Offline
            Jetson NanoJ Offline
            Jetson Nano
            Veteran
            wrote on last edited by
            #5

            @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
            0
            • Jetson NanoJ Jetson Nano

              @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 Offline
              I Offline
              iparra
              Contributor
              wrote on last edited by
              #6

              @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
              0

              Reading along? Create a free ModalAI Forum account to join in.

              With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

              Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

              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