Skip to content

Commit

Permalink
fixes at field test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Tridgell committed Jan 3, 2014
1 parent 931e539 commit cb67b51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions positionEstimate.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ def positionLeastSquares(satinfo):
if satinfo.reference_position is not None:
# Estimate rx clk error again if we have position
# we still do the above as we use lastpos etc for statistic generation
clk_err = clockLeastSquares_ranges(satinfo.eph,
clk_err = clockLeastSquares_ranges(satinfo.ephemeris,
satinfo.prCorrected,
satinfo.raw.itow,
ref_pos,
satinfo.raw.time_of_week,
(satinfo.reference_position.X, satinfo.reference_position.Y, satinfo.reference_position.Z),
0,
weights)

Expand Down

0 comments on commit cb67b51

Please sign in to comment.