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

    voxl-PX4 maxes 2 CPUs

    Ask your questions right here!
    4
    15
    757
    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.
    • M
      Moderator ModalAI Team
      last edited by 22 Sept 2023, 22:43

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

      R 1 Reply Last reply 25 Sept 2023, 14:17 Reply Quote 0
      • R
        Rowan Dempster @Moderator
        last edited by 25 Sept 2023, 14:17

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

        E T 2 Replies Last reply 25 Sept 2023, 18:16 Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @Rowan Dempster
          last edited by 25 Sept 2023, 18:16

          @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?

          R 1 Reply Last reply 26 Sept 2023, 16:20 Reply Quote 0
          • T
            tom admin @Rowan Dempster
            last edited by 25 Sept 2023, 18:22

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

            R 1 Reply Last reply 26 Sept 2023, 16:22 Reply Quote 0
            • R
              Rowan Dempster @Eric Katzfey
              last edited by 26 Sept 2023, 16:20

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

              1 Reply Last reply Reply Quote 0
              • R
                Rowan Dempster @tom
                last edited by 26 Sept 2023, 16:22

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

                T 1 Reply Last reply 26 Sept 2023, 16:34 Reply Quote 0
                • T
                  tom admin @Rowan Dempster
                  last edited by 26 Sept 2023, 16:34

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

                  T R 2 Replies Last reply 26 Sept 2023, 16:34 Reply Quote 0
                  • T
                    tom admin @tom
                    last edited by 26 Sept 2023, 16:34

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

                    R 1 Reply Last reply 6 Oct 2023, 14:15 Reply Quote 0
                    • R
                      Rowan Dempster @tom
                      last edited by 6 Oct 2023, 13:50

                      @tom Yes I do

                      1 Reply Last reply Reply Quote 0
                      • R
                        Rowan Dempster @tom
                        last edited by 6 Oct 2023, 14:15

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

                        E 1 Reply Last reply 6 Oct 2023, 15:06 Reply Quote 0
                        • E
                          Eric Katzfey ModalAI Team @Rowan Dempster
                          last edited by 6 Oct 2023, 15:06

                          @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

                          R 1 Reply Last reply 6 Oct 2023, 21:58 Reply Quote 0
                          • R
                            Rowan Dempster @Eric Katzfey
                            last edited by Rowan Dempster 6 Oct 2023, 21:59 6 Oct 2023, 21:58

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

                            T 1 Reply Last reply 6 Oct 2023, 22:02 Reply Quote 0
                            • T
                              tom admin @Rowan Dempster
                              last edited by 6 Oct 2023, 22:02

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

                              R 1 Reply Last reply 9 Oct 2023, 15:08 Reply Quote 1
                              • R
                                Rowan Dempster @tom
                                last edited by 9 Oct 2023, 15:08

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

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