Please select Into the mobile phone version | Continue to access the computer ver.
This feature is not supported in the SDK
109 8 2-2 02:02
Uploading and Loding Picture ...(0/1)
o(^-^)o
djiuser_73z93HwPTUeB
lvl.1

Austria
Offline

I have an P4 RTK and when i want to perform the function DJIFlightController().turnONMotors() i am getting this error:

Optional(Error Domain=DJISDKErrorDomain Code=-1000 "This feature is not supported in the SDK(code:-1000)" UserInfo={NSLocalizedDescription=This feature is not supported in the SDK(code:-1000)})

I am using the newest XCode Verison with swiftui
I can not figure out, why this is not working, although it is an original function.

Thanks for the help.

2-2 02:02
Use props
想养一条边牧
lvl.3
Flight distance : 1155 ft
South Africa
Offline

It seems that not supported by the P4R.
2-2 18:27
Use props
twissmueller
lvl.3
Flight distance : 3504 ft
Germany
Offline

What flight controller firmware version do you have? API doc says: " Supported by flight controller firmware 3.1.0.0 or above"
2-3 01:14
Use props
djiuser_73z93HwPTUeB
lvl.1

Austria
Offline

twissmueller Posted at 2-3 01:14
What flight controller firmware version do you have? API doc says: " Supported by flight controller firmware 3.1.0.0 or above"

On my P4 RTK there is the software version 02.02.0505.
It is not possible to get the Version 3.1.0.0, as I can see.

Is der like a easy other possibility to execute some actions like takeoff? do you know?
2-3 09:19
Use props
twissmueller
lvl.3
Flight distance : 3504 ft
Germany
Offline

What about DJIFlightController.startTakeoffWithCompletion, did you try that?
2-3 10:40
Use props
kv886
Second Officer

South Africa
Offline

I think "turnONMotors()"  doesn't support phantom. It works well on my Mavic. You can call DJIFlightController.startTakeoffWithCompletion to take off.
2-3 18:58
Use props
djiuser_73z93HwPTUeB
lvl.1

Austria
Offline

When performing DJIFlightController().startTakeoff(completion: ), I am getting the same error.

The only way I found to start the Drone and take of is with this 2 lines off code, but that could't be the best way to perform, this action.

DJISDKManager.missionControl()?.scheduleElement(DJITakeOffAction())
DJISDKManager.missionControl()?.startTimeline()
2-3 23:52
Use props
kv886
Second Officer

South Africa
Offline

djiuser_73z93HwPTUeB Posted at 2-3 23:52
When performing DJIFlightController().startTakeoff(completion: ), I am getting the same error.

The only way I found to start the Drone and take of is with this 2 lines off code, but that could't be the best way to perform, this action.

Can you take off in DJI pilot?
2-4 01:52
Use props
djiuser_73z93HwPTUeB
lvl.1

Austria
Offline

No, the app to not recognise the P4 RTK and on the website they are also saying, that with iOS it is not possible to use this app with the P4 RTK.
2-4 23:22
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules