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. voxl-PX4 maxes 2 CPUs

voxl-PX4 maxes 2 CPUs

Scheduled Pinned Locked Moved Ask your questions right here!
15 Posts 4 Posters 1.5k 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.
  • Rowan DempsterR Offline
    Rowan DempsterR Offline
    Rowan Dempster
    Regular
    wrote on last edited by
    #1

    Hello,

    When I start voxl-px4 on VOXL2 I noticed that the CPU usage goes from 0% to over 25%, is this expected?

    Screenshot 2023-09-22 at 12.15.47 PM.png

    1 Reply Last reply
    0
    • ModeratorM Offline
      ModeratorM Offline
      Moderator
      ModalAI Team
      wrote on last edited by
      #2

      Hi Rowan, which software version are you using, what peripherals do you have connected and is the vehicle armed, etc?

      Rowan DempsterR 1 Reply Last reply
      0
      • ModeratorM Moderator

        Hi Rowan, which software version are you using, what peripherals do you have connected and is the vehicle armed, etc?

        Rowan DempsterR Offline
        Rowan DempsterR Offline
        Rowan Dempster
        Regular
        wrote on last edited by
        #3

        @Moderator Hi, I am using SDK1.0. No peripherals attached, just the VOXL2 Board alone.

        Eric KatzfeyE tomT 2 Replies Last reply
        0
        • Rowan DempsterR Rowan Dempster

          @Moderator Hi, I am using SDK1.0. No peripherals attached, just the VOXL2 Board alone.

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

          @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
          0
          • Rowan DempsterR Rowan Dempster

            @Moderator Hi, I am using SDK1.0. No peripherals attached, just the VOXL2 Board alone.

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

            @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
            0
            • Eric KatzfeyE Eric Katzfey

              @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 Offline
              Rowan DempsterR Offline
              Rowan Dempster
              Regular
              wrote on last edited by
              #6

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

              1 Reply Last reply
              0
              • tomT tom

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

                Rowan DempsterR Offline
                Rowan DempsterR Offline
                Rowan Dempster
                Regular
                wrote on last edited by
                #7

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

                tomT 1 Reply Last reply
                0
                • Rowan DempsterR Rowan Dempster

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

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

                  @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
                  0
                  • tomT tom

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

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

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

                    Rowan DempsterR 1 Reply Last reply
                    0
                    • tomT tom

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

                      Rowan DempsterR Offline
                      Rowan DempsterR Offline
                      Rowan Dempster
                      Regular
                      wrote on last edited by
                      #10

                      @tom Yes I do

                      1 Reply Last reply
                      0
                      • tomT tom

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

                        Rowan DempsterR Offline
                        Rowan DempsterR Offline
                        Rowan Dempster
                        Regular
                        wrote on last edited by
                        #11

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

                        Eric KatzfeyE 1 Reply Last reply
                        0
                        • Rowan DempsterR Rowan Dempster

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

                          Eric KatzfeyE Offline
                          Eric KatzfeyE Offline
                          Eric Katzfey
                          ModalAI Team
                          wrote on last edited by
                          #12

                          @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
                          0
                          • Eric KatzfeyE Eric Katzfey

                            @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 Offline
                            Rowan DempsterR Offline
                            Rowan Dempster
                            Regular
                            wrote on last edited by Rowan Dempster
                            #13

                            @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
                            0
                            • Rowan DempsterR Rowan Dempster

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

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

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

                              Rowan DempsterR 1 Reply Last reply
                              1
                              • tomT tom

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

                                Rowan DempsterR Offline
                                Rowan DempsterR Offline
                                Rowan Dempster
                                Regular
                                wrote on last edited by
                                #15

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

                                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