Obstacle avoidance and target attainment of planar quadrotors via control barrier function | Synapse