elevenlabs stuff

This commit is contained in:
Yahya Kousa
2025-10-19 00:21:43 -05:00
parent 3c961efaff
commit 710b4bad57
6 changed files with 128 additions and 1 deletions

2
scripts/fetch_race_data.py Normal file → Executable file
View File

@@ -175,7 +175,7 @@ def prepare_telemetry_stream(telemetry: pd.DataFrame, sample_rate_hz: float = 10
# Resample to target rate if needed
telemetry = telemetry.copy()
telemetry['Time'] = pd.to_timedelta(telemetry['Time'])
telemetry = telemetry.sort_values('Time')
telemetry = telemetry.sort_values(['LapNumber', 'Time'])
# Convert to milliseconds for easier time tracking
telemetry['TimeMs'] = (telemetry['Time'].dt.total_seconds() * 1000).astype(int)