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

    Starling 2 Max doesn't report battery information

    Starling & Starling 2
    2
    11
    364
    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.
    • Eric KatzfeyE
      Eric Katzfey ModalAI Team @Hunter Scott
      last edited by

      @Hunter-Scott Can you supply a px4 log file?

      1 Reply Last reply Reply Quote 0
      • Hunter ScottH
        Hunter Scott
        last edited by

        Here's the log: https://drive.google.com/file/d/1stxCxb1RBT4D_bQQzXKSdCcVKUDtqdxl/view?usp=sharing

        I tried swapping in a Power Module board to read the battery data that way, but still saw that the battery_status was never published.

        Eric KatzfeyE 1 Reply Last reply Reply Quote 0
        • Eric KatzfeyE
          Eric Katzfey ModalAI Team @Hunter Scott
          last edited by

          @Hunter-Scott The log you provided contained battery_status

          Hunter ScottH 1 Reply Last reply Reply Quote 0
          • Hunter ScottH
            Hunter Scott @Eric Katzfey
            last edited by

            @Eric-Katzfey My mistake, I must have uploaded the wrong one. I went to capture another one today and I'm not seeing any log file get created after I fly. I verified that the px4-logger was running and ran px4-logger stop before removing power from the drone. I'm still unable to see any battery information and running px4-listener battery_status still says "never published".

            Eric KatzfeyE 1 Reply Last reply Reply Quote 0
            • Eric KatzfeyE
              Eric Katzfey ModalAI Team @Hunter Scott
              last edited by

              @Hunter-Scott If you delete all logs then fly you don't see any log files afterwards?

              Hunter ScottH 1 Reply Last reply Reply Quote 0
              • Hunter ScottH
                Hunter Scott @Eric Katzfey
                last edited by

                @Eric-Katzfey
                I removed everything in the log folder, restarted, and did a quick arm and disarm and then a quick ~5 second flight. The logs that appeared are attached.

                https://drive.google.com/file/d/1B0klF8j9lnhJ8deYBedRbsjGmnCPjbYB/view?usp=sharing
                https://drive.google.com/file/d/1qg1ukwoDxpKHZ7N6xCbN8W_yhpx_aDDN/view?usp=sharing

                Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                • Eric KatzfeyE
                  Eric Katzfey ModalAI Team @Hunter Scott
                  last edited by

                  @Hunter-Scott When you swapped in the power module board did you update the px4 configuration file in /etc/modalai/voxl-px4.conf? In that file, how is POWER_MODULE set? For the power module it should be POWER_MANAGER=VOXLPM. For standard Starling 2 Max configuration it should be NONE. Can you stop voxl-px4 running as a service systemctl stop voxl-px4, wait a few seconds, then run voxl-px4 from the command line in non-daemon mode with voxl-px4 -d and let the startup script run through. At the command prompt type ver all and qshell voxl_esc status and then include all of the output here? In the log that you sent that did have battery_status, where did that come from? A different drone?

                  Hunter ScottH 1 Reply Last reply Reply Quote 0
                  • Hunter ScottH
                    Hunter Scott @Eric Katzfey
                    last edited by

                    @Eric-Katzfey When I swapped in the power module board, I did not update voxl-px4.conf. I tried changing POWER_MANAGER to VOXLPM and rebooted but still did not see anything publishing on px4-listener battery status. I set it back to NONE (since I think the ESC should still be able to read power data because I have battery->power module board->ESC input). Below is the output of the commands you requested. The log that had battery_status did come from this same drone. It had been working, but then stopped, and I'm pretty sure I didn't change anything. Could the VOXL 2 have a hardware issue?

                    Command outputs:
                    https://pastebin.com/4FCVT6Vw

                    Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                    • Eric KatzfeyE
                      Eric Katzfey ModalAI Team @Hunter Scott
                      last edited by

                      @Hunter-Scott Can you update to SDK 1.6.0? Then do the ver all and qshell voxl_esc status commands again and attach the output?

                      Hunter ScottH 1 Reply Last reply Reply Quote 0
                      • Hunter ScottH
                        Hunter Scott @Eric Katzfey
                        last edited by

                        @Eric-Katzfey I updated to SDK 1.6.0, which fixed the power display issue. I was still getting no valid local position preflight fail, but after I ran apt update && apt upgrade, things seemed to work.

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