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

    How can I see the apriltag offset in ROS

    Ask your questions right here!
    3
    7
    579
    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.
    • K
      kiprock
      last edited by kiprock

      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 Reply Quote 0
      • K
        kiprock
        last edited by

        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 Reply Quote 0
        • Chad SweetC
          Chad Sweet ModalAI Team
          last edited by

          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 Reply Quote 0
          • K
            kiprock
            last edited by

            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 Reply Quote 0
            • Chad SweetC
              Chad Sweet ModalAI Team
              last edited by

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

                @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 Reply Quote 1
                • K
                  kiprock
                  last edited by

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