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

    Starling 2 Max - max thrust in position mode, with throttle at 0, causing it to jump into the air unprompted.

    Ask your questions right here!
    2
    3
    32
    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.
    • A
      aspen
      last edited by

      Hi, we experienced an unexpected takeoff from the startling 2 Max. After flying a short hop to validate the GCS failsafe would trigger, we landed and then 40 seconds later the starling jumped up into the air unprompted.

      Sequence of events:

      • We flew the drone in position mode, forced a return to land by disabling the GCS (to see that the failsafe was behaving as intended) and then we let the drone land.
      • The drone landed (visually) but never disarmed.
      • It sat on the ground with 0 throttle from the pilot, but never disarmed.
      • After 40 seconds, the starling 2 max shot up into the air 15 meters at max speed (with the throttle still down)
      • The pilot took control in stabilised mode, landed the drone, disarmed and unplugged the battery.
      • We have not flown since.

      We were flying outdoors, with a 3D GPS fix ~25 satellites (we are now aware of the GPS EMI interference issues with the starling, which we believe has been causing us to have very poor altitude tracking +/-10 meters).

      ** Possible cause **
      We noticed in the logs that the vehicle_local_position_setpoint/acceleration value increases from about 20 to a number so large it causes a floating-point overload, causing the acceleration to go negative.
      At the point where the value goes negative, the propellers spin up full speed, and the drone jumps 15 meters.
      The increase in value took place over about a second.

      What is going on here?

      Screenshot from 2025-11-18 13-46-04.png
      Screenshot from 2025-11-18 13-47-16.png

      138.0s into the flight, the acceleration setpoint starts increasing rapidly.
      At 139.7 seconds into the flight, the thrust starts increasing, which coincides with the acceleration setpoint overloading and flipping sign.
      The event ends at about 141.5s into the flight, by that the time the drone is almost 15m into the air.

      We do not know the root cause of the acceleration spike.

      Questions:

      1. Why did the drone not land when it came to a stop on the ground with 0 throttle?
      2. Why is the acceleration unbounded? Has anyone seen this before? Are there known fixes in later versions of PX4?
      A 1 Reply Last reply Reply Quote 0
      • A
        aspen @aspen
        last edited by

        @aspen
        It could be because of a race condition discussed in an older version of PX4: https://github.com/PX4/PX4-Autopilot/issues/20275,

        In PositionControl::updateHoverThrust(const float hover_thrust), _hover_thrust_new is not constrained by the same amount as the stored _hover thrust because we are pulling down on throttle and keeping ourselves stuck to the ground the estimate for hover thrust is much smaller than the 0.1 default constraint.
        
        This then leads to a build up here
        
        I threw in the other constraint as well to _vel_int(2) here just be more consistent as there are a lot of steps that use it before it eventually gets constrained here link
        
        

        Ref: https://github.com/PX4/PX4-Autopilot/issues/20275

        I suspect that it is an issue that the PX4 community have identified and solved, and needs to be pulled into the modal-ai fork.
        I worry that this might happen to any drone that is armed and idling on the ground.

        This does not solve the issue of the drone not correctly identifying that it had landed.

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

          @aspen Can you provide the log file? There is a version of px4 v1.16 available here: http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-mainline-px4_1.16.0-1.0.4-202509030932_arm64.deb

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