Class handling derived measurements from Android dataset.
Inherits from NavData().
Parameters:
input_path (string or path-like) – Path to measurement csv file
remove_timing_outliers (bool) – Flag for whether to remove measures that are too close or
too far away in time. Code from the competition hosts used
to implement changes. See note.
Converts from gnss_lib_py receiver state to Kaggle submission.
Parameters:
state_estimate (gnss_lib_py.navdata.navdata.NavData) – Estimated receiver position in latitude and longitude as an
instance of the NavData class with the following
rows: gps_millis, lat_rx*_deg, lon_rx*_deg.
trip_id (string) – Value for the tripId column in kaggle submission which is a
fusion of the data and phone type.
Returns:
output – NavData structure ready for Kaggle submission.
Additional *args arguments are passed into the solver
function.
Parameters:
folder_path (string or path-like) – Path to folder containing all traces (e.g. full path to “train”
or “test” directories.
solver (function) – State estimate solver that takes an instance of
AndroidDerived2022 and outputs a state_estimate NavData object.
Additional *args arguments are passed into this solver
function.
verbose (bool) –
If verbose, will print each trace trajectory name and phone name
pair when it is solving the state estimate for that pair.
Returns:
solution – Full solution submission across all traces. Can then be saved
using submission.to_csv().