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

ModalAI Forum

  1. ModalAI Support Forum
  2. Autonomy: VIO, Mapping and Navigation
  3. Using april tags for relocalization during offboard "trajectory" mode

Using april tags for relocalization during offboard "trajectory" mode

Scheduled Pinned Locked Moved Unsolved Autonomy: VIO, Mapping and Navigation
apriltag
3 Posts 2 Posters 2.9k 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 are using apriltags on a starling with

    "en_vio": true,
    "en_tag_fixed_frame": true,
    "en_transform_mavlink_pos_setpoints_from_fixed_frame": true

    when we plan and order to follow the trajectory using voxl-mapper if the drone detects an apriltag relocates and create a sudden change in the fixed frame that makes the drone quickly try to reach that offset. Depending on the drift of the relocalization this is a very strong change of position that can cause QVIO to fail. In the documentation it says that

    "When enabled, any SET_POSITION_TARGET_LOCAL_NED mavlink messages received through UDP will have its position, velocity, acceleration, and yaw values updated with the fixed frame offset before being sent to PX4 over UART. This is very useful for MAVROS and MAVSDK processes running locally or remotely."

    Is this process done all at one time? Is there an easy way to "average" this correction so as there is no sudden changes in the reference position. Is there any other way of doing this?

    Thanks in advance

    1 Reply Last reply
    0
    • I Offline
      I Offline
      iparra
      Contributor
      wrote on last edited by
      #2

      Is there a way to change or update body_wrt_local to body_wrt_to_fixed? This way we can start anywhere on the map and we are not forced to start on 0,0,0

      ModeratorM 1 Reply Last reply
      0
      • I iparra

        Is there a way to change or update body_wrt_local to body_wrt_to_fixed? This way we can start anywhere on the map and we are not forced to start on 0,0,0

        ModeratorM Offline
        ModeratorM Offline
        Moderator
        ModalAI Team
        wrote on last edited by
        #3

        @iparra have you read through the documentation on how to configure the tags? https://docs.modalai.com/voxl-tag-detector/#voxl-configure-tag-detector

        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