An agricultural implement having ground engaging components and inboard and outboard frame members are safely unfolded by using a radar or laser sensor to detect the presence of an obstacle in the unfolded position. A warning signal or disabling the unfolding process occurs when an obstacle is detected.