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

    voxl-PX4 maxes 2 CPUs

    Ask your questions right here!
    4
    15
    627
    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 @Rowan Dempster
      last edited by

      @Rowan-Dempster No, that is definitely not expected. PX4 should only be using a small amount of CPU. Can you disable all other services so it's only PX4 running and see if that changes?

      Rowan DempsterR 1 Reply Last reply Reply Quote 0
      • tomT
        tom admin @Rowan Dempster
        last edited by

        @Rowan-Dempster Can you also post the output of voxl-inspect-services so we can see the CPU usage by each service

        Rowan DempsterR 1 Reply Last reply Reply Quote 0
        • Rowan DempsterR
          Rowan Dempster @Eric Katzfey
          last edited by

          @Eric-Katzfey voxl-px4 and cpu-inspector were the only two services I have running

          1 Reply Last reply Reply Quote 0
          • Rowan DempsterR
            Rowan Dempster @tom
            last edited by

            @tom 598d8e34-9b28-4736-9d74-543a26806232-image.png

            tomT 1 Reply Last reply Reply Quote 0
            • tomT
              tom admin @Rowan Dempster
              last edited by

              @Rowan-Dempster If you run it as a service with voxl-configure-px4 do you see the same issue?

              tomT Rowan DempsterR 2 Replies Last reply Reply Quote 0
              • tomT
                tom admin @tom
                last edited by

                @tom The output of journalctl -u voxl-px4 could be helpful

                Rowan DempsterR 1 Reply Last reply Reply Quote 0
                • Rowan DempsterR
                  Rowan Dempster @tom
                  last edited by

                  @tom Yes I do

                  1 Reply Last reply Reply Quote 0
                  • Rowan DempsterR
                    Rowan Dempster @tom
                    last edited by

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

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

                      @Rowan-Dempster If you are running voxl-px4 as a service you need to change your /etc/modalai/voxl-px4.conf file to enable daemon mode. Your log shows you have it disabled DAEMON_MODE=DISABLE

                      Rowan DempsterR 1 Reply Last reply Reply Quote 0
                      • Rowan DempsterR
                        Rowan Dempster @Eric Katzfey
                        last edited by Rowan Dempster

                        @Eric-Katzfey I don't have that .conf file, even after I run voxl-configure-px4 (I just select enable)

                        tomT 1 Reply Last reply Reply Quote 0
                        • tomT
                          tom admin @Rowan Dempster
                          last edited by

                          @Rowan-Dempster You need to do voxl-configure-px4 factory_enable

                          Rowan DempsterR 1 Reply Last reply Reply Quote 1
                          • Rowan DempsterR
                            Rowan Dempster @tom
                            last edited by

                            @tom That fixed the CPU usage issue, thank you!

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