Simplified programming of robots