ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Retrieving Apriltag offset from MAV local frame offset

    Ask your questions right here!
    2
    3
    92
    Loading More Posts
    • 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
      JoeAR_21
      last edited by

      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 Reply Quote 1
      • ModeratorM
        Moderator ModalAI Team @JoeAR_21
        last edited by

        @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 Reply Quote 0
        • J
          JoeAR_21 @Moderator
          last edited by

          @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 Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors