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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Drones
  3. Starling & Starling 2
  4. VOXL MPA_to_ROS rostopics not subscribing to anything

VOXL MPA_to_ROS rostopics not subscribing to anything

Scheduled Pinned Locked Moved Starling & Starling 2
14 Posts 3 Posters 3.2k Views
  • 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.
  • Darshit DesaiD Darshit Desai

    @ben-grocholsky Thanks that helped me do it.

    My tof_ir, tof_conf image feed is rotated 90 degrees counter clockwise when the drone is in a normal position, is there way to change that rotation

    2d7b7216-09fe-4d10-8fdc-902a2ce2afb0-image.png

    Darshit DesaiD Offline
    Darshit DesaiD Offline
    Darshit Desai
    Regular
    wrote on last edited by
    #5

    @Darshit-Desai @Moderator Can anyone reply on this post?

    Darshit DesaiD 1 Reply Last reply
    0
    • Darshit DesaiD Darshit Desai

      @Darshit-Desai @Moderator Can anyone reply on this post?

      Darshit DesaiD Offline
      Darshit DesaiD Offline
      Darshit Desai
      Regular
      wrote on last edited by Darshit Desai
      #6

      @Darshit-Desai Can anyone help with this? @tom

      ben grocholskyB 1 Reply Last reply
      0
      • Darshit DesaiD Darshit Desai

        @Darshit-Desai Can anyone help with this? @tom

        ben grocholskyB Offline
        ben grocholskyB Offline
        ben grocholsky
        Contributor
        wrote on last edited by
        #7

        @Darshit-Desai this is a more generic ROS tf transform network question than anything specific to ModalAI devices. You can get any result you'd like by adding appropriate frames to map or vehicle in the tf tree. For example, since rviz is hard coded to expect z axis upwards and everything is easier with z axis down, I'll attach an ENU frame to every fixed map NED frame and vehicle carried body FRD frame. That allows for all algorithms to be implemented in NED/FRD and still use ROS visualization by selecting ENU frames as fixed and view.

        Check out the tf documentation http://wiki.ros.org/tf2

        The static transform publisher is a quick way to test changes. Then you'll want to explore using http://wiki.ros.org/urdf

        Darshit DesaiD 1 Reply Last reply
        0
        • ben grocholskyB ben grocholsky

          @Darshit-Desai this is a more generic ROS tf transform network question than anything specific to ModalAI devices. You can get any result you'd like by adding appropriate frames to map or vehicle in the tf tree. For example, since rviz is hard coded to expect z axis upwards and everything is easier with z axis down, I'll attach an ENU frame to every fixed map NED frame and vehicle carried body FRD frame. That allows for all algorithms to be implemented in NED/FRD and still use ROS visualization by selecting ENU frames as fixed and view.

          Check out the tf documentation http://wiki.ros.org/tf2

          The static transform publisher is a quick way to test changes. Then you'll want to explore using http://wiki.ros.org/urdf

          Darshit DesaiD Offline
          Darshit DesaiD Offline
          Darshit Desai
          Regular
          wrote on last edited by Darshit Desai
          #8

          @ben-grocholsky It shows up the same in VOXL PORTAL too.
          Is there a way to get camera intrinsic Matrix of the ToF camera. Also, if I want to align the depth image with the RGB image how do I do that?

          Darshit DesaiD 2 Replies Last reply
          0
          • Darshit DesaiD Darshit Desai

            @ben-grocholsky It shows up the same in VOXL PORTAL too.
            Is there a way to get camera intrinsic Matrix of the ToF camera. Also, if I want to align the depth image with the RGB image how do I do that?

            Darshit DesaiD Offline
            Darshit DesaiD Offline
            Darshit Desai
            Regular
            wrote on last edited by
            #9

            @Darshit-Desai I wanted to ask one more follow up to this question? The datasheet in voxl-documentation says the PMD TOF runs at 45 fps for ranging distances less then 1 metres. Is there a way to set that?

            Darshit DesaiD 1 Reply Last reply
            0
            • Darshit DesaiD Darshit Desai

              @Darshit-Desai I wanted to ask one more follow up to this question? The datasheet in voxl-documentation says the PMD TOF runs at 45 fps for ranging distances less then 1 metres. Is there a way to set that?

              Darshit DesaiD Offline
              Darshit DesaiD Offline
              Darshit Desai
              Regular
              wrote on last edited by
              #10

              @Darshit-Desai @ben-grocholsky @Moderator

              ModeratorM 1 Reply Last reply
              0
              • Darshit DesaiD Darshit Desai

                @Darshit-Desai @ben-grocholsky @Moderator

                ModeratorM Offline
                ModeratorM Offline
                Moderator
                ModalAI Team
                wrote on last edited by
                #11

                @Darshit-Desai No, there is no current way to set that

                1 Reply Last reply
                0
                • Darshit DesaiD Darshit Desai

                  @ben-grocholsky It shows up the same in VOXL PORTAL too.
                  Is there a way to get camera intrinsic Matrix of the ToF camera. Also, if I want to align the depth image with the RGB image how do I do that?

                  Darshit DesaiD Offline
                  Darshit DesaiD Offline
                  Darshit Desai
                  Regular
                  wrote on last edited by
                  #12

                  @Darshit-Desai said in VOXL MPA_to_ROS rostopics not subscribing to anything:

                  @ben-grocholsky It shows up the same in VOXL PORTAL too.
                  Is there a way to get camera intrinsic Matrix of the ToF camera. Also, if I want to align the depth image with the RGB image how do I do that?

                  @Moderator

                  ben grocholskyB Darshit DesaiD 2 Replies Last reply
                  0
                  • Darshit DesaiD Darshit Desai

                    @Darshit-Desai said in VOXL MPA_to_ROS rostopics not subscribing to anything:

                    @ben-grocholsky It shows up the same in VOXL PORTAL too.
                    Is there a way to get camera intrinsic Matrix of the ToF camera. Also, if I want to align the depth image with the RGB image how do I do that?

                    @Moderator

                    ben grocholskyB Offline
                    ben grocholskyB Offline
                    ben grocholsky
                    Contributor
                    wrote on last edited by
                    #13

                    @Darshit-Desai the recommendation to learn about tf, urdf, and xacro in ROS was because that's a way to achieve what you're asking for. If you get the launch and config files right then ROS tools such as rviz will do what ever you want without writing any code.

                    1 Reply Last reply
                    0
                    • Darshit DesaiD Darshit Desai

                      @Darshit-Desai said in VOXL MPA_to_ROS rostopics not subscribing to anything:

                      @ben-grocholsky It shows up the same in VOXL PORTAL too.
                      Is there a way to get camera intrinsic Matrix of the ToF camera. Also, if I want to align the depth image with the RGB image how do I do that?

                      @Moderator

                      Darshit DesaiD Offline
                      Darshit DesaiD Offline
                      Darshit Desai
                      Regular
                      wrote on last edited by
                      #14

                      @Darshit-Desai said in VOXL MPA_to_ROS rostopics not subscribing to anything:

                      Is there a way to get camera intrinsic Matrix of the ToF camera. Also, if I want to align the depth image with the RGB image how do I do that?

                      Hi sorry, I wanted to ask about the intrinsics that was highlighted by mistake. @ben-grocholsky

                      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