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

    Issues with controller and drone

    Starling & Starling 2
    2
    22
    428
    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.
    • D
      daniellee @Eric Katzfey
      last edited by

      @Eric-Katzfey Hello Eric, I am using the Commando RC transmitter, and the joystick are the sticks on it sorry if I phrased that weird but essentially on Q Ground Control I am getting a reading from the RC controller and when I move the sticks I see it moving on Q Ground Control. Another issue I found was that I ran a voxl-esc check on the Starling 2 and it wasnt detecting any ESCs. I then swapped the current ESC with a new ESC and a new data cable and when it started I heard a different chirp and then ran the voxl-esc command again and this was the output:

      starling2 (D0014):/$ voxl-esc

      What do you want to do?

      1. scan 3) spin 5) upload_params
      2. detect 4) upgrade_firmware
        #? 1
        enabling bridge
        detected voxl-px4 is enabled
        Removed /etc/systemd/system/multi-user.target.wants/voxl-px4.service.
        detected voxl-px4 is running, stopping it now
        Sending kill slpi command!
        bridge enabled
        Detected Python version : 3.6.9 (default, May 22 2025, 20:54:22)
        [GCC 8.4.0]
        Found voxl-esc tools bin version: 1.9
        VOXL Platform: M0054
        Detected RB5 Flight, VOXL2 M0054 or M0104!
        INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 2000000
        Sending library name request: libslpi_qrb5165_io.so
        Sending initialization request
        INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
        ERROR: voxl_uart_read_bytes: Bus '12' is not initialized
        Updated baud rate to 230400
        WARNING: No ESC(s) detected
        VOXL Platform: M0054
        Detected RB5 Flight, VOXL2 M0054 or M0104!
        INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 250000
        INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
        Updated baud rate to 230400
        WARNING: No ESC(s) detected
        VOXL Platform: M0054
        Detected RB5 Flight, VOXL2 M0054 or M0104!
        INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 921600
        INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
        Updated baud rate to 230400
        WARNING: No ESC(s) detected
        VOXL Platform: M0054
        Detected RB5 Flight, VOXL2 M0054 or M0104!
        INFO: Scanning for ESC firmware: /dev/slpi-uart-2, baud: 57600
        INFO: Scanning for ESC bootloader: /dev/slpi-uart-2, baud: 230400
        Updated baud rate to 230400
        WARNING: No ESC(s) detected

      ERROR: not all ESCs found
      FAILED to ping ESCs when calling scan script
      disabling bridge
      Sending kill slpi command!
      re-enabling voxl-px4
      Created symlink /etc/systemd/system/multi-user.target.wants/voxl-px4.service → /etc/systemd/system/voxl-px4.service.
      restarting voxl-px4
      bridge disabled
      DONE

      I don't think the ESC and the VOXL are communicating from my limited understanding of the output; am I right to assume that?

      1 Reply Last reply Reply Quote 0
      • D
        daniellee @Eric Katzfey
        last edited by

        @Eric-Katzfey Eric let me clear some things up. I have a Starling 2 that has a new esc and a new cable that connects the ESC to the Voxl and I have another self made drone made using parts from a starling 2 (lets call this drone the personal drone). Right now the personal drone's ESC is working and is also connected to the Commando 8 controller BUT. this drone is not receiving inputs from the RC despite being connected. Q Ground Control IS still seeing the connection and seeing the switches on the Commando controller being moved. Please advise! Thank you.

        1 Reply Last reply Reply Quote 0
        • D
          daniellee @Eric Katzfey
          last edited by

          @Eric-Katzfey Hello again Eric! It seems the PX4s servers arent running.

          voxl2:/$ systemctl stop voxl-px4
          voxl2:/$ /usr/bin/voxl-px4-start


          AIRFRAME:
          GPS:
          RC:
          ESC:
          POWER MANAGER:
          AIRSPEED SENSOR:
          DISTANCE SENSOR:
          OSD:
          ARTIFACT_MODE:
          EXTRA STEPS:


          Running on M0054
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          Starting IMU driver with no rotation
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          Looking for qmc5883l magnetometer
          ERROR [px4] PX4 server not running
          Looking for ist8310 magnetometer
          ERROR [px4] PX4 server not running
          Looking for ist8308 magnetometer
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          Looking for ncp5623c RGB LED
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          No ESC type specified, not starting an ESC driver
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          /usr/bin/voxl-px4-start: line 199: [: =: unary operator expected
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running
          ERROR [px4] PX4 server not running

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

            @daniellee Okay, there's a lot going on here. Let's try to focus on one thing at a time. Why did you issue systemctl stop voxl-px4? When you do that you need to wait a few seconds before trying to restart voxl-px4. Then use the command voxl-px4 -d, don't try to start it with /usr/bin/voxl-px4-start. Or systemctl start voxl-px4. But why were you doing that in the first place?

            D 2 Replies Last reply Reply Quote 0
            • D
              daniellee @Eric Katzfey
              last edited by

              @Eric-Katzfey Hello Eric! Thank you for replying, we were doing that because it was what chatgpt asked and recommended us to do to try to reboot the PX4 system.

              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • D
                daniellee @Eric Katzfey
                last edited by

                @Eric-Katzfey The desicion to use systemctl start voxl-px4 was because from what i understand it is that the system boots and services necessary to flight should be enabled and running once a preflight has passed. Our preflight was showing pass but the systems never enabled even though the preset is enabled.
                d8044f49-75fa-487d-8fd9-3820a57388c9-image.png
                So I am trying to force it to start.

                When I force it to start I can run the following commands to verify that my preflight has failed in the px4.
                3bdc4d68-a8b6-4a01-921f-780173f8ab47-image.png

                Now the system is up and running
                f8a02025-ee4a-4f3a-a118-54bda0018d8b-image.png

                Now to check the preflight status:
                13a710c0-43da-45d5-a3d5-63828fea5bff-image.png

                Here the preflight has failed but in QGround Control its stating a pass and that we are ready to fly.
                d7122841-a4d3-403f-855d-9185188e5e59-image.png

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

                  @daniellee Okay, well I would have just recommended power cycling the drone. Let's look at your personal drone now. Seems that the RC is working fine since you can see it in QGC. Why do you say it is not receiving inputs from the RC? What are you doing that convinces you of that?

                  D 1 Reply Last reply Reply Quote 0
                  • Eric KatzfeyE
                    Eric Katzfey ModalAI Team
                    last edited by

                    @daniellee said in Issues with controller and drone:

                    Our preflight was showing pass but the systems never enabled even though the preset is enabled.

                    What do you mean that the systems never enabled? What systems? How are you trying to enable them? What is the preset you are talking about? Looking at the QGC screen it looks like it is ready to arm. Can you arm it via QGC?

                    1 Reply Last reply Reply Quote 0
                    • D
                      daniellee @Eric Katzfey
                      last edited by

                      @Eric-Katzfey That is the problem. Every time I power cycle the system, it does not keep the services necessary for flight enabled. I will power cycle the drone to show that it does not stay enabled. After power cycling I enabled the px4 service because it was not enable on start up so that I can view the vehicle status.
                      cd263341-263d-46a1-b4c7-75131d06148a-image.png
                      The preflight failed in the adb shell. But is passing in QGC.

                      I can see the radio RC transmitter moving the joysticks in QGC but the drone does NOT take off. So movement commands sent via the controller are being seen but not used by the drone. Screenshot from 2026-06-16 18-36-07.png Screenshot from 2026-06-16 18-36-45.png
                      This is what I mean by the joystick inputs not working. These photos show that the controller is connected and the inputs are being read. However, the drone is not using them.

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

                        @daniellee So when you power cycle the drone and then adb in and do voxl-inspect-services which services are not enabled and running that you think should be? In your earlier screen shot voxl-px4, and voxl-mavlink-server were both enabled and running. What other services do you think you need for flight? That's all that should be required for manual flight mode.

                        D 2 Replies Last reply Reply Quote 0
                        • D
                          daniellee @Eric Katzfey
                          last edited by

                          @Eric-Katzfey I understand that but do you know why the controller inputs arent being received by the drone? We have no idea what is causing this.

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

                            @daniellee I don't know what that means. If you can see the RC sticks / switches at QGC then PX4 has to be seeing them. What happens when you try to arm the drone from QGC?

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              daniellee @Eric Katzfey
                              last edited by

                              @Eric-Katzfey It gets armed but the drone does not fly/respond to the controller inputs.

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

                                @daniellee Ah, okay, now we're getting somewhere. If it is arming that means you see the propellers spinning? Can you send me the log file from px4? (Look in /data/px4/logs).

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  daniellee @Eric Katzfey
                                  last edited by

                                  @Eric-Katzfey Hi Eric Im not at the computer right now and the px4 logs are the same as the ones above, the props arent spinning even when armed on QGroundControl.

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

                                    @daniellee I don't see any log files attached in this thread.

                                    D 2 Replies Last reply Reply Quote 0
                                    • D
                                      daniellee @Eric Katzfey
                                      last edited by

                                      @Eric-Katzfey I have the PX4 log files in a zipped folder but I do not see a way to upload them to the forum.

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        daniellee @Eric Katzfey
                                        last edited by

                                        @Eric-Katzfey Hello Eric I have downloaded the PX4 logs- I managed to get a link for one of the logs, the internal timestamp is messed up and I believe this is the most recent one. Here is the link : https://logs.px4.io/plot_app?log=db2c6cd3-f6c9-4bf8-b5bc-dc5ac185c752

                                        Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                                        • D
                                          daniellee @Eric Katzfey
                                          last edited by

                                          @Eric-Katzfey said in Issues with controller and drone:

                                          In your earlier screen shot voxl-px4, and voxl-mavlink-server were both enabled and running.

                                          Just to be clear, that image you are referencing was the second photo related to the voxl-inspect-services after I enabled and started the px4 service. The first photo shows it not enabled and not running.

                                          Upon power cycling, I have to enable it every time we attempt to fly.

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

                                            @daniellee This log shows a normal flight happening in altitude hold mode. RC inputs are coming in and motors are spinning. Was there some issue with the flight this log was captured from?

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