Open kkishore9891 opened 5 months ago
Agent comment from Leon in Zendesk ticket #109691:
Dear kkishore9891,
Greetings! We appreciate your contact with DJI - Da-Jiang Innovations.
May we inquire about the specific SDK you are using? We apologize for the inconvenience, but we may need to confirm this information first before we can assist you more effectively.
Thank you for your support of DJI products! Wishing you all the best!
Best Regards,
DJI - Da-Jiang Innovations SDK Technical Support
°°°
I am using the Payload SDK for the Matrice M30T drone.
Agent comment from Leon in Zendesk ticket #109691:
Dear kkishore9891,
Greetings. Thank you for reaching out to DJI - Da-Jiang Innovations.
We appreciate your patience. We have confirmed that these two values will affect the execution of your flight mission, and these values are generated by the RC.
If you wish to resume the waypoint mission midway,
You can refer to the callback in the V3 waypoint mission to determine which waypoint index has been executed. Then, using a script, locate this index in the V3 waypoint file. You can delete the previously executed waypoints and reset the waypoints following the index+1 to 0. Subsequent waypoints will start from 0, 1, 2, and so on. This way, you can retain the original waypoint information without the need for recalculating.
Thank you for your support of DJI products! Wishing you every success!
Best Regards,
DJI - Da-Jiang Innovations SDK Technical Support
°°°
Hello, I am trying to edit waypoint files in real time during flight so that I can checkpoint a particular mission and resume it later from half the way as suggested here: https://github.com/dji-sdk/Payload-SDK/issues/171
Let's say I have a waypoint mission KMZ file 1 with its wpml file being:
Let's say I want to create a new mission using the 2nd half of this mission where we start from the waypoint index 4 (5th waypoint) and continue till waypoint index 7 (8th waypoint). Thus, the new mission has 4 waypoints. To represent this I just edited my waypoint mission in the RC and created a new KMZ file with the waylines.wpml content as:
I did manage to write a python script which is capable of getting a KMZ file and the waypoint index at which I can clip the mission to generate a new KMZ file. The problem I had howevever is that I am not sure how to calculate the values:
I am assuming the RC uses some kind of logic to compute those values. I would also like to know if the drone would fly properly if those two values were wrong.