psdk 怎么解析KMZ 航线文件转化为waypoint 2.0的代码?

Comments

3 comments

  • DJI Developer Support
    您好,这部分都是开发者自行实现的,我们没有提供示例,其他开发者的实现是通过解析文件中的关键字,一一对应以后,填到PSDK的航点任务设置中,例如代码中的actuator.actuatorType对应航点文件的actionActuatorFunc。
    0
    Comment actions Permalink
  • Umesh

    I'm working on the same. I'm taking the KMZ file and transferring the mission configuration, waypoints, and actions required for the payload into Waypoint V2 format. This allows the mission to be performed using the KMZ file on the M300 RTK and M350 RTK, which only support Waypoint V2. The only issue is that, after completing the mission, the Waypoint V2 isn’t performing the finish action. I’ve tried the sample code as well, and it also didn’t execute the finish action.

    0
    Comment actions Permalink
  • DJI Developer Support
    Hello, may I ask what is your waypoint mission end action setting?
    0
    Comment actions Permalink

Please sign in to leave a comment.