Update gpssim.c

This commit is contained in:
OSQZSS 2024-01-05 08:51:02 +09:00 committed by GitHub
parent f747b994b6
commit 4fdf282763
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1662,7 +1662,8 @@ int allocateChannel(channel_t *chan, ephem_t *eph, ionoutc_t ionoutc, gpstime_t
computeRange(&rho, eph[sv], &ionoutc, grx, ref);
r_ref = rho.range;
phase_ini = (2.0*r_ref - r_xyz)/LAMBDA_L1;
phase_ini = 0.0; // TODO: Must initialize properly
//phase_ini = (2.0*r_ref - r_xyz)/LAMBDA_L1;
#ifdef FLOAT_CARR_PHASE
chan[i].carr_phase = phase_ini - floor(phase_ini);
#else