Please select Into the mobile phone version | Continue to access the computer ver.
Close
You need to log in before you can reply       Login | Register now

[Android] 30m altitude limit

Author: andrey.trofunen 2017-8-14 15:27
6 132
Crash logs : App doesn't crash
Android Devices: Readmi Note 3 or Samsung J7
Android Studio: v2.2
Android Version: 6.0
DJI SDK Version: 4.0.1
DJI Product: Phantom 4 Professional
Flight Controller Firmware: 01.04.06.02

We have a problem with WayPointMission - it execute only if points altitude of mission less 30m. If altitude more than 30m, for example:
point 0 - Latitude/Longitude/Altitude 1.560674,110.330029,3.000000
point 1 - Latitude/Longitude/Altitude 1.560674,110.330029,10.000000
point 2 - Latitude/Longitude/Altitude 1.560674,110.330029,20.000000
point 4 - Latitude/Longitude/Altitude 1.560674,110.330029,39.000000 <-- more 30m


then mission cant start and return error message "The altitude is too high".
We use setMaxFlightHeight(120.0f, ..) function - value successfully setting but has no effects to issue.


Thanks in advance!

Reply
Replies
requestdirect0
I'm guessing you missed the note that DJI sent to all developers back in June. From the 1st of July 2017, you need to be using SDK 4.1 or higher, otherwise your drone will be limited to 30m altitude and have various other limitations applied.

I think that's what you are seeing here. Update your SDK to 4.1+ and it should work.
2017-8-15 12:19
ydding
requestdirect0 Posted at 2017-8-15 12:19
I'm guessing you missed the note that DJI sent to all developers back in June. From the 1st of July  ...

How do I know which SDK version I'm using? And how to update?
2017-8-15 17:21
requestdirect0
ydding Posted at 2017-8-15 17:21
How do I know which SDK version I'm using? And how to update?

When you download the SDK the number is on the link you click on.

If someone else has downloaded it and you are using a pre setup dev environment, the function DJISDKManager.getInstance().getSDKVersion() gets the SDK numbers as a string. This is for Android, I assume there is a similar function in the iOS version of the SDK.

I'm assuming if you have go this far you can see the link called downloads at the top of the page? Click on Mobile SDK and then there are links to download the SDK's for iOS and Android. The latest Android one is v4.2.1
2017-8-16 07:58
ydding
requestdirect0 Posted at 2017-8-16 07:58
When you download the SDK the number is on the link you click on.

If someone else has downloaded ...

Thank you. I replace the sdk with the newest version. But I find that in simulator, 30M limit is still exist. What's wrong?
2017-8-16 15:50
tonycph
ydding Posted at 2017-8-16 15:50
Thank you. I replace the sdk with the newest version. But I find that in simulator, 30M limit is s ...

I think you have to login to dji account.
I also asked a similar question in iOS. Here is what they reply.
For the new firmware,  we have the App Activation.  If we don't have a login process, we would do some restrictions on that. The corresponding tutorial is as follows.
https://developer.dji.com/mobile ... tionAndBinding.html
2017-8-17 09:08
requestdirect0
tonycph Posted at 2017-8-17 09:08
I think you have to login to dji account.
I also asked a similar question in iOS. Here is what the ...

If you are in China you will need to log in as per the link provided by tonycph.

I am not located in China and don't have any customers there so have not had to use that procedure for registration.
2017-8-17 11:25
You need to log in before you can reply Login | Register now

Quick Reply Back to top Back to list
Quick Reply Back to top Back to list