Detect Missing batter latch on M300 RTK

Completed

Comments

5 comments

  • DJI Developer Support
    What do you mean by missing battery latch? If you want to develop a feature which is identical with Pilot, if is better also give me a screenshot of Pilot, I can contact Pilot team and ask them which key this feature is using.
    0
    Comment actions Permalink
  • Kenneth Argo

    Notice how the message reports that the battery locker is not locked.

    0
    Comment actions Permalink
  • DJI Developer Support
    Its a diagnostic error. Check either DJIDiagnostics or DeviceHealthInformation to check if you can receive this error.
    0
    Comment actions Permalink
  • Kenneth Argo

    Many errors listed but none reported on the batter latch.  Do I understand correctly, the call to 'setDiagnosticsInformationCallback' should replace call to 'diagnosticsKey = DiagnosticsKey.create(DiagnosticsKey.SYSTEM_STATUS)'?????

     

    Is there a key for the DJIDiagnostics or DeviceHealthInformation, I don't see one in the current documentation.

    0
    Comment actions Permalink
  • DJI Developer Support
    The DJIDiagnostics and DeviceHealthInformation itself does not have a key, DiagnosticsKey.SYSTEM_STATUS is the big title on the top lef of DJI Pilot. You have to use Aircraft.setDiagnosticsInformationCallback and then call getHealthInformation to get the HMS message.
    0
    Comment actions Permalink

Please sign in to leave a comment.