The participants used a self-trigger mechanism , with an accelerometer as a motion detector , for generating an electric stimulation pattern that was synchronized with the bilateral upper limb activities during the training .
