Text this: Design and control of a sit-to-stand assistive device based on analysis of kinematics and dynamics