Virtual planning for autonomous inspection of electromechanical products