Robot-aided assessment of lower extremity functions