Text this: Adaptive hybrid impedance control for a 3DOF upper limb rehabilitation robot using hybrid automata