You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been able to create a kmz file, pushed and upload is successfully but mission cannot start.
main err: Start mission failed: Failed to execute flight route. Waypoint number error. Waypoint number should be within 2 to 65535 device: mavic 3 enterprise simulator: DJI Assistant 2 (Enterprise)
Log info:
CreateFromKmlFile : 1
kmzFilePath : /storage/emulated/0/Android/data/mypackagename/files/DJI/waypoint/generate_test.kmz
Save Kmz Success Path is : /storage/emulated/0/Android/data/mypackagename/files/DJI/waypoint/generate_test.kmz
::waypointFile
/storage/emulated/0/Android/data/mypackagename/files/DJI/waypoint/generate_test.kmz
State is UPLOADING
Upload State: progress:90.0
Upload State: progress:90.0
Upload State: progress:100.0
Upload State: progress:100.0
Mission Upload Success
State is READY
Mission Upload Success
::waylineIds 0
Start mission failed: Failed to execute flight route. Waypoint number error. Waypoint number should be within 2 to 65535
this is how I created the kmz file
privatefuncreateWaylineTemplateObject() {
val distance =3.0fval missionInfoModel =MissionInfoModel()
missionInfoModel.distance = distance
val kmzOutPath = rootDir +"generate_test.kmz"//create wayline missionval waylineMission:WaylineMission= createWaylineMission(missionInfoModel)
val missionConfig:WaylineMissionConfig=KMZTestUtil.createMissionConfig()
//create and generate KMZ fileprintln("inside::${infoModelArrayList[0].waylineWaypoint.location}")
val template:Template=KMZTestUtil.createTemplate(infoModelArrayList)
WPMZManager.getInstance().generateKMZFile(kmzOutPath, waylineMission, missionConfig, template)
curMissionPath = kmzOutPath
wayPointV3VM.setCurrentPath(curMissionPath)
println("Save Kmz Success Path is : $kmzOutPath")
}
I have been able to create a kmz file, pushed and upload is successfully but mission cannot start.
main err: Start mission failed: Failed to execute flight route. Waypoint number error. Waypoint number should be within 2 to 65535
device: mavic 3 enterprise
simulator: DJI Assistant 2 (Enterprise)
Log info:
this is how I created the kmz file
onstart mission button clicked
The text was updated successfully, but these errors were encountered: