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

    mpa to ros voxl-tag detector

    VOXL
    5
    7
    606
    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.
    • Mostafa NikpourM
      Mostafa Nikpour
      last edited by

      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 Reply Quote 2
      • ?
        A Former User
        last edited by

        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 Reply Quote 0
        • Mostafa NikpourM
          Mostafa Nikpour
          last edited by

          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 Reply Quote 1
          • Nicolas BrissonneauN
            Nicolas Brissonneau
            last edited by

            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 Reply Quote 0
            • Patrick HincheyP
              Patrick Hinchey
              last edited by

              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 Reply Quote 0
              • Patrick HincheyP
                Patrick Hinchey @Guest
                last edited by

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

                1 Reply Last reply Reply Quote 1
                • Jose Alfredo Rosas CordovaJ
                  Jose Alfredo Rosas Cordova @Nicolas Brissonneau
                  last edited by

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