Cranes with intelligent functions