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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- time-series-forecasting
|
| 5 |
+
- video-classification
|
| 6 |
+
tags:
|
| 7 |
+
- autonomous-driving
|
| 8 |
+
- ADAS
|
| 9 |
+
- takeover
|
| 10 |
+
- driver-behavior
|
| 11 |
+
- openpilot
|
| 12 |
+
- time-series
|
| 13 |
+
- multimodal
|
| 14 |
+
- CAN-bus
|
| 15 |
+
- vehicle-dynamics
|
| 16 |
+
size_categories:
|
| 17 |
+
- 10K<n<100K
|
| 18 |
+
language:
|
| 19 |
+
- en
|
| 20 |
+
pretty_name: "HADAS-TakeOver: Human-ADAS Driving Takeover Dataset"
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# HADAS-TakeOver: Human-ADAS Driving Takeover Dataset
|
| 24 |
+
|
| 25 |
+
## Dataset Summary
|
| 26 |
+
|
| 27 |
+
**HADAS-TakeOver** is a large-scale, multimodal dataset of **15,705 real-world ADAS takeover events** captured from **327 drivers** across **163 vehicle models** from **23 manufacturers**. Each takeover event is a 20-second clip centered on the moment a driver disengages an Advanced Driver Assistance System (ADAS), providing synchronized video, vehicle dynamics, controller state, and sensor data.
|
| 28 |
+
|
| 29 |
+
| Statistic | Value |
|
| 30 |
+
|---|---|
|
| 31 |
+
| Total takeover clips | 15,705 |
|
| 32 |
+
| Unique drivers | 327 |
|
| 33 |
+
| Unique driving routes | 2,312 |
|
| 34 |
+
| Vehicle models | 163 |
|
| 35 |
+
| Manufacturers | 23 |
|
| 36 |
+
| Clip duration | 20 seconds (±10 s around takeover) |
|
| 37 |
+
| Video resolution | Front-facing camera, 20 fps |
|
| 38 |
+
| CAN/sensor signals | 10–100 Hz |
|
| 39 |
+
| Total size | ~33 GB |
|
| 40 |
+
|
| 41 |
+
## Motivation
|
| 42 |
+
|
| 43 |
+
Understanding how and why drivers take over from automated driving systems is critical for improving ADAS safety, designing better human-machine interfaces, and developing predictive takeover models. Despite growing research interest, large-scale naturalistic takeover datasets remain scarce. HADAS-TakeOver addresses this gap by providing:
|
| 44 |
+
|
| 45 |
+
- **Scale**: Over 15K events across hundreds of drivers and vehicles
|
| 46 |
+
- **Diversity**: 163 vehicle models spanning sedans, SUVs, trucks, and EVs from 23 manufacturers
|
| 47 |
+
- **Richness**: Synchronized video + 9 time-series signal files per event
|
| 48 |
+
- **Naturalistic**: Real-world driving (not simulator), capturing genuine driver behavior
|
| 49 |
+
|
| 50 |
+
### Use Cases
|
| 51 |
+
|
| 52 |
+
- Takeover prediction and early warning systems
|
| 53 |
+
- Driver behavior modeling during ADAS transitions
|
| 54 |
+
- Analysis of ADAS disengagement patterns across vehicle types
|
| 55 |
+
- Human factors research in automated driving
|
| 56 |
+
- Multimodal time-series classification and forecasting
|
| 57 |
+
|
| 58 |
+
## Dataset Structure
|
| 59 |
+
|
| 60 |
+
```
|
| 61 |
+
HADAS-TakeOver/
|
| 62 |
+
<CAR_MODEL>/ # e.g., TOYOTA_PRIUS, TESLA_AP3_MODEL_3
|
| 63 |
+
<driver_XXX>/ # anonymized driver ID
|
| 64 |
+
<route_XXX>/ # anonymized route ID
|
| 65 |
+
<clip_id>/ # integer (0-indexed per route)
|
| 66 |
+
meta.json # clip metadata
|
| 67 |
+
takeover.mp4 # 20-second front-camera video
|
| 68 |
+
carState.csv # vehicle state signals
|
| 69 |
+
controlsState.csv # ADAS controller state
|
| 70 |
+
carControl.csv # control commands
|
| 71 |
+
carOutput.csv # actuator outputs
|
| 72 |
+
drivingModelData.csv # driving model predictions
|
| 73 |
+
radarState.csv # radar / lead vehicle data
|
| 74 |
+
accelerometer.csv # IMU accelerometer data
|
| 75 |
+
longitudinalPlan.csv # longitudinal planner outputs
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
Each clip contains **10 files**: 1 video, 1 metadata JSON, and 8 CSV time-series files.
|
| 79 |
+
|
| 80 |
+
## Takeover Event Definition
|
| 81 |
+
|
| 82 |
+
A **takeover event** is defined as an ADAS ON → OFF transition where:
|
| 83 |
+
|
| 84 |
+
- **ADAS engaged** = `controlsState.enabled` OR `carState.cruiseState.enabled`
|
| 85 |
+
- **Minimum ON duration**: 2 seconds before disengagement
|
| 86 |
+
- **Minimum OFF duration**: 2 seconds after disengagement
|
| 87 |
+
- **Gap merging**: Transient gaps < 0.5 s are merged (to filter sensor noise)
|
| 88 |
+
- **Clip window**: ±10 seconds centered on the ON→OFF transition (20 s total)
|
| 89 |
+
|
| 90 |
+
The first ~10 seconds of each clip show ADAS-engaged driving; the remaining ~10 seconds show the driver resuming manual control.
|
| 91 |
+
|
| 92 |
+
## Data Fields
|
| 93 |
+
|
| 94 |
+
### meta.json
|
| 95 |
+
|
| 96 |
+
| Field | Type | Description |
|
| 97 |
+
|---|---|---|
|
| 98 |
+
| `car_model` | string | Vehicle model identifier (e.g., `TOYOTA_PRIUS`) |
|
| 99 |
+
| `dongle_id` | string | Anonymized driver ID (`driver_XXX`) |
|
| 100 |
+
| `route_id` | string | Anonymized route ID (`route_XXX`) |
|
| 101 |
+
| `log_kind` | string | Log source: `qlog` (10 Hz) or `rlog` (100 Hz) |
|
| 102 |
+
| `log_hz` | int | Sampling rate of CAN signals (10 or 100) |
|
| 103 |
+
| `vid_kind` | string | Video source: `qcamera` or `fcamera` |
|
| 104 |
+
| `camera_fps` | int | Video frame rate (20 fps) |
|
| 105 |
+
| `clip_id` | int | Clip index within the route (0-indexed) |
|
| 106 |
+
| `event_mono` | int | Monotonic timestamp of the takeover event (nanoseconds) |
|
| 107 |
+
| `video_time_s` | float | Time of takeover within the full route video (seconds) |
|
| 108 |
+
| `clip_start_s` | float | Start time of the 20-second clip within the route (seconds) |
|
| 109 |
+
| `clip_dur_s` | float | Clip duration (seconds, typically 20.0) |
|
| 110 |
+
| `seg_nums_used` | list[int] | Openpilot segment numbers covering this route |
|
| 111 |
+
|
| 112 |
+
### carState.csv — Vehicle State
|
| 113 |
+
|
| 114 |
+
Driver inputs and ego vehicle dynamics.
|
| 115 |
+
|
| 116 |
+
| Column | Description |
|
| 117 |
+
|---|---|
|
| 118 |
+
| `vEgo` | Ego vehicle speed (m/s) |
|
| 119 |
+
| `aEgo` | Ego vehicle acceleration (m/s²) |
|
| 120 |
+
| `steeringAngleDeg` | Steering wheel angle (degrees) |
|
| 121 |
+
| `steeringTorque` | Steering torque applied by driver |
|
| 122 |
+
| `steeringPressed` | Whether driver is actively steering (boolean) |
|
| 123 |
+
| `gasPressed` | Whether gas pedal is pressed (boolean) |
|
| 124 |
+
| `brakePressed` | Whether brake pedal is pressed (boolean) |
|
| 125 |
+
| `cruiseState.enabled` | Whether cruise control / ADAS is engaged (boolean) |
|
| 126 |
+
|
| 127 |
+
### controlsState.csv — ADAS Controller State
|
| 128 |
+
|
| 129 |
+
| Column | Description |
|
| 130 |
+
|---|---|
|
| 131 |
+
| `enabled` | Whether openpilot ADAS is enabled (boolean) |
|
| 132 |
+
| `active` | Whether ADAS is actively controlling the vehicle |
|
| 133 |
+
| `curvature` | Current path curvature (1/m) |
|
| 134 |
+
| `desiredCurvature` | Target path curvature from planner |
|
| 135 |
+
| `vCruise` | Set cruise speed (m/s) |
|
| 136 |
+
| `longControlState` | Longitudinal control state (enum) |
|
| 137 |
+
| `alertText1` | Primary alert text displayed to driver |
|
| 138 |
+
| `alertText2` | Secondary alert text |
|
| 139 |
+
|
| 140 |
+
### carControl.csv — Control Commands
|
| 141 |
+
|
| 142 |
+
| Column | Description |
|
| 143 |
+
|---|---|
|
| 144 |
+
| `latActive` | Whether lateral control is active |
|
| 145 |
+
| `longActive` | Whether longitudinal control is active |
|
| 146 |
+
| `actuators.accel` | Commanded acceleration (m/s²) |
|
| 147 |
+
| `actuators.torque` | Commanded steering torque |
|
| 148 |
+
| `actuators.curvature` | Commanded path curvature |
|
| 149 |
+
|
| 150 |
+
### carOutput.csv — Actuator Outputs
|
| 151 |
+
|
| 152 |
+
| Column | Description |
|
| 153 |
+
|---|---|
|
| 154 |
+
| `actuatorsOutput.accel` | Actual acceleration output |
|
| 155 |
+
| `actuatorsOutput.brake` | Brake actuator output |
|
| 156 |
+
| `actuatorsOutput.gas` | Gas actuator output |
|
| 157 |
+
| `actuatorsOutput.steer` | Steering actuator output |
|
| 158 |
+
| `actuatorsOutput.steerOutputCan` | Raw CAN steering output |
|
| 159 |
+
| `actuatorsOutput.steeringAngleDeg` | Output steering angle (degrees) |
|
| 160 |
+
|
| 161 |
+
### drivingModelData.csv — Driving Model Predictions
|
| 162 |
+
|
| 163 |
+
| Column | Description |
|
| 164 |
+
|---|---|
|
| 165 |
+
| `action.desiredCurvature` | Model-predicted desired curvature |
|
| 166 |
+
| `action.desiredAcceleration` | Model-predicted desired acceleration |
|
| 167 |
+
| `laneLineMeta.leftProb` | Probability of left lane line detection |
|
| 168 |
+
| `laneLineMeta.rightProb` | Probability of right lane line detection |
|
| 169 |
+
|
| 170 |
+
### radarState.csv — Lead Vehicle Detection
|
| 171 |
+
|
| 172 |
+
| Column | Description |
|
| 173 |
+
|---|---|
|
| 174 |
+
| `leadOne.dRel` | Distance to primary lead vehicle (m) |
|
| 175 |
+
| `leadOne.vRel` | Relative velocity of lead vehicle (m/s) |
|
| 176 |
+
| `leadOne.vLead` | Absolute velocity of lead vehicle (m/s) |
|
| 177 |
+
| `leadOne.aLeadK` | Estimated acceleration of lead vehicle (m/s²) |
|
| 178 |
+
| `leadTwo.*` | Same fields for secondary lead vehicle |
|
| 179 |
+
|
| 180 |
+
### accelerometer.csv — IMU Data
|
| 181 |
+
|
| 182 |
+
| Column | Description |
|
| 183 |
+
|---|---|
|
| 184 |
+
| `acceleration.v` | 3-axis acceleration vector (m/s²) |
|
| 185 |
+
| `timestamp` | Sensor timestamp |
|
| 186 |
+
|
| 187 |
+
### longitudinalPlan.csv — Planner Outputs
|
| 188 |
+
|
| 189 |
+
| Column | Description |
|
| 190 |
+
|---|---|
|
| 191 |
+
| `aTarget` | Target acceleration from planner (m/s²) |
|
| 192 |
+
| `hasLead` | Whether a lead vehicle is detected (boolean) |
|
| 193 |
+
| `fcw` | Forward collision warning active (boolean) |
|
| 194 |
+
| `speeds[]` | Planned speed profile |
|
| 195 |
+
| `accels[]` | Planned acceleration profile |
|
| 196 |
+
|
| 197 |
+
## Top Vehicle Models
|
| 198 |
+
|
| 199 |
+
| Vehicle Model | Clips | | Vehicle Model | Clips |
|
| 200 |
+
|---|---|---|---|---|
|
| 201 |
+
| RIVIAN R1 GEN1 | 2,127 | | CHEVROLET BOLT EUV 2022 | 244 |
|
| 202 |
+
| ACURA MDX 3G MMR | 1,863 | | TOYOTA RAV4 TSS2 2023 | 228 |
|
| 203 |
+
| FORD F-150 MK14 | 1,226 | | RAM HD 5TH GEN | 221 |
|
| 204 |
+
| CHEVROLET SILVERADO | 639 | | VOLKSWAGEN JETTA MK7 | 215 |
|
| 205 |
+
| TOYOTA PRIUS | 482 | | KIA EV6 | 209 |
|
| 206 |
+
| HONDA CIVIC | 470 | | VOLKSWAGEN GOLF MK7 | 192 |
|
| 207 |
+
| TESLA AP3 MODEL 3 | 432 | | KIA NIRO EV | 185 |
|
| 208 |
+
| FORD MAVERICK MK1 | 300 | | HYUNDAI IONIQ 6 | 177 |
|
| 209 |
+
| HYUNDAI IONIQ 5 | 266 | | VOLKSWAGEN ATLAS MK1 | 153 |
|
| 210 |
+
|
| 211 |
+
## Usage
|
| 212 |
+
|
| 213 |
+
### Loading a Single Clip
|
| 214 |
+
|
| 215 |
+
```python
|
| 216 |
+
import json
|
| 217 |
+
import pandas as pd
|
| 218 |
+
from huggingface_hub import hf_hub_download
|
| 219 |
+
|
| 220 |
+
repo_id = "HenryYHW/ADAS-TO"
|
| 221 |
+
clip_path = "TOYOTA_PRIUS/driver_001/route_001/0"
|
| 222 |
+
|
| 223 |
+
# Download metadata
|
| 224 |
+
meta_path = hf_hub_download(repo_id, f"{clip_path}/meta.json", repo_type="dataset")
|
| 225 |
+
with open(meta_path) as f:
|
| 226 |
+
meta = json.load(f)
|
| 227 |
+
print(meta)
|
| 228 |
+
|
| 229 |
+
# Load vehicle state signals
|
| 230 |
+
car_state_path = hf_hub_download(repo_id, f"{clip_path}/carState.csv", repo_type="dataset")
|
| 231 |
+
car_state = pd.read_csv(car_state_path)
|
| 232 |
+
print(car_state[["vEgo", "aEgo", "steeringAngleDeg", "brakePressed"]].describe())
|
| 233 |
+
|
| 234 |
+
# Load ADAS controller state
|
| 235 |
+
controls_path = hf_hub_download(repo_id, f"{clip_path}/controlsState.csv", repo_type="dataset")
|
| 236 |
+
controls = pd.read_csv(controls_path)
|
| 237 |
+
```
|
| 238 |
+
|
| 239 |
+
### Iterating Over All Clips
|
| 240 |
+
|
| 241 |
+
```python
|
| 242 |
+
from huggingface_hub import HfApi
|
| 243 |
+
|
| 244 |
+
api = HfApi()
|
| 245 |
+
files = api.list_repo_files("HenryYHW/ADAS-TO", repo_type="dataset")
|
| 246 |
+
meta_files = [f for f in files if f.endswith("meta.json")]
|
| 247 |
+
print(f"Total clips: {len(meta_files)}")
|
| 248 |
+
```
|
| 249 |
+
|
| 250 |
+
### Downloading the Full Dataset
|
| 251 |
+
|
| 252 |
+
```bash
|
| 253 |
+
# Using huggingface-cli
|
| 254 |
+
huggingface-cli download HenryYHW/ADAS-TO --repo-type dataset --local-dir ./HADAS-TakeOver
|
| 255 |
+
|
| 256 |
+
# Using git-lfs
|
| 257 |
+
git lfs install
|
| 258 |
+
git clone https://huggingface.co/datasets/HenryYHW/ADAS-TO
|
| 259 |
+
```
|
| 260 |
+
|
| 261 |
+
## Data Collection
|
| 262 |
+
|
| 263 |
+
This dataset was built from driving logs collected by the [comma.ai](https://comma.ai/) community using [openpilot](https://github.com/commaai/openpilot), an open-source ADAS platform. Logs were processed to detect ADAS disengagement events, extract synchronized video and CAN-bus signals, and package them into standardized clips.
|
| 264 |
+
|
| 265 |
+
**Privacy**: All driver and route identifiers have been anonymized. No personally identifiable information (PII) is included. Video data shows the forward road view only.
|
| 266 |
+
|
| 267 |
+
## Citation
|
| 268 |
+
|
| 269 |
+
If you use this dataset in your research, please cite:
|
| 270 |
+
|
| 271 |
+
```bibtex
|
| 272 |
+
@dataset{hadas_takeover_2025,
|
| 273 |
+
title={HADAS-TakeOver: A Large-Scale Naturalistic Dataset of Human-ADAS Driving Takeover Events},
|
| 274 |
+
author={Zhou, Haowei},
|
| 275 |
+
year={2025},
|
| 276 |
+
publisher={Hugging Face},
|
| 277 |
+
url={https://huggingface.co/datasets/HenryYHW/ADAS-TO}
|
| 278 |
+
}
|
| 279 |
+
```
|
| 280 |
+
|
| 281 |
+
## License
|
| 282 |
+
|
| 283 |
+
This dataset is released under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). It is intended for academic and non-commercial research purposes.
|