Check if compass, gimbal and IMU needs calibration - MSDK 4 and MSDK 5

Completed

Comments

4 comments

  • DJI Developer Support
    Our engineers will be on holiday for the Chinese New Year(2-06~ 2-17), which may cause some delays in responding to your ticket. We appreciate your patience and apologize for the inconvenience this may cause you. You can first search for related articles in our knowledge base https://djisdksupport.zendesk.com/hc/en-us We will answer your ticket as quickly as possible when the holiday is over.
    0
    Comment actions Permalink
  • DJI Developer Support
    MSDK V4: Calibrate IMU -> startIMUCalibration When to Calibrate -> SensorState == LARGE_BIAS , you can get state by setIMUStateCallback . Calibrate compass ->compass.startCalibration When to Calibrate -> hasError == true Calibrate gimbal -> startCalibration MSDK V5: Calibrate IMU ->KeyStartIMUCalibration When to Calibrate -> CompassSensorState== SERIOUS_MODULUS,DATA_EXCEPTION AND DIRECTION_EXCEPTION, you can get state by FlightControllerKey**.**KeyIMUStatus. Calibrate compass ->KeyStartCompassCalibration When to Calibrate -> KeyCompassHasError== true Calibrate gimbal -> KeyGimbalCalibrate
    1
    Comment actions Permalink
  • Jonathan Gabbay

    Thank you!

    So there is no way to check if gimbal is calibrated?

    0
    Comment actions Permalink
  • DJI Developer Support
    If the gimbal is in the calibration process, you can obtain whether the calibration is complete. However, for a gimbal, there is currently no interface to determine if it has been calibrated.
    0
    Comment actions Permalink

Please sign in to leave a comment.