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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. ROS
  4. voxl_mpa_to_ros2 camera_interface timestamp

voxl_mpa_to_ros2 camera_interface timestamp

Scheduled Pinned Locked Moved ROS
11 Posts 4 Posters 2.2k 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.
  • S Offline
    S Offline
    smilon
    Contributor
    wrote on last edited by
    #1

    Heya,

    I just found out something that's causing me issues with my TF's in ROS2. Shouldn't the timestamp of the ROS2 msgs be constructed from both nanosecs and secs?

    In the camera_interface.cpp only the nanosecs field is populated causing the timestamp to be incompatible with any ROS2 time conventions.

    This however is not the case in the imu_interface.cpp which works as intended.

    Thought I would point it out!

    Alex KushleyevA 1 Reply Last reply
    0
    • S smilon

      Heya,

      I just found out something that's causing me issues with my TF's in ROS2. Shouldn't the timestamp of the ROS2 msgs be constructed from both nanosecs and secs?

      In the camera_interface.cpp only the nanosecs field is populated causing the timestamp to be incompatible with any ROS2 time conventions.

      This however is not the case in the imu_interface.cpp which works as intended.

      Thought I would point it out!

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @smilon ,

      I believe you are correct! Thank you. We will double check this and fix.

      S 1 Reply Last reply
      1
      • Alex KushleyevA Alex Kushleyev

        @smilon ,

        I believe you are correct! Thank you. We will double check this and fix.

        S Offline
        S Offline
        smilon
        Contributor
        wrote on last edited by
        #3

        @Alex-Kushleyev Great! Please ping me here whenever you have this updated because current workaround is kinda ugly :S. Thanks a lot!

        Alex KushleyevA Eric KatzfeyE 2 Replies Last reply
        0
        • S smilon

          @Alex-Kushleyev Great! Please ping me here whenever you have this updated because current workaround is kinda ugly :S. Thanks a lot!

          Alex KushleyevA Offline
          Alex KushleyevA Offline
          Alex Kushleyev
          ModalAI Team
          wrote on last edited by
          #4

          @smilon , we have a merge request that is being tested - https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros2/-/merge_requests/8/diffs?commit_id=a128608d0ad1e4c417edc7013f9bbbf9665b754b#diff-content-bbec15f81097cb24d4e021ae03a1c7aa01ff13d6

          Can you please take a look and help confirm this is what you are expecting?

          Thank you 🙂

          1 Reply Last reply
          0
          • S smilon

            @Alex-Kushleyev Great! Please ping me here whenever you have this updated because current workaround is kinda ugly :S. Thanks a lot!

            Eric KatzfeyE Online
            Eric KatzfeyE Online
            Eric Katzfey
            ModalAI Team
            wrote on last edited by
            #5

            @smilon You can find an updated package here: http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-mpa-to-ros2_0.0.2-202402291159_arm64.deb. This should work fine with SDK 1.1.2.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              smilon
              Contributor
              wrote on last edited by
              #6

              Dear @Alex-Kushleyev, @Eric-Katzfey this did the trick! Thanks for the quick fix!! Everything works as expected now.

              Alex KushleyevA 1 Reply Last reply
              0
              • S smilon

                Dear @Alex-Kushleyev, @Eric-Katzfey this did the trick! Thanks for the quick fix!! Everything works as expected now.

                Alex KushleyevA Offline
                Alex KushleyevA Offline
                Alex Kushleyev
                ModalAI Team
                wrote on last edited by
                #7

                @smilon, great! thank you for bringing this issue to our attention in the first place.

                1 Reply Last reply
                0
                • jacob yaacubovJ Offline
                  jacob yaacubovJ Offline
                  jacob yaacubov
                  Contributor
                  wrote on last edited by
                  #8

                  Hi guys sorry for getting this thread up again,
                  i am experiencing same issue with my cameras and qvio ros2 topics
                  time stamp rests after few seconds , time stamp of seconds stays at zero

                  sec 0  STUCK AT ZERO
                  nsec 3300161870  REACHING TO 3 BILLION (3 SECONDS) 
                  frame_id "tracking"
                  height 480
                  width 640
                  encoding "mono8"
                  is_bigendian 0
                  step 640
                  

                  any fixes that match SDK 1.1.3 ?

                  Alex KushleyevA 1 Reply Last reply
                  0
                  • jacob yaacubovJ jacob yaacubov

                    Hi guys sorry for getting this thread up again,
                    i am experiencing same issue with my cameras and qvio ros2 topics
                    time stamp rests after few seconds , time stamp of seconds stays at zero

                    sec 0  STUCK AT ZERO
                    nsec 3300161870  REACHING TO 3 BILLION (3 SECONDS) 
                    frame_id "tracking"
                    height 480
                    width 640
                    encoding "mono8"
                    is_bigendian 0
                    step 640
                    

                    any fixes that match SDK 1.1.3 ?

                    Alex KushleyevA Offline
                    Alex KushleyevA Offline
                    Alex Kushleyev
                    ModalAI Team
                    wrote on last edited by
                    #9

                    @jacob-yaacubov Are you able to use the deb provided above with the fix? i'll check when it will officially be in SDK

                    jacob yaacubovJ 1 Reply Last reply
                    0
                    • Alex KushleyevA Alex Kushleyev

                      @jacob-yaacubov Are you able to use the deb provided above with the fix? i'll check when it will officially be in SDK

                      jacob yaacubovJ Offline
                      jacob yaacubovJ Offline
                      jacob yaacubov
                      Contributor
                      wrote on last edited by
                      #10

                      @Alex-Kushleyev i have used the dev branch in the voxl-mpa_to_ros2

                      and this branch has a fix , built it from source

                      Alex KushleyevA 1 Reply Last reply
                      0
                      • jacob yaacubovJ jacob yaacubov

                        @Alex-Kushleyev i have used the dev branch in the voxl-mpa_to_ros2

                        and this branch has a fix , built it from source

                        Alex KushleyevA Offline
                        Alex KushleyevA Offline
                        Alex Kushleyev
                        ModalAI Team
                        wrote on last edited by
                        #11

                        @jacob-yaacubov , FYI, this fix will be in 1.2.0 release which is in testing now

                        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