Adaptive control for teleoperation