Please select Into the mobile phone version | Continue to access the computer ver.
Waypoint mission not following the waypoints
182 4 7-21 10:46
Uploading and Loding Picture ...(0/1)
o(^-^)o
fernando_s971
lvl.2

Offline

Problem

When starting a new Waypoint Mission, the drone takes off up to 2 meters, and keeps hovering in that position. Also, when this happen, I'm only able to take the drone drone higher, or lower (up to those 2 meters).

Expected behaviour

When starting a new Waypoint Mission, the drone completes its path as specified by the mission.

Environment

- Phantom 4 Pro and Phantom 4 Pro v2 (both with latest firmware and fly safe database)
- MSDK 4.14.1 and 4.15
- Zenfone ZE620KL with Android 11 (Custom ROM - DroidOS 5.1) and Galaxy Tab S3 with Android 9 (Stock ROM)

Tested hypotesis

- Avoidance system enabled and disabled
- Cloudy and sunny weathers
- Different locations and mission configurations
- Different app: here I used Litchi, and a similar mission ocurred without problems

More info

My app logs and DJI logs shows no error, exception or something alike.

If necessary, I can provide the flight records.

The WaypointMission object

{
   "autoFlightSpeed":0.0,
   "finishedAction":"GO_HOME",
   "flightPathMode":"CURVED",
   "gotoFirstWaypointMode":"SAFELY",
   "headingMode":"AUTO",
   "maxFlightSpeed":15.0,
   "missionID":8,
   "pointOfInterest":null,
   "repeatTimes":1,
   "waypointCount":8,
   "waypointList":[
      {
         "actionRepeatTimes":1,
         "actionTimeoutInSeconds":999,
         "altitude":30.0,
         "coordinate":{
            "latitude":-23.16001469396617,
            "longitude":-45.79311885279432,
            "valid":true
         },
         "cornerRadiusInMeters":0.2,
         "gimbalPitch":0.0,
         "heading":0,
         "isUseCustomDirection":false,
         "shootPhotoDistanceInterval":0.0,
         "shootPhotoTimeInterval":0.0,
         "speed":12.5,
         "turnMode":"CLOCKWISE",
         "waypointActions":[

         ],
         "headingInner":0
      },
      {
         "actionRepeatTimes":1,
         "actionTimeoutInSeconds":999,
         "altitude":26.325867,
         "coordinate":{
            "latitude":-23.159431407395395,
            "longitude":-45.79282463259898,
            "valid":true
         },
         "cornerRadiusInMeters":0.2,
         "gimbalPitch":0.0,
         "heading":0,
         "isUseCustomDirection":false,
         "shootPhotoDistanceInterval":0.0,
         "shootPhotoTimeInterval":0.0,
         "speed":12.5,
         "turnMode":"CLOCKWISE",
         "waypointActions":[

         ],
         "headingInner":0
      },
      {
         "actionRepeatTimes":1,
         "actionTimeoutInSeconds":999,
         "altitude":27.596802,
         "coordinate":{
            "latitude":-23.1596132304213,
            "longitude":-45.79270070336531,
            "valid":true
         },
         "cornerRadiusInMeters":0.2,
         "gimbalPitch":0.0,
         "heading":0,
         "isUseCustomDirection":false,
         "shootPhotoDistanceInterval":0.0,
         "shootPhotoTimeInterval":0.0,
         "speed":12.5,
         "turnMode":"CLOCKWISE",
         "waypointActions":[

         ],
         "headingInner":0
      },
      {
         "actionRepeatTimes":1,
         "actionTimeoutInSeconds":999,
         "altitude":31.782654,
         "coordinate":{
            "latitude":-23.160196385773006,
            "longitude":-45.792994857230866,
            "valid":true
         },
         "cornerRadiusInMeters":0.2,
         "gimbalPitch":0.0,
         "heading":0,
         "isUseCustomDirection":false,
         "shootPhotoDistanceInterval":0.0,
         "shootPhotoTimeInterval":0.0,
         "speed":12.5,
         "turnMode":"CLOCKWISE",
         "waypointActions":[

         ],
         "headingInner":0
      },
      {
         "actionRepeatTimes":1,
         "actionTimeoutInSeconds":999,
         "altitude":33.06659,
         "coordinate":{
            "latitude":-23.160295942933544,
            "longitude":-45.79282943102868,
            "valid":true
         },
         "cornerRadiusInMeters":0.2,
         "gimbalPitch":0.0,
         "heading":0,
         "isUseCustomDirection":false,
         "shootPhotoDistanceInterval":0.0,
         "shootPhotoTimeInterval":0.0,
         "speed":12.5,
         "turnMode":"CLOCKWISE",
         "waypointActions":[

         ],
         "headingInner":0
      },
      {
         "actionRepeatTimes":1,
         "actionTimeoutInSeconds":999,
         "altitude":28.96344,
         "coordinate":{
            "latitude":-23.15979505344721,
            "longitude":-45.79257677379519,
            "valid":true
         },
         "cornerRadiusInMeters":0.2,
         "gimbalPitch":0.0,
         "heading":0,
         "isUseCustomDirection":false,
         "shootPhotoDistanceInterval":0.0,
         "shootPhotoTimeInterval":0.0,
         "speed":12.5,
         "turnMode":"CLOCKWISE",
         "waypointActions":[

         ],
         "headingInner":0
      },
      {
         "actionRepeatTimes":1,
         "actionTimeoutInSeconds":999,
         "altitude":30.748169,
         "coordinate":{
            "latitude":-23.159976876473113,
            "longitude":-45.79245284388858,
            "valid":true
         },
         "cornerRadiusInMeters":0.2,
         "gimbalPitch":0.0,
         "heading":0,
         "isUseCustomDirection":false,
         "shootPhotoDistanceInterval":0.0,
         "shootPhotoTimeInterval":0.0,
         "speed":12.5,
         "turnMode":"CLOCKWISE",
         "waypointActions":[

         ],
         "headingInner":0
      },
      {
         "actionRepeatTimes":1,
         "actionTimeoutInSeconds":999,
         "altitude":32.18518,
         "coordinate":{
            "latitude":-23.160136265174536,
            "longitude":-45.792533242035404,
            "valid":true
         },
         "cornerRadiusInMeters":0.2,
         "gimbalPitch":0.0,
         "heading":0,
         "isUseCustomDirection":false,
         "shootPhotoDistanceInterval":0.0,
         "shootPhotoTimeInterval":0.0,
         "speed":12.5,
         "turnMode":"CLOCKWISE",
         "waypointActions":[

         ],
         "headingInner":0
      }
   ],
   "exitMissionOnRCSignalLostEnabled":false,
   "gimbalElevationOptimizeEnabled":false,
   "gimbalPitchRotationEnabled":false
}
7-21 10:46
Use props
Mats Bohlinsson
Second Officer
Flight distance : 1558228 ft
Sweden
Offline

