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?
|
|