Assessment Configuration
Parameters for the assessments (TUG, gait speed, balance tests and more). Applies to: Assessments only. The assessment itself is chosen with exercise (Challenge Mode, ids in AI Experiences). For result data, see Data Points.
| Parameter | Type | Default | Applies to | What it does internally |
| tugMinRequiredSpace | number | 3.2 | TUG and Gait Speed | Required walk distance in meters (above 0). Drives the space check, the walk target and the reported speeds: TUG assumes 2 × the distance (out and back), Gait Speed 1 ×, so averageSpeedMs_tug = (2 × distance) / time and averageGaitSpeed = distance / time |
| isHorizontalMode | boolean | false | TUG and Gait Speed, mobile and tablet only | Only true (or "true") turns it on. 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, so your WebView or activity must allow landscape. Ignored on desktop. Reset on every launch |
Model accuracy note: assessments use the same automatically picked MediaPipe model as everything else (light or full by device speed). There is no automatic switch to the "heavy" model for balance assessments: pass mediapipeModel: "heavy" if you need maximum landmark accuracy (Camera & Pose Detection).
Assessment Configuration
Swift example:
1kinestex.createExperienceView(
2 experience: "assessment",
3 exercise: "tug",
4 user: nil,
5 style: nil,
6 isLoading: $isLoading,
7 customParams: [
8 "tugMinRequiredSpace": 3,
9 "isHorizontalMode": true
10 ],
11 onMessageReceived: { message in /* ... */ }
12)