Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Observations output below CN0 threshold #408

Merged
merged 1 commit into from
May 27, 2015

Conversation

fnoble
Copy link
Contributor

@fnoble fnoble commented May 21, 2015

Why: We have observed observations being generated with CN0 values below the tracking threshold specified in the firmware. These observations also frequently contain cycle slips (as may be expected given the low SNR). It is hypothesized that these observations are one of the main causes of fixed -> float transitions.

How: Right now we don't directly test the SNR when checking if we should filter out an observation, we only check the hysteresis counter. I think that what we are seeing is somehow the manage_track() thread is not getting called in time to update and hence we are outputting bad measurements. The easiest fix is to just directly check the SNR each time in addition to looking at the hysteresis counter.

Testing: HITL test has been created to check for this effect, see TrackingTest_observations_obs_cn0_below_thres and TrackingTest_observations_obs_cn0_min.

Hopefully helps with #81.

@swiftnav-jenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://zazu.ci.swiftnav.com/job/piksi_firmware_Pull_Requests/324/
Test PASSed.

@fnoble fnoble self-assigned this May 22, 2015
@fnoble
Copy link
Contributor Author

fnoble commented May 22, 2015

HITL indicates a large (but not total) drop in fixed->float transitions.

I'm happy to put this up for review now.

@gsmcmullin @cbeighley @imh @mookerji

@imh
Copy link
Contributor

imh commented May 27, 2015

lgtm

cbeighley added a commit that referenced this pull request May 27, 2015
Observations output below CN0 threshold
@cbeighley cbeighley merged commit 4d09355 into swift-nav:master May 27, 2015
@fnoble fnoble removed the 5 - Done label Jun 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants