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

    VOXL-2 Reject position control error

    VOXL 2
    2
    3
    393
    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.
    • J
      Jagatpreet Singh Nir
      last edited by 23 May 2022, 23:13

      We are trying to run sentinel with voxl-2 in position control mode. We have calibrated the ESCs, all the sensors (compass, accel, gyro) and RC input. Even after all the calibration, we can fly in manual mode but the drone is unable to switch to position mode. The QGC outputs a log message saying Reject Position control. Our flight controller passes all the pre-flight checks for arming.

      We suspect the cause is the following: In the MAV link inspector, we saw that the local NED position in z drifts by atmost of 20 centimeters. We also saw that the Odometery message seen in mavlink inspector does not drift at all and is equivalent to the values reported by voxl-qvio-inspector in local NED frame. We are unable to figure out how to get a stable local NED position in mavlink to align with the qvio.

      or Is there anything else to configure to get into position control?

      1 Reply Last reply Reply Quote 0
      • J
        Jeremy Schmidt ModalAI Team
        last edited by 24 May 2022, 23:49

        @Jagatpreet-Singh-Nir

        We ship the Sentinel configured to fly outdoors using GPS positioning so that may be the reason for VIO not working for you. All you should have to do is load our EKF2 indoor/vio params. I'll drop a link to where you can find all relevant param files and helper files such as the ekf2_indoor_vio.params that you need.

        https://gitlab.com/voxl-public/flight-core-px4/px4-parameters/-/tree/master

        Please let us know if this helps

        1 Reply Last reply Reply Quote 0
        • J
          Jagatpreet Singh Nir
          last edited by 26 May 2022, 16:40

          Yes this fixed the issue. We are able to fly in position control mode indoors. Thanks!

          1 Reply Last reply Reply Quote 0
          1 out of 3
          • First post
            1/3
            Last post
          Powered by NodeBB | Contributors