ObstacleAvoidance
public protocol ObstacleAvoidance : Peripheral
Obstacle avoidance peripheral interface.
Obstacle avoidance allows the drone to detect obstacles and autonomously change its trajectory to prevent collisions.
This peripheral can be retrieved by:
device.getPeripheral(Peripherals.obstacleAvoidance)
-
Obstacle avoidance mode setting.
Declaration
Swift
var mode: ObstacleAvoidanceSetting { get }
-
Current state of obstacle avoidance.
Declaration
Swift
var state: ObstacleAvoidanceState { get }