Obstacle Avoidance change not working for Horizontal direction
CompletedHello DJI Developer Support!
Drone used: Mavic 3T
SDK version: v5.4.0
Enabling or disabling obstacle avoidance via
PerceptionManager.setObstacleAvoidanceEnabled(enabled, direction, callback)
is not working for direction PerceptionDirection.HORIZONTAL
.Error in the callback contains the following:
Error code: OPERATION_NOT_SUPPORT type: PERCEPTION description: This operation is not supported under the current obstacle avoidance type. To operate the obstacle avoidance switch, try switching to another obstacle avoidance type. hint: Operation is not support
Obstacle Avoidance type is set to
ObstacleAvoidanceType.BRAKE. For directions
PerceptionDirection.UPWARD
and PerceptionDirection.DOWNWARD
it works as expected, without any errors.Please sign in to leave a comment.
Comments
2 comments