You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add a switch in the PSDK settings shown in DJI Pilot. However, the app crashes instantly as soon as I click the switch (in DJI Pilot). From the code, none of GetWidgetValue and SetWidgetValue are being called. The config path works correctly because I see the switch in the parameters, I just can't click it. Do you have any idea what is the problem?
Hello, it may be difficult to troubleshoot simply by looking at the program. We recommend that you use GDB debugging, which will make it clearer where your code crashes and is more conducive to troubleshooting and debugging.
Hello, I'm glad that your problem has been solved. You're welcome. This is a problem with code writing or code implementation. If you have similar problems in the future, we suggest that you provide us with the output of GDB debugging or the code snippet where you reported the error so that we can better confirm it for you.
I'm trying to add a switch in the PSDK settings shown in DJI Pilot. However, the app crashes instantly as soon as I click the switch (in DJI Pilot). From the code, none of
GetWidgetValue
andSetWidgetValue
are being called. The config path works correctly because I see the switch in the parameters, I just can't click it. Do you have any idea what is the problem?Here is my code:
And the
widget_config.json
The text was updated successfully, but these errors were encountered: