mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-10-28 14:07:38 +00:00
Fix typos detected by codespell
This commit is contained in:
@@ -6217,7 +6217,7 @@ void Rinex_Printer::rinex_obs_header(std::fstream& out, const Gps_Ephemeris& eph
|
||||
|
||||
if (version == 2)
|
||||
{
|
||||
// --------- WAVELENGHT FACTOR
|
||||
// --------- WAVELENGTH FACTOR
|
||||
// put here real data!
|
||||
line.clear();
|
||||
line += Rinex_Printer::rightJustify("1", 6);
|
||||
|
||||
@@ -577,7 +577,7 @@ typedef struct
|
||||
|
||||
typedef struct
|
||||
{ /* SBAS message type */
|
||||
int week, tow; /* receiption time */
|
||||
int week, tow; /* reception time */
|
||||
int prn; /* SBAS satellite PRN number */
|
||||
unsigned char msg[29]; /* SBAS message (226bit) padded by 0 */
|
||||
} sbsmsg_t;
|
||||
@@ -912,7 +912,7 @@ typedef struct
|
||||
unsigned char buff[1200]; /* message buffer */
|
||||
unsigned int word; /* word buffer for rtcm 2 */
|
||||
unsigned int nmsg2[100]; /* message count of RTCM 2 (1-99:1-99,0:other) */
|
||||
unsigned int nmsg3[400]; /* message count of RTCM 3 (1-299:1001-1299,300-399:2000-2099,0:ohter) */
|
||||
unsigned int nmsg3[400]; /* message count of RTCM 3 (1-299:1001-1299,300-399:2000-2099,0:other) */
|
||||
char opt[256]; /* RTCM dependent options */
|
||||
} rtcm_t;
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ const double ERREPH_GLO = 5.0; /* error of glonass ephemeris (m) */
|
||||
const double TSTEP = 60.0; /* integration step glonass ephemeris (s) */
|
||||
const double RTOL_KEPLER = 1e-13; /* relative tolerance for Kepler equation */
|
||||
|
||||
const double DEFURASSR = 0.15; /* default accurary of ssr corr (m) */
|
||||
const double DEFURASSR = 0.15; /* default accuracy of ssr corr (m) */
|
||||
const double MAXECORSSR = 10.0; /* max orbit correction of ssr (m) */
|
||||
const double MAXCCORSSR = 1e-6 * SPEED_OF_LIGHT; /* max clock correction of ssr (m) */
|
||||
const double MAXAGESSR = 90.0; /* max age of ssr orbit and clock (s) */
|
||||
@@ -473,7 +473,7 @@ void seph2pos(gtime_t time, const seph_t *seph, double *rs, double *dts,
|
||||
}
|
||||
|
||||
|
||||
/* select ephememeris --------------------------------------------------------*/
|
||||
/* select ephemeris --------------------------------------------------------*/
|
||||
eph_t *seleph(gtime_t time, int sat, int iode, const nav_t *nav)
|
||||
{
|
||||
double t, tmax, tmin;
|
||||
@@ -532,7 +532,7 @@ eph_t *seleph(gtime_t time, int sat, int iode, const nav_t *nav)
|
||||
}
|
||||
|
||||
|
||||
/* select glonass ephememeris ------------------------------------------------*/
|
||||
/* select glonass ephemeris ------------------------------------------------*/
|
||||
geph_t *selgeph(gtime_t time, int sat, int iode, const nav_t *nav)
|
||||
{
|
||||
double t, tmax = MAXDTOE_GLO, tmin = tmax + 1.0;
|
||||
@@ -574,7 +574,7 @@ geph_t *selgeph(gtime_t time, int sat, int iode, const nav_t *nav)
|
||||
}
|
||||
|
||||
|
||||
/* select sbas ephememeris ---------------------------------------------------*/
|
||||
/* select sbas ephemeris ---------------------------------------------------*/
|
||||
seph_t *selseph(gtime_t time, int sat, const nav_t *nav)
|
||||
{
|
||||
double t, tmax = MAXDTOE_SBS, tmin = tmax + 1.0;
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
* [1] S.Schear, W.Gurtner and J.Feltens, IONEX: The IONosphere Map EXchange
|
||||
* Format Version 1, February 25, 1998
|
||||
* [2] S.Schaer, R.Markus, B.Gerhard and A.S.Timon, Daily Global Ionosphere
|
||||
* Maps based on GPS Carrier Phase Data Routinely producted by CODE
|
||||
* Maps based on GPS Carrier Phase Data Routinely produced by CODE
|
||||
* Analysis Center, Proceeding of the IGS Analysis Center Workshop, 1996
|
||||
*
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
* [1] S.Schear, W.Gurtner and J.Feltens, IONEX: The IONosphere Map EXchange
|
||||
* Format Version 1, February 25, 1998
|
||||
* [2] S.Schaer, R.Markus, B.Gerhard and A.S.Timon, Daily Global Ionosphere
|
||||
* Maps based on GPS Carrier Phase Data Routinely producted by CODE
|
||||
* Maps based on GPS Carrier Phase Data Routinely produced by CODE
|
||||
* Analysis Center, Proceeding of the IGS Analysis Center Workshop, 1996
|
||||
*
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
||||
@@ -296,7 +296,7 @@ int search(int n, int m, const double *L, const double *D,
|
||||
* double *F O fixed solutions (n x m)
|
||||
* double *s O sum of squared residulas of fixed solutions (1 x m)
|
||||
* return : status (0:ok,other:error)
|
||||
* notes : matrix stored by column-major order (fortran convension)
|
||||
* notes : matrix stored by column-major order (fortran convention)
|
||||
*-----------------------------------------------------------------------------*/
|
||||
int lambda(int n, int m, const double *a, const double *Q, double *F,
|
||||
double *s)
|
||||
|
||||
@@ -331,7 +331,7 @@ int is_depend(int sat1, int sat2, int *flgs, int *max_flg)
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0; /* linear depenent */
|
||||
return 0; /* linear dependent */
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -546,7 +546,7 @@ int readdcbf(const char *file, nav_t *nav, const sta_t *sta)
|
||||
* read differential code bias (dcb) parameters
|
||||
* args : char *file I dcb parameters file (wild-card * expanded)
|
||||
* nav_t *nav IO navigation data
|
||||
* sta_t *sta I station info data to inport receiver dcb
|
||||
* sta_t *sta I station info data to import receiver dcb
|
||||
* (NULL: no use)
|
||||
* return : status (1:ok,0:error)
|
||||
* notes : currently only p1-c1 bias of code *.dcb file
|
||||
|
||||
@@ -223,11 +223,12 @@ const unsigned int TBL_CR_C24_Q[] = {
|
||||
0x42FA2F, 0xC4B6D4, 0xC82F22, 0x4E63D9, 0xD11CCE, 0x575035, 0x5BC9C3, 0xDD8538};
|
||||
|
||||
|
||||
extern "C" {
|
||||
void dgemm_(char *, char *, int *, int *, int *, double *, double *, int *, double *, int *, double *, double *, int *);
|
||||
extern void dgetrf_(int *, int *, double *, int *, int *, int *);
|
||||
extern void dgetri_(int *, double *, int *, int *, double *, int *, int *);
|
||||
extern void dgetrs_(char *, int *, int *, double *, int *, int *, double *, int *, int *);
|
||||
extern "C"
|
||||
{
|
||||
void dgemm_(char *, char *, int *, int *, int *, double *, double *, int *, double *, int *, double *, double *, int *);
|
||||
extern void dgetrf_(int *, int *, double *, int *, int *, int *);
|
||||
extern void dgetri_(int *, double *, int *, int *, double *, int *, int *);
|
||||
extern void dgetrs_(char *, int *, int *, double *, int *, int *, double *, int *, int *);
|
||||
}
|
||||
|
||||
|
||||
@@ -3619,7 +3620,7 @@ void freeobs(obs_t *obs)
|
||||
/* free navigation data ---------------------------------------------------------
|
||||
* free memory for navigation data
|
||||
* args : nav_t *nav IO navigation data
|
||||
* int opt I option (or of followings)
|
||||
* int opt I option (one of the following)
|
||||
* (0x01: gps/qzs ephmeris, 0x02: glonass ephemeris,
|
||||
* 0x04: sbas ephemeris, 0x08: precise ephemeris,
|
||||
* 0x10: precise clock 0x20: almanac,
|
||||
|
||||
@@ -922,7 +922,7 @@ void searchigp(gtime_t time __attribute__((unused)), const double *pos, const sb
|
||||
* double *var O variance of ionospheric delay (m^2)
|
||||
* return : status (1:ok, 0:no correction)
|
||||
* notes : before calling the function, sbas ionosphere correction parameters
|
||||
* in navigation data (nav->sbsion) must be set by callig
|
||||
* in navigation data (nav->sbsion) must be set by calling
|
||||
* sbsupdatecorr()
|
||||
*-----------------------------------------------------------------------------*/
|
||||
int sbsioncorr(gtime_t time, const nav_t *nav, const double *pos,
|
||||
@@ -1206,7 +1206,7 @@ int sbsfastcorr(gtime_t time, int sat, const sbssat_t *sbssat,
|
||||
* double *var O sat position and clock variance (m^2)
|
||||
* return : status (1:ok,0:no correction)
|
||||
* notes : before calling the function, sbas satellite correction parameters
|
||||
* in navigation data (nav->sbssat) must be set by callig
|
||||
* in navigation data (nav->sbssat) must be set by calling
|
||||
* sbsupdatecorr().
|
||||
* satellite clock correction include long-term correction and fast
|
||||
* correction.
|
||||
|
||||
@@ -2132,7 +2132,7 @@ int outsols(unsigned char *buff, const sol_t *sol, const double *rb,
|
||||
|
||||
|
||||
/* output solution extended ----------------------------------------------------
|
||||
* output solution exteneded information
|
||||
* output solution extended information
|
||||
* args : unsigned char *buff IO output buffer
|
||||
* sol_t *sol I solution
|
||||
* ssat_t *ssat I satellite status
|
||||
@@ -2232,7 +2232,7 @@ void outsol(FILE *fp, const sol_t *sol, const double *rb,
|
||||
|
||||
|
||||
/* output solution extended ----------------------------------------------------
|
||||
* output solution exteneded information to file
|
||||
* output solution extended information to file
|
||||
* args : FILE *fp I output file pointer
|
||||
* sol_t *sol I solution
|
||||
* ssat_t *ssat I satellite status
|
||||
|
||||
@@ -257,7 +257,7 @@ void tide_pole(gtime_t tut, const double *pos, const double *erpv,
|
||||
* displacements by earth tides
|
||||
* args : gtime_t tutc I time in utc
|
||||
* double *rr I site position (ecef) (m)
|
||||
* int opt I options (or of the followings)
|
||||
* int opt I options (one of the following)
|
||||
* 1: solid earth tide
|
||||
* 2: ocean tide loading
|
||||
* 4: pole tide
|
||||
|
||||
Reference in New Issue
Block a user