Check if compass, gimbal and IMU needs calibration - MSDK 4 and MSDK 5
CompletedHi,
I can't find methods/keys to check if Compass, Gimbal and IMU need calibration.
Help would be appreciated, thank you!
-
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. -
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
Please sign in to leave a comment.
Comments
4 comments