A state-based, proportional myoelectric control method: online validation and comparison with the clinical state-of-the-art