dji-sdk

GPS Signal of the aircraft is weak-Using simulator and FollowMeMissionOperator


(Mobile SDK) I get 'Error- the GPS Signal of the aircraft is weak(216)' when I try to start a FollowMe mission while using the simulator i.e. on the line FollowMeMissionOp.startMission(followMeInitSettings, new CommonCallbacks.CompletionCallback()... where FollowMeMissionOp = DJISDKManager.getInstance().getMissionControl().getFollowMeMissionOperator();

I'm using the code at Custom Follow Me Mission DJI Android SDK as my template, but the bulk of the code is irrelevant here as the error is thrown at the start.

I'm starting the simulator within the program... mFlightController.getSimulator().start(InitializationData.createInstance(CenterScreen, 10, 10), new StartSimulatorCallback());

The simulator is working well for other types of missions- Waypoint, Timeline- with various actions, and indeed simple joystick control- there's quite a few things in the program at this stage that have tested it.

I cannot see anything different about using it for the FollowMeMissionOperator, so I'm inclined to think its a bug.

Can anyone throw any light on the issue?

(As a further footnote, it all works fine if I use the simulator in DJI Assistant instead of starting it with an SDK command)


Solution

  • Why do you run the sim with only 10sats? The followmemission wont start with that few number of sats.

    Btw, the builtin followme function sucks, at least on the mavics, you better of running your own with virtualsticks.