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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL 2 and VOXL 2 Mini
  3. Relocalization on a loaded map

Relocalization on a loaded map

Scheduled Pinned Locked Moved Unsolved VOXL 2 and VOXL 2 Mini
voxl-2
7 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    afdrus
    Regular
    wrote on last edited by
    #1

    Hi everyone,

    I am doing some pre-flight checks with a Sentinel drone to check how the localization works in the voxl-mapper. I noticed that the drone is not able to relocalize itself within a loaded map that I did earlier. What I did is the following:

    • I switched on the drone in a specific position and I moved it around to build a 3D map using the stereo input;

    • When I was satisfied with the map I saved it and I switched off the drone;

    • I moved the drone to another point and I switched it on;

    • I loaded the 3D map that I made in the previous powercycle and I moved around the drone to see whether it was able to relocalize itself in the map or not.

    Despite the map was updating while I was moving around, the drone was not relocalizing itself and it ended up creating a "false" map of the environment.
    Hence my question: can the drone relocalize itself within a map without booting up at the exact same position in which the drone was switched on at the time of the creation of the map?

    1 Reply Last reply
    0
    • Chad SweetC Offline
      Chad SweetC Offline
      Chad Sweet
      ModalAI Team
      wrote on last edited by
      #2

      Not at this time, no

      1 Reply Last reply
      0
      • A Offline
        A Offline
        afdrus
        Regular
        wrote on last edited by
        #3

        Ok, thank you very much for your response.
        Is this feature under development?

        1 Reply Last reply
        0
        • Chad SweetC Offline
          Chad SweetC Offline
          Chad Sweet
          ModalAI Team
          wrote on last edited by
          #4

          It is not at this point. You could get pretty far by incorporating April Tag Relocalization, docs here

          A 1 Reply Last reply
          0
          • A Offline
            A Offline
            afdrus
            Regular
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • Chad SweetC Chad Sweet

              It is not at this point. You could get pretty far by incorporating April Tag Relocalization, docs here

              A Offline
              A Offline
              afdrus
              Regular
              wrote on last edited by
              #6

              @Chad-Sweet thanks for the reply and sorry for coming back to this question just now. Is it possible to leverage the relocalization directly in the EKF of the VIO (i.e. the position estimate which is sent to PX4/external autopilot)? My question comes from the fact that, in my tests, I was only able to see the effect of the relocalization either via the debug command

              voxl-inspect-pose -f
              

              or by sending a SET_POSITION_TARGET_LOCAL_NED mavlink message. However, with the drone disarmed, I am not seeing any change in the location of the drone in the map. Is this the expected behavior?

              Chad SweetC 1 Reply Last reply
              0
              • A afdrus

                @Chad-Sweet thanks for the reply and sorry for coming back to this question just now. Is it possible to leverage the relocalization directly in the EKF of the VIO (i.e. the position estimate which is sent to PX4/external autopilot)? My question comes from the fact that, in my tests, I was only able to see the effect of the relocalization either via the debug command

                voxl-inspect-pose -f
                

                or by sending a SET_POSITION_TARGET_LOCAL_NED mavlink message. However, with the drone disarmed, I am not seeing any change in the location of the drone in the map. Is this the expected behavior?

                Chad SweetC Offline
                Chad SweetC Offline
                Chad Sweet
                ModalAI Team
                wrote on last edited by
                #7

                @afdrus the relocalization is external to the VIO EKF. You can trace this code path here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/-/blob/master/src/tag_manager.c#L110

                1 Reply Last reply
                1

                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