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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL
  4. mpa to ros voxl-tag detector

mpa to ros voxl-tag detector

Scheduled Pinned Locked Moved VOXL
7 Posts 5 Posters 1.7k Views 2 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.
  • Mostafa NikpourM Offline
    Mostafa NikpourM Offline
    Mostafa Nikpour
    wrote on last edited by
    #1

    Hi,

    I am trying to get voxl-tag detector data by tracking camera in host PC, but it gives me some weird numbers that are not related to tag detection data. I use the roslaunch voxl_mpa_to_ros voxl_mpa_to_ros.launch in voxl and rostopic echo /tracking_tag_overlay in PC.Screenshot from 2022-09-06 16-06-03.png

    1 Reply Last reply
    2
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi,

      You're echoing the tracking tag overlay, which is an image stream with the original image annotated with any detected tags, not a ros packet with information about the tags. You'll want to view this with rviz or rqt_image_view.

      Patrick HincheyP 1 Reply Last reply
      0
      • Mostafa NikpourM Offline
        Mostafa NikpourM Offline
        Mostafa Nikpour
        wrote on last edited by
        #3

        Hi Alex,

        How can I remotely access the data displayed by voxl-inspect-tags? I noticed that there were several ROS topics available:

        /imu0
        /imu1
        /qvio_overlay
        /rosout
        /rosout_agg
        /stereo_tag_overlay/left
        /stereo_tag_overlay/right
        /tracking
        /tracking_tag_overlay
        /voa_pc_out
        

        but none of those (tracking and tracking_tag_overlay) seem to be what I need.

        1 Reply Last reply
        1
        • Nicolas BrissonneauN Offline
          Nicolas BrissonneauN Offline
          Nicolas Brissonneau
          wrote on last edited by
          #4

          Hi,

          I'm also interested in accessing this data, I noticed the voxl-inspect-tags code manages to access it but I'm not sure what is the proper approach to send it through MAVROS/Mavlink to an external flight controller. I tried the following things:

          • adding the libraries from voxl-inspect-tags that open the pipe associated with tags to a CMakeLists file in a ROS package, though it doesn't compile with an error message stating they're incompatible when running catkin_make

          • reading the "/tracking" ROS msg from within the kinetic docker and then:
            (1) use a standard ROS package for AprilTag detection, doesn't work as it requires catkin build which fails.
            (2) catkin_make a ROS package for AprilTag detection, but I didn't have any luck with compiling OpenCV in the docker.

          My ultimate goal would be to send this data to PX4 via UART for precision landing but so far I'm a bit lost and would truly appreciate an opinion on this. Would it be simpler to copy the process from voxl-inspect-tags and use mavlink directly to send it to the separate flight controller? If so how would one add mavlink messaging capabilities to the .c code? Or am I way off?

          Jose Alfredo Rosas CordovaJ 1 Reply Last reply
          0
          • Patrick HincheyP Offline
            Patrick HincheyP Offline
            Patrick Hinchey
            Contributor
            wrote on last edited by
            #5

            Did anything come of this?
            I'm also trying to access AprilTag location in ROS, but there's nothing obvious in rostopic list.
            I can't find any documentation on it either.
            @modaltb

            1 Reply Last reply
            0
            • ? A Former User

              Hi,

              You're echoing the tracking tag overlay, which is an image stream with the original image annotated with any detected tags, not a ros packet with information about the tags. You'll want to view this with rviz or rqt_image_view.

              Patrick HincheyP Offline
              Patrick HincheyP Offline
              Patrick Hinchey
              Contributor
              wrote on last edited by
              #6

              @Alex-Gardner Is there any way to get the tag X.Y.Z coords in ROS?

              1 Reply Last reply
              1
              • Nicolas BrissonneauN Nicolas Brissonneau

                Hi,

                I'm also interested in accessing this data, I noticed the voxl-inspect-tags code manages to access it but I'm not sure what is the proper approach to send it through MAVROS/Mavlink to an external flight controller. I tried the following things:

                • adding the libraries from voxl-inspect-tags that open the pipe associated with tags to a CMakeLists file in a ROS package, though it doesn't compile with an error message stating they're incompatible when running catkin_make

                • reading the "/tracking" ROS msg from within the kinetic docker and then:
                  (1) use a standard ROS package for AprilTag detection, doesn't work as it requires catkin build which fails.
                  (2) catkin_make a ROS package for AprilTag detection, but I didn't have any luck with compiling OpenCV in the docker.

                My ultimate goal would be to send this data to PX4 via UART for precision landing but so far I'm a bit lost and would truly appreciate an opinion on this. Would it be simpler to copy the process from voxl-inspect-tags and use mavlink directly to send it to the separate flight controller? If so how would one add mavlink messaging capabilities to the .c code? Or am I way off?

                Jose Alfredo Rosas CordovaJ Offline
                Jose Alfredo Rosas CordovaJ Offline
                Jose Alfredo Rosas Cordova
                Contributor
                wrote on last edited by
                #7

                Hello, @Nicolas-Brissonneau:

                I am trying to do the same thing as you and am stuck with the same problem. Did you manage to solve it?

                1 Reply Last reply
                1

                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