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. How can I see the apriltag offset in ROS

How can I see the apriltag offset in ROS

Scheduled Pinned Locked Moved Ask your questions right here!
7 Posts 3 Posters 1.6k Views 3 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.
  • K Offline
    K Offline
    kiprock
    Contributor
    wrote on last edited by kiprock
    #1

    Hello!
    I would like to use the Apriltag frame localization over in ROS to localize my drone. However all of the mavros odom topics do not seem to publish this offset. Is there a way to do this? I can see the offsets when I run voxl-vision-px4 -p

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kiprock
      Contributor
      wrote on last edited by
      #2

      No response. I'll ask a related question... what is the most stable odom topic that is transmitted in MAVROS? /mavros/local_position/odom seems to have a lot of drift.

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

        The drift might be typical VIO drift. If the lighting is reasonable and there are interesting things to look at, VIO should hold pretty steady. If there is limited lighting/features you will see drift, vibration on the IMU can have significant negative effects on VIO performance as well.

        voxl-vision-px4 does the AprilTag correction internally. It's certainly possible to do this in ROS, it just would require some coding to make it happen.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kiprock
          Contributor
          wrote on last edited by
          #4

          Thanks, so my question is, if I am running a planner in ROS, and sending out move simple goals to a local coordinate, will the vehicle auto correct it's odometry while flying around? My tests seem to suggest that this would not be the case.

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

            In voxl-suite 0.2.0, if voxl-vision-px4 is configured to incorporate the apriltag corrections, it should happen automatically if using VIO from vvpx4 as the odometry source.

            The MPA version of apriltag server will be open and found here and this will work with newer versions of voxl-suite. We're in active development of this now

            1 Reply Last reply
            0
            • ModeratorM Offline
              ModeratorM Offline
              Moderator
              ModalAI Team
              wrote on last edited by
              #6

              @kiprock I spoke too soon and was incorrect. There was no way to get "fixed frame" pose in older apriltag implementation either. The fixed frame is published here in the old code, but that would have to be sent to ROS manually.

              We will make sure that fixed frame is published in the upcoming version (hopefully this week), and then it will be available in voxl_mpa_to_ros

              @James-Strawson for awareness

              1 Reply Last reply
              1
              • K Offline
                K Offline
                kiprock
                Contributor
                wrote on last edited by
                #7

                That is what I thought. I have not updated the system yet. Please let me know when this update is available!

                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