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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Incorrect battery0 voltage on QGC

Incorrect battery0 voltage on QGC

Scheduled Pinned Locked Moved Ask your questions right here!
10 Posts 4 Posters 1.6k 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.
  • george kollamkulamG Offline
    george kollamkulamG Offline
    george kollamkulam
    Contributor
    wrote on last edited by
    #1

    Hi,

    I'm seeing incorrect battery0 voltage on QGC. Would appreciate your help in resolving this issue.

    I'm using the 2S Amprius battery packs on my Starling 2 and the battery parameters are attached below. Batt_params3.png Batt_params2.png Batt_params.png

    Thanks!

    Alex KushleyevA 1 Reply Last reply
    0
    • george kollamkulamG george kollamkulam

      Hi,

      I'm seeing incorrect battery0 voltage on QGC. Would appreciate your help in resolving this issue.

      I'm using the 2S Amprius battery packs on my Starling 2 and the battery parameters are attached below. Batt_params3.png Batt_params2.png Batt_params.png

      Thanks!

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

      @george-kollamkulam , something seems fishy here.

      The Starling 2 drone has the VOXL Mini ESC, which acts as the APM (measures voltage and total current). The ESC sends this data to PX4 via UART together with regular ESC telelmetry.

      The Battery status packet is an uint16 with 0.001V resolution, so the maximum voltage it could report would be about 65V (2^16 millivolts).

      packet definition:
      https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/qc_esc_packet.h#L157

      packet parsing:
      https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L577

      I suspect something else is going on. Maybe you need to choose a different Source for the battery monitoring (not Power Module)?

      Is this voltage 267.55V updating or just stuck at that value?

      Alex

      george kollamkulamG 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @george-kollamkulam , something seems fishy here.

        The Starling 2 drone has the VOXL Mini ESC, which acts as the APM (measures voltage and total current). The ESC sends this data to PX4 via UART together with regular ESC telelmetry.

        The Battery status packet is an uint16 with 0.001V resolution, so the maximum voltage it could report would be about 65V (2^16 millivolts).

        packet definition:
        https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/qc_esc_packet.h#L157

        packet parsing:
        https://github.com/modalai/px4-firmware/blob/voxl-dev/src/drivers/actuators/voxl_esc/voxl_esc.cpp#L577

        I suspect something else is going on. Maybe you need to choose a different Source for the battery monitoring (not Power Module)?

        Is this voltage 267.55V updating or just stuck at that value?

        Alex

        george kollamkulamG Offline
        george kollamkulamG Offline
        george kollamkulam
        Contributor
        wrote on last edited by
        #3

        @Alex-Kushleyev Sorry for the delay.

        The voltage value seems to have decreased a little with time, but I don't think this is following the battery discharge trend. I started at 270.31 V just before take-off, and I was at 269.24 V after roughly 15 mins of flying. What could be the next steps to troubleshooting this issue?

        Thanks,
        George

        Eric KatzfeyE C 2 Replies Last reply
        0
        • george kollamkulamG george kollamkulam

          @Alex-Kushleyev Sorry for the delay.

          The voltage value seems to have decreased a little with time, but I don't think this is following the battery discharge trend. I started at 270.31 V just before take-off, and I was at 269.24 V after roughly 15 mins of flying. What could be the next steps to troubleshooting this issue?

          Thanks,
          George

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

          @george-kollamkulam In console can you do a listener battery_status to see what the PX4 topic has in it?

          Alex KushleyevA 1 Reply Last reply
          0
          • Eric KatzfeyE Eric Katzfey

            @george-kollamkulam In console can you do a listener battery_status to see what the PX4 topic has in it?

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

            @george-kollamkulam , also are you able to use voxl-esc tools to verify the voltage?

            You can run the following command, which will not actually spin the motors, but will communicate with the ESC and receive feedback:

            #stop px4
            systemctl stop voxl-px4
            
            cd /usr/share/modalai/voxl-esc-tools
            ./voxl-esc-spin.py --id 255 --power 0
            

            The script should run and print out the voltage reported by the ESC.

            Alex

            1 Reply Last reply
            0
            • george kollamkulamG george kollamkulam

              @Alex-Kushleyev Sorry for the delay.

              The voltage value seems to have decreased a little with time, but I don't think this is following the battery discharge trend. I started at 270.31 V just before take-off, and I was at 269.24 V after roughly 15 mins of flying. What could be the next steps to troubleshooting this issue?

              Thanks,
              George

              C Offline
              C Offline
              constantines
              Contributor
              wrote on last edited by constantines
              #6

              @george-kollamkulam @Alex-Kushleyev @Eric-Katzfey
              Can confirm the same.
              But it happens only with QGC version 5 and later. With previous versions of QGC everything works as it should. I opened an issue at QGC github. This is definetely not a VOXL or Modalai problem

              This is how it looks with QGC v5.0.6
              9be8595c-5410-403a-8cec-2689f5abaf37-image.png

              And this is the same system but with QGC v4.4.4
              5da677a0-dd8b-42eb-a9a2-7fb3d755d312-image.png

              george kollamkulamG 1 Reply Last reply
              0
              • C constantines

                @george-kollamkulam @Alex-Kushleyev @Eric-Katzfey
                Can confirm the same.
                But it happens only with QGC version 5 and later. With previous versions of QGC everything works as it should. I opened an issue at QGC github. This is definetely not a VOXL or Modalai problem

                This is how it looks with QGC v5.0.6
                9be8595c-5410-403a-8cec-2689f5abaf37-image.png

                And this is the same system but with QGC v4.4.4
                5da677a0-dd8b-42eb-a9a2-7fb3d755d312-image.png

                george kollamkulamG Offline
                george kollamkulamG Offline
                george kollamkulam
                Contributor
                wrote on last edited by
                #7

                @constantines @Eric-Katzfey @Alex-Kushleyev voxl-esc is reporting the correct voltage. It looks like changing the QGC version has fixed the issue.

                Thanks for your inputs.
                George

                C 1 Reply Last reply
                0
                • george kollamkulamG george kollamkulam

                  @constantines @Eric-Katzfey @Alex-Kushleyev voxl-esc is reporting the correct voltage. It looks like changing the QGC version has fixed the issue.

                  Thanks for your inputs.
                  George

                  C Offline
                  C Offline
                  constantines
                  Contributor
                  wrote on last edited by constantines
                  #8

                  @george-kollamkulam @Eric-Katzfey @Alex-Kushleyev

                  According to this the Modalai PX4 uses the voltages_ext field of the BATTERY_STATUS message incorrectly. That fields does not use UINT16_MAX (65535) to indicate no value. It should use 0, otherwise they are added to the battery voltage 😕

                  Eric KatzfeyE 1 Reply Last reply
                  0
                  • C constantines

                    @george-kollamkulam @Eric-Katzfey @Alex-Kushleyev

                    According to this the Modalai PX4 uses the voltages_ext field of the BATTERY_STATUS message incorrectly. That fields does not use UINT16_MAX (65535) to indicate no value. It should use 0, otherwise they are added to the battery voltage 😕

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

                    @constantines Up until version 1.13.3 PX4 set all these fields to UINT16_MAX. We forked right before they updated to make those voltage_ext fields 0. So, we'll need to pull that update into our fork.

                    Eric KatzfeyE 1 Reply Last reply
                    0
                    • Eric KatzfeyE Eric Katzfey

                      @constantines Up until version 1.13.3 PX4 set all these fields to UINT16_MAX. We forked right before they updated to make those voltage_ext fields 0. So, we'll need to pull that update into our fork.

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

                      @Eric-Katzfey The update has been pulled into our fork now. You can access the updated package here: http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.14.0-2.0.106-202507311432_arm64.deb

                      1 Reply Last reply
                      1

                      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