Semi-Automatic Control of Crane for Obstacle Avoidance and Sway Control.