Failed to start task. Check software and firmware versions
已完成Hi,
I am receiving this error when trying to start a waypoint mission, using M3T firmware version 05.02.0506 (latest).
Help?
-
1. Check if you are using the latest MSDK 5.2.0 version? 2. Your kmz structure is wrong. Have you included a template.kml file in your kmz file? Please check your kmz according to https://developer.dji.com/doc/cloud-api-tutorial/en/specification/dji-wpml/overview.html 3. Please read this article, https://sdk-forum.dji.net/hc/en-us/articles/12560010128153-How-to-write-an-empty-template-kml-file- -
Hi,
Thank you for your reply.
We are using MSDK 5.2.0.
I created a very simple wpml file, using the examples and documentation.
My kmz file structure:
-wpmz
--template.kml
--waylines.wpml
--res
Maybe you can have a look?
https://drive.google.com/file/d/1Zug8BtWCO78vqK5Eo8k-WkR01T24cvI2/view?usp=sharing
-
I think you have missed the , and . Please compare to https://developer.dji.com/doc/cloud-api-tutorial/cn/specification/dji-wpml/waylines-wpml.html -
Its on the page I have given to you. ![](https://djisdksupport.zendesk.com/attachments/token/7XimSnOIbrDtHWwxCmKNKI2rV/?name=image.png) -
Thank you for checking my files.
I added the wpml:payloadInfo part and tried again, but I am receiving the same error unfortunately :(
This is the part I added, right after wpml:droneInfo:
<wpml:payloadInfo>
<wpml:payloadEnumValue>67</wpml:payloadEnumValue>
<wpml:payloadSubEnumValue>0</wpml:payloadSubEnumValue>
<wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
</wpml:payloadInfo>Updated file:
https://drive.google.com/file/d/1vJmPO2-Q5kZuhrR1ZQTEpMvc6tTNeL81/view?usp=sharing
Maybe its worth mentioning, I am using DJI assistant 2 (Enterprise series) simulator.
-
I was getting an unknown issue from when I run the sample. Could you try this kmz and compare it to yours? Link:https://github.com/dji-sdk/Mobile-SDK-Android-V5/blob/dev-sdk-main/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/assets/waypointsample.kmz -
Thank you, but I am receiving the same error when using the kmz file you gave me (of course I edited the droneInfo and payloadInfo params according to our product)
This is the code I am running to start a mission:
getMissionManager().pushKMZFileToAircraft(this.kmzFile.getPath(), new CommonCallbacks.CompletionCallbackWithProgress<Double>() {
@Override
public void onProgressUpdate(Double progress) {
Logger.i(TAG,"pushKMZFileToAircraft progress="+progress);
}
@Override
public void onSuccess() {
Logger.i(TAG,"pushKmzFileToAircraft success");
getMissionManager().startMission(kmzFile.getName(), new CommonCallbacks.CompletionCallback() {
@Override
public void onSuccess() {
Logger.i(TAG,"startMission success");
}
@Override
public void onFailure(@NonNull IDJIError error) {
Logger.e(TAG,"startMission failed error="+error.description());
}
});
}
@Override
public void onFailure(@NonNull IDJIError error) {
Logger.e(TAG,"pushKmzFileToAircraft failed error="+error.description());
}
}); -
I have edited your kmz file and make it work. MSDK: 5.2.0, Firmware: 05.02.0506. I have uploaded the edited kmz file to the netdisk. The issue is your spacing. https://pan-sec.djicorp.com/s/64rRCEpSdfz856M ![](https://djisdksupport.zendesk.com/attachments/token/V4j2FP9meXk8v134ql6IlGs5x/?name=image.png) -
I have upload a testing video called screen-20230129-150841.mp4 on https://pan-sec.djicorp.com/s/64rRCEpSdfz856M Can you also reproduce the issue by following my steps and also record a video for me please?
请先登录再写评论。
评论
19 条评论