Simple adaptive control of a robot arm