The model coded in the bird's brain for obstacle avoidance and hunting has application to swarming flying machines. Flying through a randomly variable width hole or sequenced as a tunnel is like the removalist's piano problem in AI research.
One of the most challenging aspects of landing on a tree is that there are tons of branches all around you that you need to avoid during takeoff and landing.