An Automatic Collision Avoidance System for Drone using a LiDAR sensor