dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
972 stars 579 forks source link

Question on Precision Landing #1245

Open kylenietfeld opened 10 months ago

kylenietfeld commented 10 months ago

Hello, I am using the M2P for a precision landing application. I want to set the home point and take visual data for the drone to use Precision Landing on the Return-to-Home function. I want to test the repeatabillity of this function, so I want to takeoff, move 20m away, land using PL, and repeat. However, I only want to record the home point on the initial takeoff so the error does not compound after each landing. Can someone confirm if I need to use startPrecisionTakeoff the first take off and then startTakeoff for each of the next takeoffs? If not, how else can I ensure the home point is only recorded once and not changed with future takeoffs?

Also, are there any other functions I need to use in order to use PL? So far, I have found these: -setPrecisionLandingEnabled(true, null) -setVisionAssistedPositioningEnabled(true,null)

Thanks for the help!

dji-dev commented 10 months ago

Agent comment from Hummels Lei in Zendesk ticket #90436:

We apologize for any inconvenience caused. To ensure accurate landing, it is necessary to invoke the tartPrecisionTakeoff method each time you take off. Unfortunately, the desired functionality cannot be fulfilled by our precise landing feature. Alternatively, you may consider developing a precision landing feature on your own.

°°°