Selective compliance articulated robot arm