djiuser_OR8EW5uz3gSA
lvl.4
Canada
Offline
|
If anyone else is interested I was able to achieve the same result as a waypoint mission using a Timeline mission to run a DJIShootPhotoAction - initWithPhotoCount:timeInterval:waitUntilFinish - with wait set to NO and then scheduled a DJIGoToAction which results in the drone flying to a coordinate while taking photos at a time interval.
Sample mission actions
DJITakeOffAction
DJIGoToAction (coordinate with altitude)
DJIGimbalAttitudeAction (pitch -90)
DJIShootPhotoAction (initWithPhotoCount 20, interval 2 seconds, wait NO)
DJIGoToAction (coordinate with altitude)
repeat last 2 steps for multiple coordinates
- also DJIShootPhotoAction initWithStopShootPhoto is useful to stop a currently running DJIShootPhotoAction initWithPhotoCount:timeInterval:waitUntilFinish (with wait set to NO)
However if there is no DJIShootPhotoAction initWithPhotoCount:timeInterval:waitUntilFinish running the mission will likely crash |
|