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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Retrieving Apriltag offset from MAV local frame offset

Retrieving Apriltag offset from MAV local frame offset

Scheduled Pinned Locked Moved Ask your questions right here!
3 Posts 2 Posters 532 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

        Link Preview Image
        GitHub - Joe1Ontiveros/ApriltagPublisher_Starling: Uses C++ to parse the voxl-inspect-tags output, in order to convert it into a ROS topic (PoseStamped)

        Uses C++ to parse the voxl-inspect-tags output, in order to convert it into a ROS topic (PoseStamped) - Joe1Ontiveros/ApriltagPublisher_Starling

        favicon

        GitHub (github.com)

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        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