dji-sdk / Mobile-SDK-Android

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

Home location set manually #1316

Open yuvarajoo opened 1 month ago

yuvarajoo commented 1 month ago

KeyHomeLocation only accepts 2D position. How about the heading of the drine to set. Please advise. And setting this values does it affect the precision landing feature?

dji-dev commented 1 month ago

Agent comment from yating.liao in Zendesk ticket #111634:

The home point does not include orientation. In what situations would you like to control the aircraft's orientation?

If the aircraft takes off and returns at the same point, it will automatically record the orientation and try to restore it as much as possible during landing. However, the effectiveness may decrease in dim lighting conditions or when the aircraft's positioning is poor.

°°°

yuvarajoo commented 1 month ago

We noticed the aircraft GPS drifting when idle for quite sometime on ground. When takeoff the GPS value still driff off from the take off place almost 1 meter apart. Thus we need to key in the 2D GPS and the heading so that when it returns we want it to home at fixed GPS positioning and heading. Plus, we need the precision landing as well when Return to Home. Questions below;

  1. How to key in RTH heading?
  2. Does the precision landing disabled automatically when KeyHomeLocation called?
  3. Does the precision landing disabled automatically when KeyHomeLocationUsingCurrentAircraftLocation called?
dji-dev commented 1 month ago

Agent comment from yating.liao in Zendesk ticket #111634:

1.There is currently no interface for setting the RTH heading. If you need the aircraft to land with a fixed heading, you can adjust the heading of the aircraft before landing.

  1. and 3. The precision landing will not be affected by resetting the return point.

    °°°