As you could read here, the DJI Phantom 4 drone will offer, among others, an anti-collision system. It means that if the drone identifies an obstacle ahead, it stops and waits for a command.

Many of you have been waiting to see the system work and here’s the answer.

[source]