Human-in-the-Loop Control Framework for Robot-Mediated Error Augmentation Training Based on Muscle Synergy Assessment