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:
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)
I am also logging other parameters:
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.