robotology / assistive-rehab

Assistive and Rehabilitative Robotics
https://robotology.github.io/assistive-rehab/doc/mkdocs/site
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

Improve feedback #284

Closed vvasco closed 4 years ago

vvasco commented 4 years ago

This PR improves the feedback provided to the user, assigning a score based on the following considerations:

Note: these values are adopted by physiotherapists to evaluate the risk for falling of the subject.

For computing the score, we rely on the walking speed estimated while performing the test, instead of the time. This allows us to produce a low score if the person stops moving or if moving slowly. In any case, if the line is not crossed, the test is considered failed.

The PR also introduces the getState service, which provides information about the result of the motion analysis, as:

vvasco commented 4 years ago

This situation is handled in 2601d75. When the user stops walking to ask questions, a new score is not assigned (the last computed score is considered to provide a feedback).