In line 219: if(Nsvs < dim) return -3; Shouldn't it be if (Nsvs < 4 ) return -3;

For a positionFix to be valid, minimum 4 satellites should be available.

With dim being used where the preceding line is const int dim(3 + mySyss.size());

GPSTK toolkit would not be able to return any fixes even when more than 4 satellites are available.

-- MelvinAng - 22 Aug 2012


ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

No such template def TMPL:DEF{PROMPT:supportquery}

Topic revision: r1 - 22 Aug 2012, MelvinAng

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback