AutelSDK / AndroidAdvanceSample

3 stars 3 forks source link

How do I get if an obstacle is detected? #31

Closed masayuki-kobayashi1 closed 8 months ago

masayuki-kobayashi1 commented 1 year ago

@AutelSDK The obstacle detection feature is great, but I don't know how to use the sdk. I want to inform the user by displaying on the screen whether the aircraft is detecting an obstacle or not. Which function should I use? Like Autel explorer, I want to display the direction and distance of obstacles, or simply whether there is an obstacle in the direction of flight.

スクリーンショット 2023-10-10 13 39 56

The getFront, getLeft, getRight, getBottom functions of class AvoidanceRadarInfo seem useful, but I don't know how to read the values.

masayuki-kobayashi1 commented 1 year ago

@AutelSDK I would be happy to get an answer.

masayuki-kobayashi1 commented 1 year ago

@AutelSDK I'm hoping to get some information from you.