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

    voxl_mpa_to_ros2 camera_interface timestamp

    ROS
    4
    11
    626
    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.
    • S
      smilon
      last edited by 16 Feb 2024, 14:53

      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!

      A 1 Reply Last reply 23 Feb 2024, 14:37 Reply Quote 0
      • A
        Alex Kushleyev ModalAI Team @smilon
        last edited by 23 Feb 2024, 14:37

        @smilon ,

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

        S 1 Reply Last reply 29 Feb 2024, 09:25 Reply Quote 1
        • S
          smilon @Alex Kushleyev
          last edited by 29 Feb 2024, 09:25

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

          A E 2 Replies Last reply 29 Feb 2024, 18:04 Reply Quote 0
          • A
            Alex Kushleyev ModalAI Team @smilon
            last edited by 29 Feb 2024, 18:04

            @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 Reply Quote 0
            • E
              Eric Katzfey ModalAI Team @smilon
              last edited by 29 Feb 2024, 20:19

              @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 Reply Quote 0
              • S
                smilon
                last edited by 6 Mar 2024, 14:55

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

                A 1 Reply Last reply 7 Mar 2024, 14:44 Reply Quote 0
                • A
                  Alex Kushleyev ModalAI Team @smilon
                  last edited by 7 Mar 2024, 14:44

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

                  1 Reply Last reply Reply Quote 0
                  • J
                    jacob yaacubov
                    last edited by 2 Apr 2024, 13:53

                    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 ?

                    A 1 Reply Last reply 3 Apr 2024, 19:48 Reply Quote 0
                    • A
                      Alex Kushleyev ModalAI Team @jacob yaacubov
                      last edited by 3 Apr 2024, 19:48

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

                      J 1 Reply Last reply 4 Apr 2024, 08:16 Reply Quote 0
                      • J
                        jacob yaacubov @Alex Kushleyev
                        last edited by 4 Apr 2024, 08:16

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

                        and this branch has a fix , built it from source

                        A 1 Reply Last reply 11 Apr 2024, 16:53 Reply Quote 0
                        • A
                          Alex Kushleyev ModalAI Team @jacob yaacubov
                          last edited by 11 Apr 2024, 16:53

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

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB | Contributors