Robust control of interaction with haptic interfaces