The PSDK crashes if any command is sent out of order
411 0 2023-2-26
Uploading and Loding Picture ...(0/1)
o(^-^)o
FantasticMrFox
lvl.1

Australia
Offline

If i send any command before an init, for example:

DjiFcSubscription_SubscribeTopic


before calling:

DjiFcSubscription_Init


Then the code will segfault (crash due to out of access). I have confirmed that this crash occurs internally to the psdk lib.

Why is there not a DJI_ERROR_SYSTEM_MODULE_NOT_INITIALISED error for this? The code should never crash.  How do i know that crashes of this nature will not occur while the drone is in the air under our control?

2023-2-26
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules