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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. Retrieving Apriltag offset from MAV local frame offset

Retrieving Apriltag offset from MAV local frame offset

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

    Re: Fixed frame pose MPA to ROS

    Similar to the various above threads, I am trying to figure out if there already exists some way of getting the detected April tag's offset relative the the MAV's local frame (for reference I'm using the frame that /mavros/local_position/pose provides). I'm unsure of how I can achieve this aside from manually piping and shifting through the data outputted by the voxl-inspect-tags command and converting into a ROS Pose. Do let me know if there already exists a method for accomplishing this or if there would be an easier way to retrieve this offset into a ROS pose.

    For reference I am using a Starling with VOXL2 and system image: 1.7.6

    My goal is to visualize the position of the drone relative to the detected April tag for accurate position targeting.

    ModeratorM 1 Reply Last reply
    1
    • J JoeAR_21

      Re: Fixed frame pose MPA to ROS

      Similar to the various above threads, I am trying to figure out if there already exists some way of getting the detected April tag's offset relative the the MAV's local frame (for reference I'm using the frame that /mavros/local_position/pose provides). I'm unsure of how I can achieve this aside from manually piping and shifting through the data outputted by the voxl-inspect-tags command and converting into a ROS Pose. Do let me know if there already exists a method for accomplishing this or if there would be an easier way to retrieve this offset into a ROS pose.

      For reference I am using a Starling with VOXL2 and system image: 1.7.6

      My goal is to visualize the position of the drone relative to the detected April tag for accurate position targeting.

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

      @JoeAR_21 to correct VIO drift, voxl-vision-hub can correct using an AprilTag without any ROS involvement. If you just need to send the data to ROS for another purpose, you should extend voxl-mpa-to-ros to support tag detections

      Source: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros/-/tree/master/catkin_ws/src/src/interfaces?ref_type=heads

      We love incorporating merge requests if you do end up with something useful!

      J 1 Reply Last reply
      0
      • ModeratorM Moderator

        @JoeAR_21 to correct VIO drift, voxl-vision-hub can correct using an AprilTag without any ROS involvement. If you just need to send the data to ROS for another purpose, you should extend voxl-mpa-to-ros to support tag detections

        Source: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros/-/tree/master/catkin_ws/src/src/interfaces?ref_type=heads

        We love incorporating merge requests if you do end up with something useful!

        J Offline
        J Offline
        JoeAR_21
        Contributor
        wrote on last edited by
        #3

        @Moderator said in Retrieving Apriltag offset from MAV local frame offset:

        We love incorporating merge requests if you do end up with something useful!

        Reply

        I've made a quick fix here for anyone looking for it, ill try to make a merge request/real fix for it soon

        https://github.com/Joe1Ontiveros/ApriltagPublisher_Starling

        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