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 for Battery Voltage & Problems

( VOXL2 PX4 ROS2) MPA to ROS2 for Battery Voltage & Problems

Scheduled Pinned Locked Moved Modal Pipe Architecture (MPA)
12 Posts 3 Posters 6.1k 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
    #3

    Also @GlennTee build this branch of px4 and then flash onto your voxl2 - it exposes battery_status over the uorb topic through the dds bridge, so now when you run ros2 topic list you still see /fmu/out/battery_status: https://github.com/modalai/px4-firmware/tree/zach/battery_status_ros2

    This is also a PR currently into voxl-dev branch of PX4 so most likely will be a feautre of the next release.

    Zach

    Eric KatzfeyE G 2 Replies Last reply
    0
    • Zachary Lowell 0Z Zachary Lowell 0

      Also @GlennTee build this branch of px4 and then flash onto your voxl2 - it exposes battery_status over the uorb topic through the dds bridge, so now when you run ros2 topic list you still see /fmu/out/battery_status: https://github.com/modalai/px4-firmware/tree/zach/battery_status_ros2

      This is also a PR currently into voxl-dev branch of PX4 so most likely will be a feautre of the next release.

      Zach

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

      @Zachary-Lowell-0 An updated build can be found here: http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.99-202504161252_arm64.deb

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

        @GlennTee are you sourcing the right directory? source /opt/ros/foxy/mpa_to_ros2/install/setup.bash then run the command you mentioned above.

        Zach

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

        @Zachary-Lowell-0 Hello. I just tried what you mentioned and I've had no luck so far. Below is my terminal window where I tried running both commands after sourcing.
        e3685032-a26d-42e4-999e-9509dcf88e9f-image.png

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

          Also @GlennTee build this branch of px4 and then flash onto your voxl2 - it exposes battery_status over the uorb topic through the dds bridge, so now when you run ros2 topic list you still see /fmu/out/battery_status: https://github.com/modalai/px4-firmware/tree/zach/battery_status_ros2

          This is also a PR currently into voxl-dev branch of PX4 so most likely will be a feautre of the next release.

          Zach

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

          @Zachary-Lowell-0 Would I need to wipe the drone and install the new build on to it? I also tried building your branch but I'm unsure about the location as where to put it, such as in /home/root, /opt/, etc., or if I need to use a specific build command other than "colcon build." Would you be able to clarify this? Thanks again for your help!

          Eric KatzfeyE 1 Reply Last reply
          0
          • G GlennTee

            @Zachary-Lowell-0 Would I need to wipe the drone and install the new build on to it? I also tried building your branch but I'm unsure about the location as where to put it, such as in /home/root, /opt/, etc., or if I need to use a specific build command other than "colcon build." Would you be able to clarify this? Thanks again for your help!

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

            @GlennTee Just download the Debian (e.g. wget http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.99-202504161252_arm64.deb) to the VOXL 2 and then use dpkg -i http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.99-202504161252_arm64.deb to install it.

            G 1 Reply Last reply
            0
            • Eric KatzfeyE Eric Katzfey

              @GlennTee Just download the Debian (e.g. wget http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.99-202504161252_arm64.deb) to the VOXL 2 and then use dpkg -i http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.99-202504161252_arm64.deb to install it.

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

              @Eric-Katzfey Thank you. I just tried downloading it but there appears to be a package missing that is needed. I tried looking online to find somewhere to download it from but I couldn't really find anything. Do you know where I could find it?
              c7c73b2a-2db3-4749-ae40-8dd4d2ccfb7b-image.png

              Eric KatzfeyE 1 Reply Last reply
              0
              • G GlennTee

                @Eric-Katzfey Thank you. I just tried downloading it but there appears to be a package missing that is needed. I tried looking online to find somewhere to download it from but I couldn't really find anything. Do you know where I could find it?
                c7c73b2a-2db3-4749-ae40-8dd4d2ccfb7b-image.png

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

                @GlennTee Ah, I assumed you were on the latest SDK version. You really should be. Can you first update to SDK 1.4.x?

                G 1 Reply Last reply
                0
                • Eric KatzfeyE Eric Katzfey

                  @GlennTee Ah, I assumed you were on the latest SDK version. You really should be. Can you first update to SDK 1.4.x?

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

                  @Eric-Katzfey Hello again. I upgraded to SDK v1.4.1 and the downloaded worked this time. I am able to echo the battery_status topic and it shows all the information. Thank you so much. I do have another question, is there a way to get tag detection as a ros2 topic just like with battery_status?

                  Eric KatzfeyE 1 Reply Last reply
                  0
                  • G GlennTee

                    @Eric-Katzfey Hello again. I upgraded to SDK v1.4.1 and the downloaded worked this time. I am able to echo the battery_status topic and it shows all the information. Thank you so much. I do have another question, is there a way to get tag detection as a ros2 topic just like with battery_status?

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

                    @GlennTee Can you please start a separate post for each new question? Thanks!

                    G 1 Reply Last reply
                    0
                    • Eric KatzfeyE Eric Katzfey

                      @GlennTee Can you please start a separate post for each new question? Thanks!

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

                      @Eric-Katzfey Sure!

                      1 Reply Last reply
                      0
                      • Zachary Lowell 0Z Zachary Lowell 0 referenced this topic on

                      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