With the info you give, it's impossible for anyone to help you.
7-21 12:51
Use props
fernando_s971
lvl.2

Brazil
Offline

Mats Bohlinsson Posted at 7-21 12:51
With the info you give, it's impossible for anyone to help you.

I've updated the question with more info
7-21 13:19
Use props
Mats Bohlinsson
Second Officer
Flight distance : 1558228 ft
Sweden
Offline

It sounds like the waypoints never get uploaded correctly. Sometimes you have to wait at specific points and re upload them. Some calls cant be done in the callbacks.

Run your app, start the mission. Change to dji go and check that the waypoints are what you exepecting.

Does the dji example app work?


Does it work with earlier version of msdk?

And your sourcecode never hurts.
7-22 09:52
Use props
fernando_s971
lvl.2

Offline

Mats Bohlinsson Posted at 7-22 09:52
It sounds like the waypoints never get uploaded correctly. Sometimes you have to wait at specific points and re upload them. Some calls cant be done in the callbacks.

Run your app, start the mission. Change to dji go and check that the waypoints are what you exepecting.

I've opened the same question topic under an enterprise account. Would you mind adding your answer there, so we can continue this conversation there?

Here is the topic link: https://forum.dji.com/forum.php?mod=viewthread&tid=246714

I'm going to make those tests right now
7-22 10:08
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules