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

    Seeker drone "backtracking" when it stops to hover

    Ask your questions right here!
    2
    3
    82
    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.
    • H
      hmlow
      last edited by

      Hi devs

      I have a Seeker drone and i have been testing it extensively indoors with VIO. It works well enough in most situations and im happy with it. But i have been witnessing a behavior sometimes that i could not understand why.

      After flying for some distance in Position mode, i would release the sticks and let the drone hover in place. When i do that, sometimes the drone "backtracks" (heading does not change) a little (as much as 1 metre sometimes).

      I pulled out the flight logs and saw:
      -When i release the sticks, the setpoint is set and PX4 activates its position controller. When the Seeker was moving it was using the velocity controller
      -The local position estimate continued propagating forward in the direction of my stick although i have already released it.
      -The drone responds by correctly reversing/"backtracking" to hover at the setpoint position

      pic.png

      How could i minimize/prevent this from happening?

      1 Reply Last reply Reply Quote 0
      • Steve TurnerS
        Steve Turner
        last edited by

        I don't work for Modal, so take this with a grain...
        MPC_POS_MODE controls some of this behavior. https://docs.px4.io/v1.12/en/advanced_config/parameter_reference.html has a description and you can try the other options to see how that influences the behavior.

        https://docs.px4.io/v1.9.0/en/config_mc/advanced_mc_position_tuning.html Should help with some of the tuning parameters that control position behavior.

        Additionally, the PID loop for position might need some tuning if you want it to stop more aggressively.

        H 1 Reply Last reply Reply Quote 0
        • H
          hmlow @Steve Turner
          last edited by

          @Steve-Turner said in Seeker drone "backtracking" when it stops to hover:

          I don't work for Modal, so take this with a grain...
          MPC_POS_MODE controls some of this behavior. https://docs.px4.io/v1.12/en/advanced_config/parameter_reference.html has a description and you can try the other options to see how that influences the behavior.

          https://docs.px4.io/v1.9.0/en/config_mc/advanced_mc_position_tuning.html Should help with some of the tuning parameters that control position behavior.

          Additionally, the PID loop for position might need some tuning if you want it to stop more aggressively.

          Thanks for the suggestion but I'm quite certain it has nothing to do with MPC_POS_MODE nor the tuning of the velocity/position controller. The phenomenon I described only happens sometimes - especially when VIO quality is low for that stretch of journey just before the drone comes to a stop

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