> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uplift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 5-0-5 Agility

> Biomechanical analysis of the 5-0-5 change-of-direction agility drill, including sprint, deceleration, 180° turn, and re-acceleration phases.

## Overview

The 5-0-5 agility drill is a standardized change-of-direction agility test used to assess an athlete's ability to accelerate, decelerate, plant, pivot 180°, and re-accelerate over a 5-meter course.
It is commonly used in athletic assessment, return-to-sport screening, and performance monitoring as it isolates the mechanical demands of rapid direction change.

## Instructions

1. Set up two lines or cones 5 meters apart on a flat surface.
2. Place cameras 45 deg to the same side from the running line pointed at the center. Use landscape mode and ensure cameras can see the full 5-meter distance (both cones).
3. Stand at the start line in an athletic ready position.
4. On go, sprint forward toward the turn line.
5. Plant one foot on or just past the turn line, pivot 180°, and sprint back through the start line.
6. Perform with both left and right foot as the plant foot across separate trials.
7. Perform at maximal effort for fastest time.

## Dimensions

Required inputs for processing:

* **None** — direction of movement is detected automatically from the pelvis trajectory

## Output Variables

### Generic Outputs

Every capture includes session metadata, standard joint angle/velocity time series, and 3D keypoint positions common to all movements. See [Generic Outputs](/biomechanics/activities/generic_outputs) for the full list.

### Events

| Metric            | Description                                                                           |
| ----------------- | ------------------------------------------------------------------------------------- |
| Start             | When the athlete initiates movement, detected as when pelvis velocity exceeds 0.2 m/s |
| Turn              | The instant of maximum pelvis displacement, corresponding to the 180° pivot           |
| End               | When the athlete returns to the start position                                        |
| Left Foot Strike  | All left foot contact frames between Start and End                                    |
| Right Foot Strike | All right foot contact frames between Start and End                                   |
| Left Foot Off     | All left foot off frames between Start and End                                        |
| Right Foot Off    | All right foot off frames between Start and End                                       |

### Phases

| Phase                 | Start | End  |
| --------------------- | ----- | ---- |
| Approach (First Half) | Start | Turn |
| Return (Second Half)  | Turn  | End  |

### General Metrics

| Metric           | Units   | Description                                                                 |
| ---------------- | ------- | --------------------------------------------------------------------------- |
| Direction        | string  | Auto-detected direction of first sprint ('right' or 'left')                 |
| Total Time       | seconds | Duration from Start to End                                                  |
| First Half Time  | seconds | Duration from Start to Turn (approach/deceleration)                         |
| Second Half Time | seconds | Duration from Turn to End (re-acceleration)                                 |
| Turn Time        | seconds | Time between last foot contact before and first foot contact after the Turn |

### Ground Contact Time Metrics

Ground contact time (GCT) is reported per step for up to 5 steps per leg per half. `_1_` refers to the approach (first half); `_2_` refers to the return (second half). Step index follows temporal order.

| Metric                          | Units   | Description                                    |
| ------------------------------- | ------- | ---------------------------------------------- |
| Left GCT — Approach, steps 1–5  | seconds | Left foot ground contact time during approach  |
| Right GCT — Approach, steps 1–5 | seconds | Right foot ground contact time during approach |
| Left GCT — Return, steps 1–5    | seconds | Left foot ground contact time during return    |
| Right GCT — Return, steps 1–5   | seconds | Right foot ground contact time during return   |

### Step Length Metrics

Step length (SL) is the distance traveled by the ankle joint center from foot strike to foot off for each step, up to 5 steps per leg per half.

| Metric                         | Units  | Description                       |
| ------------------------------ | ------ | --------------------------------- |
| Left SL — Approach, steps 1–5  | meters | Left step length during approach  |
| Right SL — Approach, steps 1–5 | meters | Right step length during approach |
| Left SL — Return, steps 1–5    | meters | Left step length during return    |
| Right SL — Return, steps 1–5   | meters | Right step length during return   |

### Pelvis Path Time Series

Pelvis position, velocity, and acceleration are returned as full time-series arrays, with the coordinate frame rotated to align the X axis with the direction of movement.

| Metric              | Units  | Description                                  |
| ------------------- | ------ | -------------------------------------------- |
| Pelvis Position X   | meters | Pelvis position along the sprint axis        |
| Pelvis Position Y   | meters | Pelvis vertical position                     |
| Pelvis Position Z   | meters | Pelvis position perpendicular to sprint axis |
| Pelvis Velocity     | m/s    | Pelvis velocity along the sprint axis        |
| Pelvis Acceleration | m/s²   | Pelvis acceleration along the sprint axis    |

## Notes

* Kinematic data typically captured at 120 Hz for agility drills
* Direction is detected automatically; separate trials should be performed for left and right plant foot
* Step indices are assigned in temporal order; not all 5 steps per leg may be populated depending on trial length and gait
* Turn time captures the period of foot contact at the change-of-direction pivot and may be sensitive to plant foot strategy
