Skip to content

Commit

Permalink
Use correct SNR unit
Browse files Browse the repository at this point in the history
  • Loading branch information
tipf committed Mar 9, 2022
1 parent 06d1e53 commit adeca1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnss_preprocessor/RTKLIB/src/pntpos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ extern int pntpos(const obsd_t *obs, int n, const nav_t *nav,
break;
}
}
gnss_raw.snr = obs[s_i].SNR[0] * 0.001;
gnss_raw.snr = obs[s_i].SNR[0] * SNR_UNIT;

/* get satellite position */
gnss_raw.azimuth = azel_[0 + s_i*2] * R2D;
Expand Down

0 comments on commit adeca1f

Please sign in to comment.