dji-sdk / Mobile-SDK-Android

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

Get radar from BaseProduct is null #1278

Closed huongta157 closed 6 months ago

huongta157 commented 7 months ago

Screenshot 2024-04-01 at 15 14 29 I used to update radar obstacle avoidance status, but radar variable returned null. Please help me check it

dji-dev commented 7 months ago

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

Could you provide the model of the drone you are using and confirm if it is equipped with a radar? Would you be able to take a photo for us?

°°°

huongta157 commented 7 months ago

Model drone is: DJI Air 2S So, Is there any function to check Rardar is supported or not?

dji-dev commented 7 months ago

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

If you cannot get the radar instance, it means that the aircraft's current state does not support the Radar. The radar usually refers to the millimeter-wave radar installed on the M300 RTK. If you need to obtain obstacle data detected by the sensor, you can use the interface provided in this article to retrieve it:https://sdk-forum.dji.net/hc/en-us/articles/4418315942169-How-to-get-the-visual-obstacle-avoidance-data

°°°