darshan123
lvl.2
India
Offline
|
[size=13.3333px]Hi Team,
[size=13.3333px] I have implemented iOS swift SDK with below GitHub reference,
[size=13.3333px]https://github.com/dji-sdk/Mobile-SDK-iOS.
[size=13.3333px]I have successfully connected iOS device with drone but I need to track drone location and I have implemented DJIFlightControllerDelegate which is not working for me.
[size=13.3333px]Can you please provide me any solutions on it for fetch current connected aircraft and track it I have implemented below code,
[size=13.3333px]func fetchFlightController() -> DJIFlightController?{
[size=13.3333px] if let product = DJISDKManager.product(){
[size=13.3333px] if product.isKind(of: DJIAircraft.self){
[size=13.3333px] return (product as! DJIAircraft).flightController
[size=13.3333px] }
[size=13.3333px] }
[size=13.3333px] return nil
[size=13.3333px]}
[size=13.3333px]My drone is Phantom 4 pro and I am getting success on DJISDKManager.product().
[size=13.3333px]Can you please guide me here how to implement DJIFlightControllerDelegate ?
[size=13.3333px]If is there any issue in my side to fetch current connected drone.
[size=13.3333px]Thanks
|
|