Assessment Configuration
Parameters specific to assessment modes (TUG test, gait speed, balance tests, etc.). Applies to: Assessments only. For complete assessment data structures, see Data Points.
| Parameter | Type | Default | Applies to | What it does internally |
| tugMinRequiredSpace | number | 3.2 | TUG + Gait Speed assessments | Required walk distance in meters (must be > 0). Drives the space-validation step, the walk target position, and the reported speeds: TUG assumes 2 × the distance (out and back), Gait Speed assumes 1 ×, so averageSpeedMs_tug = (2 × distance) / time and averageGaitSpeed = distance / time |
| isHorizontalMode | boolean | false | TUG + Gait Speed assessments, mobile/tablet only | Only an explicit true (or string "true") enables it. Runs the walking tests in landscape, widening the camera's field of view so the test fits a much smaller space. Users get "Rotate your device" prompts; your WebView/activity must allow landscape orientation. Ignored on desktop. Also accepted as a URL query param. The flag is reset on every launch — it never carries over from a previous session |
Model accuracy note: assessments use the same auto-selected MediaPipe model as everything else (light/full by device speed). There is no automatic switch to the "heavy" model for balance assessments — pass mediapipeModel: "heavy" explicitly if you need maximum landmark accuracy (Camera & Pose Detection).
Assessment Configuration
Swift example:
1// Via customParams for TUG assessment
2kinestex.createAssessmentView(
3 exercise: "tugtest", // direct
4 customParams: [
5 "tugMinRequiredSpace": 3
6 ]
7)