Different behaviors for each flight of the same mission
Hi!
Problem
When I try to execute a mission (that I'll add below), the drone acts differently in every flight. The most weird, and probably helpful behavior, is that the drone stops all of sudden in random locations. Sometimes it stops before arriving at the first waypoint, sometimes between one waypoint and another, sometimes exactly at the waypoint location.
I've executed this mission in 4 different days, in different locations (2 different cities - which implies different 2 missions), at different times (between 11am and 6:30pm), and different weather conditions (cloudy, sunny and windy). One area is above a soccer field and the other one is above a parking lot (the mission below). Both places had no obstacles at the altitude specified in the mission.
Another interesting behavior that only happened in the last day that I tested, is that right before the mission randomly stops, the gps count drops to 0 and right after gets back to how it was before (between 11 - 17).
After noticing this, I decided to test with the Phantom 4 Pro V2. Actually, I've tested with two Phantom 4 Pro V2, and both of them worked perfectly every single time.
Do you have any idea on what may be happening?
Environment
Android 11 SDK 4.15 Phantom 4 Pro with latest firmware and flysafe database Phantom 4 Pro V2 with latest firmware and flysafe database Phantom 4 Pro V2 with latest firmware and flysafe database
Mission
{
"autoFlightSpeed":12.5,
"finishedAction":"GO_HOME",
"flightPathMode":"NORMAL",
"gotoFirstWaypointMode":"SAFELY",
"headingMode":"USING_WAYPOINT_HEADING",
"maxFlightSpeed":15.0,
"missionID":7,
"pointOfInterest":null,
"repeatTimes":1,
"waypointCount":10,
"waypointList":[
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.408768,
"coordinate":{
"latitude":-23.160064680262902,
"longitude":-45.793138167755586,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":148,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"COUNTER_CLOCKWISE",
"waypointActions":[
],
"headingInner":148
},
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.048477,
"coordinate":{
"latitude":-23.16035352517325,
"longitude":-45.79294537267839,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":59,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"COUNTER_CLOCKWISE",
"waypointActions":[
],
"headingInner":59
},
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.752945,
"coordinate":{
"latitude":-23.16028490142418,
"longitude":-45.79281902897924,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":-31,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"CLOCKWISE",
"waypointActions":[
],
"headingInner":329
},
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.375381,
"coordinate":{
"latitude":-23.15991783895118,
"longitude":-45.793064031946955,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":24,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"CLOCKWISE",
"waypointActions":[
],
"headingInner":24
},
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.513382,
"coordinate":{
"latitude":-23.159770997639463,
"longitude":-45.79298989630087,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":148,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"COUNTER_CLOCKWISE",
"waypointActions":[
],
"headingInner":148
},
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.370987,
"coordinate":{
"latitude":-23.16021627767511,
"longitude":-45.79269268540955,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":59,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"COUNTER_CLOCKWISE",
"waypointActions":[
],
"headingInner":59
},
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.373978,
"coordinate":{
"latitude":-23.160147653926042,
"longitude":-45.79256634196932,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":-31,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"CLOCKWISE",
"waypointActions":[
],
"headingInner":329
},
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.962784,
"coordinate":{
"latitude":-23.15962415632774,
"longitude":-45.79291576081732,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":24,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"CLOCKWISE",
"waypointActions":[
],
"headingInner":24
},
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.81697,
"coordinate":{
"latitude":-23.159477315016023,
"longitude":-45.79284162549635,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":148,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"COUNTER_CLOCKWISE",
"waypointActions":[
],
"headingInner":148
},
{
"actionRepeatTimes":1,
"actionTimeoutInSeconds":999,
"altitude":30.367569,
"coordinate":{
"latitude":-23.160079030176973,
"longitude":-45.79243999865855,
"valid":true
},
"cornerRadiusInMeters":0.2,
"gimbalPitch":0.0,
"heading":13,
"isUseCustomDirection":false,
"shootPhotoDistanceInterval":0.0,
"shootPhotoTimeInterval":0.0,
"speed":12.5,
"turnMode":"CLOCKWISE",
"waypointActions":[
],
"headingInner":13
}
],
"exitMissionOnRCSignalLostEnabled":false,
"gimbalElevationOptimizeEnabled":false,
"gimbalPitchRotationEnabled":false
}
Agent comment from DJI SDK in Zendesk ticket #52311:
尊敬的开发者,感谢您联系DJI 大疆创新
由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics
Dear developer, thank you for contacting DJI.
Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics
°°°
Agent comment from sean.zhou in Zendesk ticket #52311:
Dear Client,
Thank you for contacting DJI.
Can you test a waypoint mission using the official program DJI Pilot? If these problems also exist, we suspect that there is something wrong with your aircraft and suggest you contact [email protected] to deal with your aircraft.
Hopefully our solution can help you.
Kindly Regards,
DJI Developer Support
°°°