Open EonKid opened 7 years ago
Hi @EonKid, do you have any log messages when you failed to execute DJIGoToStep mission? Also, DJI Phantom 3 is a product series, which Phantom 3 you are using (Like Phantom 3 Professional, Phantom 3 Advanced, etc). To help us investigate the issue, could you help to provide more infos of "Unable to execute DJIGoToStep mission"?
BTW, you can check the iOS SDK Swift Sample Code: https://github.com/dji-sdk/Mobile-SDK-iOS/tree/master/Sample%20Code/SwiftSampleCode/DJISDKSwiftDemo/Missions/CustomMission to learn how to use the Custom Mission and Simulator in Swift.
Hope this help!
@oliverou I am using DJI Phantom 3 Advanced and also tested it on Phantom 4,Phntom 4 Pro.It says "Bad GPS signal" for DJI Phantom 4 and DJI Phantom 4 Pro .Also Simulator mode is not working in "DJI Phantom 4 Pro".It giving error "Unknown aircraft"
@EonKid, it seems that you haven't start the simulator successfully before you run the DJICustomMission, also, to start the simulator, you should pass the location
, frequency
and number
parameters in the following method:
- (void)startSimulatorWithLocation:(CLLocationCoordinate2D)location
updateFrequency:(NSUInteger)frequency
GPSSatellitesNumber:(NSUInteger)number
withCompletion:(DJICompletionBlock)block;
So, it's unreasonable to have the "Bad GPS signal" logs if you set the GPS Satellite Number.
BTW, it should not show the "Unknown aircraft" error log when you use the simulator and Custom Mission. Could you help to paste the full log in the Xcode console for us to investigate the issue?
@oliverou @dji-dev I have started the simulator. It is giving same error for DJI Phantom 3 Advance "Bad gps signal Error code : -5001". Can it follow the object in simulator mode . -DJI SDK Version 3.5
I am using DJI Phantom 3 -DJI SDK 3.5 -iPad I am unable to start DJIGoToStep mission using Simulator mode is ON .I am using following code:-