dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
577 stars 256 forks source link

Matrice 300 RTK - How to enable/disable Horizontal Vision System in programmatically? #440

Open seungbeom-son opened 3 years ago

seungbeom-son commented 3 years ago

In DJI Pilot, there is a switch which can enable/disable 'Horizontal Vision System' (Menu -> Second Tab(looks like DUXVisionWidget) -> Horizontal -> Horizontal Vision System)

I want to do the same thing in programmatically.

Which api should I need to use?

IMG_20210216_170916

Matheus193dn commented 3 years ago

@seungbeom-son Hi, can you try with these functions of DJIFlightController? image

dji-dev commented 3 years ago

Agent comment from William Wong in Zendesk ticket #43954:

Dear Client Thank you for contacting DJI.

Try this one setHorizontalRadarObstacleAvoidanceEnabled:withCompletion. Link:https://developer.dji.com/api-reference/ios-api/Components/Radar/DJIRadar.html?search=setho&i=3&#djiradar_sethorizontalradarobstacleavoidanceenabled_inline

Hopefully our solution can help you. Kindly Regards, DJI Developer Support