You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/kev/PRBX/YRKCS-PRBX/Data Gathering/test.py", line 10, in<module>
telemetry_data = lap.get_telemetry()
^^^^^^^^^^^^^^^^^^^
File "/home/kev/PRBX/YRKCS-PRBX/.venv/lib/python3.12/site-packages/fastf1/core.py", line 3471, in get_telemetry
.add_driver_ahead() \
^^^^^^^^^^^^^^^^^^
File "/home/kev/PRBX/YRKCS-PRBX/.venv/lib/python3.12/site-packages/fastf1/core.py", line 911, in add_driver_ahead
self.calculate_driver_ahead(return_reference=True)
File "/home/kev/PRBX/YRKCS-PRBX/.venv/lib/python3.12/site-packages/fastf1/core.py", line 1133, in calculate_driver_ahead
index_ahead = np.argmin(delta_dst, axis=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kev/PRBX/YRKCS-PRBX/.venv/lib/python3.12/site-packages/numpy/_core/fromnumeric.py", line 1440, in argmin
return _wrapfunc(a, 'argmin', axis=axis, out=out, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kev/PRBX/YRKCS-PRBX/.venv/lib/python3.12/site-packages/numpy/_core/fromnumeric.py", line 57, in _wrapfunc
return bound(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^
ValueError: attempt to get argmin of an empty sequence
The text was updated successfully, but these errors were encountered:
Describe the issue:
I am iterating through some laps and trying to combine telemetry data by adding the last record from the returned telemetry data to the dataset.
However, for some records, I get the following issue:
Reproduce the code example:
Error message:
The text was updated successfully, but these errors were encountered: