Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit dfb17e5

Browse files
Merge pull request #13 from swift-nav/pr-723-copy
Update cn0 parameters (i78)
2 parents de8edc3 + e81ef4c commit dfb17e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/track/track_gps_l1ca.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#define LD_PARAMS_EXTRAOPT "0.02, 0.8, 150, 50"
5050
#define LD_PARAMS_DISABLE "0.02, 1e-6, 1, 1"
5151

52-
#define CN0_EST_LPF_CUTOFF 5
52+
#define CN0_EST_LPF_CUTOFF 0.1
5353

5454
#define INTEG_PERIOD_1_MS 1
5555
#define INTEG_PERIOD_2_MS 2
@@ -86,7 +86,7 @@ static struct lock_detect_params {
8686
u16 lp, lo;
8787
} lock_detect_params;
8888

89-
static float track_cn0_use_thres = 31.0; /* dBHz */
89+
static float track_cn0_use_thres = 37.0; /* dBHz */
9090
static float track_cn0_drop_thres = 31.0;
9191

9292
static char loop_params_string[120] = LOOP_PARAMS_MED;

src/track/track_gps_l2cm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
#define LD_PARAMS "0.0247, 1.5, 50, 240"
6363
#define LD_PARAMS_DISABLE "0.02, 1e-6, 1, 1"
6464

65-
#define CN0_EST_LPF_CUTOFF 5
65+
#define CN0_EST_LPF_CUTOFF 0.1f
6666

6767
#define INTEG_PERIOD_20_MS 20
6868

@@ -86,7 +86,7 @@ static struct lock_detect_params {
8686
u16 lp, lo;
8787
} lock_detect_params;
8888

89-
static float track_cn0_use_thres = 31.0; /* dBHz */
89+
static float track_cn0_use_thres = 37.0; /* dBHz */
9090
static float track_cn0_drop_thres = 31.0; /* dBHz */
9191

9292
static char loop_params_string[120] = LOOP_PARAMS_MED;

0 commit comments

Comments
 (0)