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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. Modal Pipe Architecture (MPA)
  4. (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

(VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

Scheduled Pinned Locked Moved Modal Pipe Architecture (MPA)
15 Posts 3 Posters 7.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.
  • Zachary Lowell 0Z Offline
    Zachary Lowell 0Z Offline
    Zachary Lowell 0
    ModalAI Team
    wrote on last edited by
    #4

    You should be doing cross compilation for things like this - aka on your computer running voxl-docker -i qrb5165-emulator and then building the debian and flashing to the voxl2.

    So what I currently do to build is:

    1. clone mpa to ros2 on your parent computer
    2. cd into repository
    3. run voxl-docker -i qrb5165-emulator:1.5
    4. run ./install_build_deps.sh qrb5165 dev
    5. run ./build.sh qrb5165
    6. run ./make_package.sh

    Push via adb or scp the deb from parent computer to voxl2 and then unpackage the deb and source the right directory.

    LMK if that helps at all - if you need to install nlohmann json btw you should be doing it via voxl-configure-mpa-to-ros2

    Zach

    G 1 Reply Last reply
    0
    • Zachary Lowell 0Z Zachary Lowell 0

      You should be doing cross compilation for things like this - aka on your computer running voxl-docker -i qrb5165-emulator and then building the debian and flashing to the voxl2.

      So what I currently do to build is:

      1. clone mpa to ros2 on your parent computer
      2. cd into repository
      3. run voxl-docker -i qrb5165-emulator:1.5
      4. run ./install_build_deps.sh qrb5165 dev
      5. run ./build.sh qrb5165
      6. run ./make_package.sh

      Push via adb or scp the deb from parent computer to voxl2 and then unpackage the deb and source the right directory.

      LMK if that helps at all - if you need to install nlohmann json btw you should be doing it via voxl-configure-mpa-to-ros2

      Zach

      G Offline
      G Offline
      GlennTee
      Contributor
      wrote on last edited by
      #5

      @Zachary-Lowell-0 Thank you, I will try this

      G 2 Replies Last reply
      0
      • G GlennTee

        @Zachary-Lowell-0 Thank you, I will try this

        G Offline
        G Offline
        GlennTee
        Contributor
        wrote on last edited by
        #6

        @GlennTee Hello again. I attempted to run all of these commands, but I ran into an error on Step 5, which is shown below:
        b7ca2ee2-6c4f-4b7b-9988-25c5209466e8-image.png
        I tried cloning the px4_ros_com package, but that did not help anything. I just also realized I never ran "voxl-configure-mpa-to-ros2" when setting up the SDK v1.4.1, could that be the reason why I'm experiencing so many problems and had to manually install packages I didn't have right off the bat such as Colcon, Eigen3, Netiface, and more? My last question is that do you know when the next SDK release will be out? Thanks again for all your help.

        1 Reply Last reply
        0
        • G GlennTee

          @Zachary-Lowell-0 Thank you, I will try this

          G Offline
          G Offline
          GlennTee
          Contributor
          wrote on last edited by
          #7

          @Zachary-Lowell-0 Hello again. I attempted to run all of these commands, but I ran into an error on Step 5, which is shown below:
          b7ca2ee2-6c4f-4b7b-9988-25c5209466e8-image.png
          I tried cloning the px4_ros_com package, but that did not help anything. I just also realized I never ran "voxl-configure-mpa-to-ros2" when setting up the SDK v1.4.1, could that be the reason why I'm experiencing so many problems and had to manually install packages I didn't have right off the bat such as Colcon, Eigen3, Netiface, and more? My last question is that do you know when the next SDK release will be out? Thanks again for all your help.

          1 Reply Last reply
          0
          • Zachary Lowell 0Z Offline
            Zachary Lowell 0Z Offline
            Zachary Lowell 0
            ModalAI Team
            wrote on last edited by
            #8

            Hi @GlennTee you need to do a git submodule update --init --recursive on the voxl mpa ros2 code base to pull in px4 ros msgs

            Zach

            G 1 Reply Last reply
            0
            • Zachary Lowell 0Z Zachary Lowell 0

              Hi @GlennTee you need to do a git submodule update --init --recursive on the voxl mpa ros2 code base to pull in px4 ros msgs

              Zach

              G Offline
              G Offline
              GlennTee
              Contributor
              wrote on last edited by
              #9

              @Zachary-Lowell-0 I just tried running that command a few times but I've had no luck. Is there something I'm missing? Thanks again.
              0eba554d-3e6f-4075-9141-d3efb326f974-image.png

              tomT 1 Reply Last reply
              0
              • G GlennTee

                @Zachary-Lowell-0 I just tried running that command a few times but I've had no luck. Is there something I'm missing? Thanks again.
                0eba554d-3e6f-4075-9141-d3efb326f974-image.png

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

                @GlennTee You'll want to run that outside of the docker container, before running voxl-docker

                G 1 Reply Last reply
                0
                • tomT tom

                  @GlennTee You'll want to run that outside of the docker container, before running voxl-docker

                  G Offline
                  G Offline
                  GlennTee
                  Contributor
                  wrote on last edited by
                  #11

                  @tom Hello, when you mean docker do you mean the emulator? I'm not using a docker of any sorts (as far as I know of), but I did try running the command before the emulator and this is what I got:
                  976ad564-e081-4926-ba72-5d331a0d08c9-image.png

                  tomT 1 Reply Last reply
                  0
                  • G GlennTee

                    @tom Hello, when you mean docker do you mean the emulator? I'm not using a docker of any sorts (as far as I know of), but I did try running the command before the emulator and this is what I got:
                    976ad564-e081-4926-ba72-5d331a0d08c9-image.png

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

                    @GlennTee yes that's what I meant. You'll have to git clone the repo instead of just downloading it in order for that to work

                    G 2 Replies Last reply
                    0
                    • tomT tom

                      @GlennTee yes that's what I meant. You'll have to git clone the repo instead of just downloading it in order for that to work

                      G Offline
                      G Offline
                      GlennTee
                      Contributor
                      wrote on last edited by
                      #13

                      @tom Hello again. I just tried to run the command to clone the repository and I tried running ./build.sh qrb5165, but I keep getting the same error it looks like. Could you tell me the exact command I need to run in order to clone the repository? I know @Zachary Lowell 0 already outlined the commands I should follow. Thank you again.
                      168f876a-a8c9-4a58-af40-c993ddbaa91d-image.png
                      4181b3c3-513e-4520-86b1-0e9bf62c1356-image.png

                      1 Reply Last reply
                      0
                      • tomT tom

                        @GlennTee yes that's what I meant. You'll have to git clone the repo instead of just downloading it in order for that to work

                        G Offline
                        G Offline
                        GlennTee
                        Contributor
                        wrote on last edited by
                        #14

                        @tom @Zachary-Lowell-0 Hello again. It looks like I got the build to work. I tried cloning voxl-mpa-to-ros2 and that seemed to have worked in generating the build. I also ran "git submodule update --init --recursive" to pull in the px4 messages. I tried running "ros2 launch voxl_mpa_to_ros2 voxl_mpa_to_ros2.launch" but I received the following errors as shown below.
                        b5630751-3db5-4ece-9414-934e633d1acc-image.png
                        These are the ros2 topics that show up for me as well.
                        292fa62f-7646-46d0-8912-9cd2e3d866ae-image.png
                        Is there something I'm missing that I need in order to see the ros2 topic for AprilTag detection?

                        G 1 Reply Last reply
                        0
                        • G GlennTee

                          @tom @Zachary-Lowell-0 Hello again. It looks like I got the build to work. I tried cloning voxl-mpa-to-ros2 and that seemed to have worked in generating the build. I also ran "git submodule update --init --recursive" to pull in the px4 messages. I tried running "ros2 launch voxl_mpa_to_ros2 voxl_mpa_to_ros2.launch" but I received the following errors as shown below.
                          b5630751-3db5-4ece-9414-934e633d1acc-image.png
                          These are the ros2 topics that show up for me as well.
                          292fa62f-7646-46d0-8912-9cd2e3d866ae-image.png
                          Is there something I'm missing that I need in order to see the ros2 topic for AprilTag detection?

                          G Offline
                          G Offline
                          GlennTee
                          Contributor
                          wrote on last edited by
                          #15

                          @tom @Zachary-Lowell-0 Looks like I got it to work, I was just running the wrong command. Is there an existing topic called "tag_detections" that should be appearing or is there another repository I need to download in order to obtain that? Thank you.
                          ca188661-3943-4bac-beb5-16765bb7f96b-image.png
                          05a2c723-dd2b-4f8d-a243-3f6e61a9c56d-image.png

                          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