在模拟器中启动航点任务失败?
SDK类型: MSDK::Android
SDK版本/SDK Version: 5.8.0
飞机固件版本: M350rtk
遥控器固件版本: DJI RC Plus 05.02.13.01
问题描述: 在模拟器Simulator中模拟飞行任务waypoint mission, 启动任务start mission失败, 状态为ACTION_EVENT_EXECUTION_START_FAILED,请问模拟器是否能够模拟航点任务?
-
更前一些日志:
I/WPMZ: CreateFromKmlFile : 1
I/WPMZ: kmzFilePath : /storage/emulated/0/Android/data/com.scm.drone/files/DJI/waypoint/waypoint_scm.kmz
E/SCM_Drone: Start to upload the waypoint mission...
I/DJIV5/Class@b34fa4b: (publishMissionState:1) MState UPLOADING
E/WP_JNI: loadV2MissionData
I/DJIV5/Class@b34fa4b: (onSuccess:1) loadV2MissionData
E/SCM_Drone: mission new state: UPLOADING
E/SCM_Drone: Upload KMZ...10.0
E/WP_JNI: uploadV2Mission
E/WP_JNI: current string length 23
I/DJIV5/Class@b34fa4b: (onWaypointUploadStateChangeCallback:3) upLoadErrorCode begin:WaypointStateChangeInformation{pre_state=UPLOAD_STARTING, cur_state=UPLOADING, event=UPLOAD_PROGRESS_UPDATE, data=[hex=080110ffffffffffffffffff011803]}
I/DJIV5/Class@b34fa4b: (onWaypointUploadStateChangeCallback:13) upLoadErrorCode :null
I/DJIV5/Class@b34fa4b: (onSuccess:1) uploadV2Mission callback
E/WP_JNI: current string length 14
I/DJIV5/Class@b34fa4b: (onWaypointUploadStateChangeCallback:3) upLoadErrorCode begin:WaypointStateChangeInformation{pre_state=UPLOADING, cur_state=UPLOADING, event=UPLOAD_PROGRESS_UPDATE, data=[hex=080110021803]}
I/DJIV5/Class@b34fa4b: (onWaypointUploadStateChangeCallback:13) upLoadErrorCode :null
E/WP_JNI: current string length 6
I/DJIV5/Class@b34fa4b: (onWaypointUploadStateChangeCallback:3) upLoadErrorCode begin:WaypointStateChangeInformation{pre_state=UPLOADING, cur_state=READY_TO_EXECUTE, event=UPLOAD_DONE}
E/SCM_Drone: Upload KMZ...50.0
E/WP_JNI: uploadV2ActionData
E/WP_JNI: current string length 6
I/DJIV5/Class@b34fa4b: (onWaypointExecutionStateChangeCallback:22) waypoint information state :READY_TO_EXECUTE final stateREADY
I/DJIV5/Class@b34fa4b: (publishMissionState:1) MState READY
E/SCM_Drone: mission new state: READY
E/WP_JNI: current string length 6
I/DJIV5/Class@b34fa4b: (onSuccess:1) uploadV2ActionData success
E/WP_JNI: current string length 19
E/WP_JNI: current string length 12
E/WP_JNI: current string length 12
E/WP_JNI: current string length 6
I/DJIV5/Class@b34fa4b: (publishMissionState:1) MState READY
E/SCM_Drone: mission new state: READY
E/SCM_Drone: Upload KMZ...100.0
E/SCM_Drone: Succeed to upload KMZ
E/SCM_Drone: Wayline: 0
I/DJIV5/Class@b34fa4b: (publishMissionState:1) MState READY
E/SCM_Drone: mission new state: READY
E/SCM_Drone: Fail to start the mission
E/WP_JNI: current string length 19
I/DJIV5/Class@b34fa4b: (onActionExecutionStateChangeCallback:14) preSate:ACTION_STATE_EXECUTE_STARTING curState:ACTION_STATE_READY_TO_EXECUTE event:ACTION_EVENT_EXECUTION_START_FAILED
W/KeyStore: KeyStore exception
android.os.ServiceSpecificException: (code 7)
at android.os.Parcel.createException(Parcel.java:2085) -
把相对高度值从正值改成负值后,在模拟器里可以启动航点任务了,但在第一个航点拍照是任务被打断:
I/DJIV5/Class@e6d9d8b: (onWaypointExecutionStateChangeCallback:22) waypoint information state :EXECUTION_INTERRUPTED final stateINTERRUPTED
I/DJIV5/Class@e6d9d8b: (onWaypointExecutionStateChangeCallback:29) waypoint isReachedFirstWaypoint ------ :false
I/DJIV5/Class@e6d9d8b: (publishMissionState:1) MState INTERRUPTED
E/SCM_Drone: Wayline executing info: 0
E/SCM_Drone: mission new state: INTERRUPTED
E/SCM_Drone: Wayline executing interrupt: ErrorImp{errorType='WAYPOINT', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='-1', description='null', hint=''}
W/InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
E/WP_JNI: current string length 14
I/DJIV5/Class@e6d9d8b: (onActionExecutionStateChangeCallback:14) preSate:ACTION_STATE_EXECUTING curState:ACTION_STATE_EXECUTING event:ACTION_EVENT_EXECUTION_STARTED
I/testAction: (notifyActionState:42) start 0
E/WP_JNI: current string length 12
I/DJIV5/Class@e6d9d8b: (onActionExecutionStateChangeCallback:14) preSate:ACTION_STATE_EXECUTING curState:ACTION_STATE_EXECUTING event:ACTION_EVENT_EXECUTION_FAILED
I/testAction: (notifyActionState:31) finish 0 event ACTION_EVENT_EXECUTION_FAILED
E/WP_JNI: current string length 14
I/DJIV5/Class@e6d9d8b: (onActionExecutionStateChangeCallback:14) preSate:ACTION_STATE_EXECUTING curState:ACTION_STATE_EXECUTING event:ACTION_EVENT_EXECUTION_STARTED
I/testAction: (notifyActionState:42) start 0
E/WP_JNI: current string length 12
I/DJIV5/Class@e6d9d8b: (onActionExecutionStateChangeCallback:14) preSate:ACTION_STATE_EXECUTING curState:ACTION_STATE_EXECUTING event:ACTION_EVENT_EXECUTION_FAILED
I/testAction: (notifyActionState:31) finish 0 event ACTION_EVENT_EXECUTION_FAILED
E/WP_JNI: current string length 14
I/DJIV5/Class@e6d9d8b: (onActionExecutionStateChangeCallback:14) preSate:ACTION_STATE_EXECUTING curState:ACTION_STATE_EXECUTING event:ACTION_EVENT_EXECUTION_STARTED
I/testAction: (notifyActionState:42) start 0
E/WP_JNI: current string length 12
Please sign in to leave a comment.
Comments
3 comments