Skip to content
Snippets Groups Projects
Commit 1b38b5d0 authored by Stefan Hendricks's avatar Stefan Hendricks :office:
Browse files

Save basestation distance error for grid solution

parent 516518d1
No related branches found
No related tags found
No related merge requests found
......@@ -948,6 +948,8 @@ class FloeNaviGridSolution(object):
self.origin_latitude = None
self.origin_uncertainty_m = None
self.axes_heading = None
self.bs_measured_distance = None
self.bs_measured_distance_offset = None
# Compute origin and heading
self._compute()
......@@ -985,6 +987,10 @@ class FloeNaviGridSolution(object):
msg = "High discrepancy between observed and specified base station distance: %.1f m"
logger.warning(msg % average_distance_deviation)
# Save as property
self.bs_measured_distance = bs_true_distance
self.bs_measured_distance_offset = bs_true_distance - bs_grid_distance
# Compute the geographical azimuth between the two base stations
self.azimuth_stations_geo = self.angle_between_points(self.bs1.geo.xc, self.bs1.geo.yc,
self.bs2.geo.xc, self.bs2.geo.yc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment