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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. how to access tflite_data published by voxl_mpa_to_ros from local machine?

how to access tflite_data published by voxl_mpa_to_ros from local machine?

Scheduled Pinned Locked Moved Unsolved General Questions
6 Posts 3 Posters 1.6k Views 1 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.
  • A Offline
    A Offline
    aashry
    Contributor
    wrote on last edited by aashry
    #1

    Hello!
    I'm trying to subscribe to /tflite_data publsihed by voxl_mpa_to_ros node on my local machine by using rostopic echo /tflite_data but I keep getting the following error

    ERROR: Cannot load message class for [voxl_mpa_to_ros/AiDetection]. Are your messages built?
    

    I think this is happening because it's a custom message type that my computer doesn't know about, which means the message definition of AiDetection should be integrated somewhere, but I'm not sure what to do.
    The following is a screenshot showing the voxl_mpa_to_ros node running on voxl, and trying to echo the published topic from a rosmelodic docker container, installed onboard on the drone, which shows the same error message that I receive when I try to do that from my local machine as well. Please assist.

    trouble_tflite_data.png
    Thanks in advance for your help!

    A J 2 Replies Last reply
    0
    • A aashry

      Hello!
      I'm trying to subscribe to /tflite_data publsihed by voxl_mpa_to_ros node on my local machine by using rostopic echo /tflite_data but I keep getting the following error

      ERROR: Cannot load message class for [voxl_mpa_to_ros/AiDetection]. Are your messages built?
      

      I think this is happening because it's a custom message type that my computer doesn't know about, which means the message definition of AiDetection should be integrated somewhere, but I'm not sure what to do.
      The following is a screenshot showing the voxl_mpa_to_ros node running on voxl, and trying to echo the published topic from a rosmelodic docker container, installed onboard on the drone, which shows the same error message that I receive when I try to do that from my local machine as well. Please assist.

      trouble_tflite_data.png
      Thanks in advance for your help!

      A Offline
      A Offline
      aashry
      Contributor
      wrote on last edited by
      #2

      @aashry If anyone has any insights or suggestions on how to solve this, please do share. Your help would be much appreciated.

      A 1 Reply Last reply
      0
      • A aashry

        @aashry If anyone has any insights or suggestions on how to solve this, please do share. Your help would be much appreciated.

        A Offline
        A Offline
        aashry
        Contributor
        wrote on last edited by aashry
        #3

        @tom can you help me with that, or do you know someone who can help? Thank you so much in advance!

        tomT 1 Reply Last reply
        0
        • A aashry

          @tom can you help me with that, or do you know someone who can help? Thank you so much in advance!

          tomT Offline
          tomT Offline
          tom
          admin
          wrote on last edited by
          #4

          @aashry What hardware are you using and what software version are you using?: voxl-version

          A 1 Reply Last reply
          0
          • A aashry

            Hello!
            I'm trying to subscribe to /tflite_data publsihed by voxl_mpa_to_ros node on my local machine by using rostopic echo /tflite_data but I keep getting the following error

            ERROR: Cannot load message class for [voxl_mpa_to_ros/AiDetection]. Are your messages built?
            

            I think this is happening because it's a custom message type that my computer doesn't know about, which means the message definition of AiDetection should be integrated somewhere, but I'm not sure what to do.
            The following is a screenshot showing the voxl_mpa_to_ros node running on voxl, and trying to echo the published topic from a rosmelodic docker container, installed onboard on the drone, which shows the same error message that I receive when I try to do that from my local machine as well. Please assist.

            trouble_tflite_data.png
            Thanks in advance for your help!

            J Offline
            J Offline
            jon
            Regular
            wrote on last edited by
            #5

            @aashry Follow this link: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros. Catkin_ws -> src -> msg and you will find AiDetection.msg, which you can use to build a ros custom message package (ROS has a tutorial on it I believe). You can do that in whatever workspace you are working in in your docker container. Once that is built and you source devel/setup.bash, you should be able to echo the topic and if you want to subscribe to it in a node you will need to import the message header similarly to any other message type

            1 Reply Last reply
            1
            • tomT tom

              @aashry What hardware are you using and what software version are you using?: voxl-version

              A Offline
              A Offline
              aashry
              Contributor
              wrote on last edited by
              #6

              @tom sorry for the late reply, I've been distant from work for one week. I'm using m500 drone with the voxl flight deck. Below is the voxl-version output as you requested. I will probably try to follow what @jonathankampia mentioned and see if it works. I will update the thread here accordingly. Thank you guys for your help, appreciate it.

              --------------------------------------------------------------------------------
              system-image: 4.0.0
              kernel:       #1 SMP PREEMPT Thu Oct 13 17:57:05 UTC 2022 3.18.71-perf
              --------------------------------------------------------------------------------
              hw version:   VOXL
              --------------------------------------------------------------------------------
              voxl-suite:   0.9.4
              --------------------------------------------------------------------------------
              Packages:
              Repo: http://voxl-packages.modalai.com/dists/apq8096/sdk-0.9/binary-arm64/
              Last Updated: 1970-01-01 00:05:23
              List:
              	apq8096-dfs-server       0.3.1
              	apq8096-imu-server       1.0.3
              	apq8096-libpng           1.6.38-1
              	apq8096-system-tweaks    0.1.3
              	apq8096-tflite           2.8.3-1
              	libapq8096-io            0.6.0
              	libmodal-cv              0.2.3
              	libmodal-exposure        0.0.7
              	libmodal-journal         0.2.1
              	libmodal-json            0.4.3
              	libmodal-pipe            2.6.0
              	libvoxl-cci-direct       0.1.5
              	libvoxl-cutils           0.1.1
              	voxl-camera-calibration  0.2.3
              	voxl-camera-server       1.3.5
              	voxl-cpu-monitor         0.3.0
              	voxl-docker-support      1.2.4
              	voxl-gphoto2-server      0.0.10
              	voxl-jpeg-turbo          2.1.3-4
              	voxl-libgphoto2          0.0.4
              	voxl-libuvc              1.0.7
              	voxl-logger              0.3.4
              	voxl-mavlink             0.1.0
              	voxl-mavlink-server      0.2.0
              	voxl-modem               0.16.1
              	voxl-mongoose            7.7.0-1
              	voxl-mpa-to-ros          0.3.6
              	voxl-mpa-tools           0.7.6
              	voxl-opencv              4.5.5-1
              	voxl-portal              0.4.2
              	voxl-qvio-server         0.8.2
              	voxl-streamer            0.4.1
              	voxl-suite               0.9.4
              	voxl-system-image        4.0-r0
              	voxl-tag-detector        0.0.4
              	voxl-tflite-server       0.3.1
              	voxl-utils               1.2.2
              	voxl-uvc-server          0.1.3
              	voxl-vision-px4          1.4.0
              	voxl-vpn                 0.0.6
              --------------------------------------------------------------------------------
              
              
              1 Reply Last reply
              0

              Reading along? Create a free ModalAI Forum account to join in.

              With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

              Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

              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