Hi all,
I am using the le_gnss API on a WP7702 and I have noticed that occasionally the satellite signal jumps around a little bit.
The le_gnss_GetLocation() will return:
-32.095882415771484 115.96153259277344
-32.095794677734375 115.96141815185547
-32.095703125 115.96129608154297
-32.09560775756836 115.96116638183594
-32.101348876953125 115.96318054199219
-32.10155487060547 115.96296691894531
-32.09540939331055 115.9609146118164
-32.094993591308594 115.96037292480469
-32.09478759765625 115.9601058959961
-32.09468460083008 115.95996856689453
-32.094581604003906 115.9598388671875
In my code, before printing the position I check:
// Get position state
result = le_gnss_GetPositionState(positionSampleRef, &state);
if(state == LE_GNSS_STATE_FIX_NO_POS)
{
le_gnss_ReleaseSampleRef(positionSampleRef);
return;
}
I am also logging other parameters:
hAccuracy: 3,
altitude: 21,
vAccuracy: 30,
hSpeed: 1500,
satsInViewCount: 25,
satsTrackingCount: 23,
satsUsedCount: 16
which are pretty much the same for every sample.
At first sight I would say this is to do with the positioning giving (occasionally) the wrong value, so I was wondering if anyone had experience with this and how to fix it?
Should I filter out samples, or this could be related with antenna I am using?
Or I should not be using the gnss API but something else instead?
For instance I see there are two separate API, one is GNSS and one is Positioning, I was wondering if the positioning is already performing some sort of filtering on the acquired samples, so I don`t need to mess around with them.
Appreciate any feedback on this.