ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. berayksl
    3. Posts
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by berayksl

    • RE: Starling 2 Max Crashes in Position Hold Mode After Disabling Magnetometer for Indoor Flight

      @Cliff-Wong said in Starling 2 Max Crashes in Position Hold Mode After Disabling Magnetometer for Indoor Flight:

      8000000

      Hi Cliff,

      Thank you for your response. I checked the config file and "en_vio" was set to 'true'.

      Also I tried moving the drone inside the drone cage and was able to get a trajectory similar to yours initially:
      Screenshot from 2025-05-23 20-31-49.png

      However, the results are inconsistent. Sometimes the trajectory is inaccurate, and the drone drifts away in the portal view:
      Screenshot from 2025-05-23 20-27-07.png

      Could this be related to calibration issues, or is VIO inherently unreliable in some cases? Could the drift be due to a lack of visual features in the environment?

      Also, do you think it's safe to fly indoors without the magnetometer? (I had to disable it because I was getting an interference error that prevented arming)

      Are there any other PX4 parameters I should adjust to ensure safe indoor flight? I want to double-check that everything is set up correctly before attempting another test because I don't want to crash the drone like last time.

      Lastly, is there a way to test the VIO setup in a HITL simulation before performing an actual flight, just to verify that everything works as expected?

      Thanks again for your help!

      posted in Starling & Starling 2
      B
      berayksl
    • RE: Starling 2 Max Crashes in Position Hold Mode After Disabling Magnetometer for Indoor Flight

      @Eric-Katzfey here is the log of the flight: https://review.px4.io/plot_app?log=a2686aeb-913d-49aa-8f21-b9802b28ec02

      posted in Starling & Starling 2
      B
      berayksl
    • RE: Starling 2 Max Crashes in Position Hold Mode After Disabling Magnetometer for Indoor Flight

      @Eric-Katzfey I'm running SDK version 1.4.3.

      Where can I find the log file of the flight?

      The drone didn't respond to stick input, which it should have in the position hold mode.

      posted in Starling & Starling 2
      B
      berayksl
    • Starling 2 Max Crashes in Position Hold Mode After Disabling Magnetometer for Indoor Flight

      We’re encountering an issue while trying to fly our Starling 2 Max drone indoors inside a netted cage using PX4. Initially, we were getting a “magnetometer interference” error, which prevented arming. To bypass this, we changed the following parameters:

      EKF2_MAG_TYPE = 5
      SYS_HAS_MAG = 0

      This allowed us to arm the drone and take off using our VIO setup (we are flying without GPS or magnetometer, relying solely on visual-inertial odometry). However, after takeoff, when switching to Position Hold mode, the drone began to ascend uncontrollably, didn’t respond to RC inputs, hit the ceiling, and crashed. Has anyone faced this issue before? We’re wondering:

      • What might be causing the drone to ignore RC input in Position Hold mode?

      • Are there other parameters we should configure to properly use VIO indoors without a GPS or magnetometer?

      • What’s the correct setup for stable, autonomous indoor flight on PX4 with VIO?

      Any help or guidance would be greatly appreciated. We’re aiming to safely fly indoors autonomously with the Starling 2 Max and want to make sure our configuration is correct.

      Thanks in advance!

      posted in Starling & Starling 2
      B
      berayksl