dji-sdk/Payload-SDK

DjiWidget_Init() is failing

greg-riis opened this issue · 1 comments

When DjiWidget_Init() is called, it immediately fails, displaying the error message.
I verified that there are no duplicate objects and this function is called only once.

[24.711][linker]-[Error]-[DjiCommand_RegRecvCmdHandler:587) duplicate the registered command, type:2, CA 00 3C 1A FF00FFFF
[24.711][linker]-[Error]-[DjiCommand_RegRecvCmdHandler:589) Have existed the same object. Suggestion : Please input valid parameters.
[24.711][widget]-[Error]-[DjiWidget_Init:191) Reg widget cmd handler error, stat = 0x00000103
[24.711][user]-[Error]-[DjiTest_WidgetStartService:86) Dji test widget init error, stat = 0x00000103
[24.711][user]-[Error]-[main:111) widget sample init error

Agent comment from xiaorong.zheng in Zendesk ticket #96383:

According to the log, there are duplicate registration errors on your side. Please make sure that no other samples are running at the same time. You can try the following:

  1. Stop sample
  2. Restart the drone
  3. Only run the sample program
    This is to ensure that no other programs are running at the same time to avoid errors in function calls.

    °°°