Description
I've been thinking again about treating "code ambiguities" as state variables, just like goGPS does with "phase ambiguities".
Code-wise there are two cases: 1.sub-ms (snapshot) ambiguities and 2.sub-20ms (after bit synch) ambiguities (see, as usual, Van Diggelen).
In the first case, we solve the code ambiguities based on a priori within 150km max from the true position, depending on the clock error.
In the second case, the a priori position has to be 3,000km max away.
As in the "phase ambiguity" case, cycles slips can occur and we compensate (in the snapshot case) by keeping reconstructed pseudoranges within 150km from a chosen reference (or pivot I suppose) pseudorange.
Now I like the way goGPS treats phase ambiguities as state variable. It's really elegant.
But is it really useful? As far as I understand, those ambiguities are not supposed to change from epoch to epoch, a part from cycle slips. And they're not solved by the system, either, or are they?
I hope my question makes sense.
Here's my current development branch:
https://github.com/Sirtrack/goGPS/blob/snapshotGPS/src/main/java/org/gogpsproject/ReceiverPosition.java
Notice, I've also added a DTM option.
[Edit] Fixed limits for a priori location