In DJI Pilot 2, there is Health Management System view which displays any ongoing issues coming from certain module (eg. Propulsion, Avionics, etc.).
In V5 SDK, there is IDeviceHealthManager, that provides same information. But how do we get the module under which that error belongs, e.g. does it belong under Propulsion or Avionics. In V4 there was DJIDiagnostics class, which provided diagnostic for certain module. We could then get the module that it belong to via getType method to retrieve DJIDiagnosticsType. It seems that there is now no way to get this kind of type for each issue received via onDeviceHealthInfoUpdate.
I also noticed that v4 SDK provided hms.json file, where some of those alarm ids also appear in new drones that are only supported by new V5 SDK. But mapping each alarm to certain module would be very painstaking.
Could DJI add that kind of information to SDK so that we would have a way to match error/warning to exact module?
This is a new feature for HMS system. We will discuss internally after Chinese New Year. I will leave a comment on this post once we have a final decision.
Hello!
In DJI Pilot 2, there is Health Management System view which displays any ongoing issues coming from certain module (eg. Propulsion, Avionics, etc.).
In V5 SDK, there is IDeviceHealthManager, that provides same information. But how do we get the module under which that error belongs, e.g. does it belong under Propulsion or Avionics. In V4 there was DJIDiagnostics class, which provided diagnostic for certain module. We could then get the module that it belong to via
getType
method to retrieve DJIDiagnosticsType. It seems that there is now no way to get this kind of type for each issue received via onDeviceHealthInfoUpdate.I also noticed that v4 SDK provided hms.json file, where some of those alarm ids also appear in new drones that are only supported by new V5 SDK. But mapping each alarm to certain module would be very painstaking.
Could DJI add that kind of information to SDK so that we would have a way to match error/warning to exact module?