Hybrid control for Smart Cranes