dji-sdk / Mobile-SDK-Android

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

[Support] Advanced Pilot Assistance System (APAS) #1274

Closed huongta157 closed 7 months ago

huongta157 commented 7 months ago

How to implement function: Advanced Pilot Assistance System (APAS)?

dji-dev commented 7 months ago

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

The FlightController.setMaxFlightHeight function can be used to define the maximum flight height of the aircraft. Typically, the maximum height for the aircraft is set at 500 meters.

°°°

huongta157 commented 7 months ago

How about the maximum flight distance (Horizontally)? Any function to support it?

dji-dev commented 7 months ago

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

You can also set the maximum horizontal distance. However, the horizontal distance limit feature can be turned off. After turning it off, the aircraft will move horizontally up to the maximum transmission distance between the remote controller and the aircraft in the current environment. https://developer.dji.com/api-reference-v5/android-api/Components/IKeyManager/Key_FlightController_FlightControllerKey.html?search=keydistancelimitenabled&i=0&#key_flightcontroller_distancelimitenabled_inline https://developer.dji.com/api-reference-v5/android-api/Components/IKeyManager/Key_FlightController_FlightControllerKey.html?search=keydistancelimitenabled&i=0&#key_flightcontroller_distancelimitenabled_inline https://developer.dji.com/api-reference-v5/android-api/Components/IKeyManager/Key_FlightController_FlightControllerKey.html?search=keydistancelimitenabled&i=0&#key_flightcontroller_distancelimit_inline

°°°

dji-lyt commented 7 months ago

Here is the corresponding interface for MSDK V4:https://developer.dji.com/api-reference/android-api/Components/FlightController/DJIFlightController.html#djiflightlimitation_setmaxflightheight_inline image