In [1]:
"""TODO
- determine bounds on distance error (bicycle to obstacle) corresponding to time sync error
"""
Out[1]:
In [2]:
import sys
import matplotlib.pyplot as plt
sys.path.append('..')
from antlia.record import load_records
from antlia import util
%load_ext autoreload
%autoreload 2
In [3]:
def set_title(ax, title):
try:
mpld3
except NameError:
ax.figure.suptitle(title)
else:
ax.set_title(title)
In [4]:
DEFAULT_FIGSIZE = (14, 7)
In [5]:
records = load_records(sync=False)
In [6]:
rid = 3
r = records[rid]
for tid in range(15):
ax = r.plot_trial_range_calculation(tid, figsize=DEFAULT_FIGSIZE)
set_title(ax, 'rider {} trial {}'.format(rid, tid))
plt.show()