The function `Vehicle::getDroneVersion` does not timeout
243 0 2021-11-23
Uploading and Loding Picture ...(0/1)
o(^-^)o
djiuser_KtYl0gScr6EJ
lvl.1

Australia
Offline

The function `ACK:: DroneVersion getDroneVersion(uint32_t timeoutMs);` in DJI::OSDK::Vehicle (dji_vehicle.hpp at line 211) specifies that it will be a sync command with a built in timeout. I am running this command when not connected by serial to any vehicle. It does not matter what i put as `timeoutMs`, the command never times out. Furthermore, while waiting for this command to return, if a sigint (ctrl-c) is issued to the program, it does not respond.

1. Why doesn't this command work properly with the timeout?
2. Why doesn't DJI handle the signal properly in the osdk?
2021-11-23
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules