IMU in use state

已完成

评论

9 条评论

  • DJI Developer Support
    Generally speaking, the IMU is continuous at work. You can get the status of different modules through IMUState, when they are NORMAL, they work well, other status needs IMU calibration.
    0
    评论操作 固定链接
  • DroneControl

    Yes, but I noticed in the DJI Pilot 2 app that it shows if either IMU or Compass is in use under settings. And I couldn't find a status value in IMUState that would represent this.

    0
    评论操作 固定链接
  • DJI Developer Support
    Could you send us a screenshot of the pilot 2 showing IMU or Compass in use?
    0
    评论操作 固定链接
  • DroneControl

    Sure, it's that yellow dot that appears next to IMU in use, can't find any key that would give that status and IMUState also does not have that state.

    0
    评论操作 固定链接
  • DJI Developer Support
    This issue requires contacting engineers for inquiries, so please wait for a while.
    0
    评论操作 固定链接
  • DroneControl

    Sure, no problem. Looking forward to the solution.

    0
    评论操作 固定链接
  • DJI Developer Support
    You can use FlightControllerKey.KeyRedundancySensorUsedState to determine who is in use. The magIndex refers to the index of the IMU being used.
    1
    评论操作 固定链接
  • DroneControl

    Great, found the key! Thank you for your support!

    0
    评论操作 固定链接
  • DJI Developer Support
    I'm glad I could help you.
    0
    评论操作 固定链接

请先登录再写评论。