Plot Skyplot

[1]:
import gnss_lib_py as glp

# load Android Google Challenge data
glp.make_dir("../data")
!wget https://raw.githubusercontent.com/Stanford-NavLab/gnss_lib_py/main/data/unit_test/google_decimeter_2021/Pixel4XL_derived.csv --quiet -nc -O "../data/Pixel4XL_derived.csv"
derived_data = glp.AndroidDerived2021("../data/Pixel4XL_derived.csv", remove_timing_outliers=False)

Note: In this case, the example data is filtered to be seconds apart, in the regular setting, such measurements would be removed. To prevent this from happening, we set remove_timing_outliers to False here. For the full dataset, set this flag to True

The plot_skyplot function plots the satellite skyplot using the satellite positions and estimate receiver position.

[2]:
state_estimate = glp.solve_wls(derived_data)

fig = glp.plot_skyplot(derived_data, state_estimate)
../../_images/tutorials_visualizations_tutorials_plot_skyplot_notebook_4_0.png