mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-07-07 20:42:56 +00:00
Fix typos detected by codespell
This commit is contained in:
parent
f440a0e9f1
commit
471428f867
@ -341,7 +341,7 @@ Cloning the GNSS-SDR repository as in the line above will create a folder named
|
|||||||
|-----utils <- some utilities (e.g. Matlab scripts).
|
|-----utils <- some utilities (e.g. Matlab scripts).
|
||||||
~~~~~~
|
~~~~~~
|
||||||
|
|
||||||
By default, you will be in the 'master' branch of the Git repository, which corresponds to the lastest stable release. If you want to try the latest developments, you can use the 'next' branch by going to the newly created gnss-sdr folder doing:
|
By default, you will be in the 'master' branch of the Git repository, which corresponds to the latest stable release. If you want to try the latest developments, you can use the 'next' branch by going to the newly created gnss-sdr folder doing:
|
||||||
|
|
||||||
~~~~~~
|
~~~~~~
|
||||||
$ git checkout next
|
$ git checkout next
|
||||||
|
@ -48,7 +48,7 @@ list(APPEND AVAIL_BUILDTYPES
|
|||||||
# known build types in AVAIL_BUILDTYPES. If the build type is found,
|
# known build types in AVAIL_BUILDTYPES. If the build type is found,
|
||||||
# the function exits immediately. If nothing is found by the end of
|
# the function exits immediately. If nothing is found by the end of
|
||||||
# checking all available build types, we exit with an error and list
|
# checking all available build types, we exit with an error and list
|
||||||
# the avialable build types.
|
# the available build types.
|
||||||
########################################################################
|
########################################################################
|
||||||
function(GNSSSDR_CHECK_BUILD_TYPE settype)
|
function(GNSSSDR_CHECK_BUILD_TYPE settype)
|
||||||
string(TOUPPER ${settype} _settype)
|
string(TOUPPER ${settype} _settype)
|
||||||
|
@ -6217,7 +6217,7 @@ void Rinex_Printer::rinex_obs_header(std::fstream& out, const Gps_Ephemeris& eph
|
|||||||
|
|
||||||
if (version == 2)
|
if (version == 2)
|
||||||
{
|
{
|
||||||
// --------- WAVELENGHT FACTOR
|
// --------- WAVELENGTH FACTOR
|
||||||
// put here real data!
|
// put here real data!
|
||||||
line.clear();
|
line.clear();
|
||||||
line += Rinex_Printer::rightJustify("1", 6);
|
line += Rinex_Printer::rightJustify("1", 6);
|
||||||
|
@ -577,7 +577,7 @@ typedef struct
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{ /* SBAS message type */
|
{ /* SBAS message type */
|
||||||
int week, tow; /* receiption time */
|
int week, tow; /* reception time */
|
||||||
int prn; /* SBAS satellite PRN number */
|
int prn; /* SBAS satellite PRN number */
|
||||||
unsigned char msg[29]; /* SBAS message (226bit) padded by 0 */
|
unsigned char msg[29]; /* SBAS message (226bit) padded by 0 */
|
||||||
} sbsmsg_t;
|
} sbsmsg_t;
|
||||||
@ -912,7 +912,7 @@ typedef struct
|
|||||||
unsigned char buff[1200]; /* message buffer */
|
unsigned char buff[1200]; /* message buffer */
|
||||||
unsigned int word; /* word buffer for rtcm 2 */
|
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 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 */
|
char opt[256]; /* RTCM dependent options */
|
||||||
} rtcm_t;
|
} 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 TSTEP = 60.0; /* integration step glonass ephemeris (s) */
|
||||||
const double RTOL_KEPLER = 1e-13; /* relative tolerance for Kepler equation */
|
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 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 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) */
|
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)
|
eph_t *seleph(gtime_t time, int sat, int iode, const nav_t *nav)
|
||||||
{
|
{
|
||||||
double t, tmax, tmin;
|
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)
|
geph_t *selgeph(gtime_t time, int sat, int iode, const nav_t *nav)
|
||||||
{
|
{
|
||||||
double t, tmax = MAXDTOE_GLO, tmin = tmax + 1.0;
|
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)
|
seph_t *selseph(gtime_t time, int sat, const nav_t *nav)
|
||||||
{
|
{
|
||||||
double t, tmax = MAXDTOE_SBS, tmin = tmax + 1.0;
|
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
|
* [1] S.Schear, W.Gurtner and J.Feltens, IONEX: The IONosphere Map EXchange
|
||||||
* Format Version 1, February 25, 1998
|
* Format Version 1, February 25, 1998
|
||||||
* [2] S.Schaer, R.Markus, B.Gerhard and A.S.Timon, Daily Global Ionosphere
|
* [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
|
* 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
|
* [1] S.Schear, W.Gurtner and J.Feltens, IONEX: The IONosphere Map EXchange
|
||||||
* Format Version 1, February 25, 1998
|
* Format Version 1, February 25, 1998
|
||||||
* [2] S.Schaer, R.Markus, B.Gerhard and A.S.Timon, Daily Global Ionosphere
|
* [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
|
* 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 *F O fixed solutions (n x m)
|
||||||
* double *s O sum of squared residulas of fixed solutions (1 x m)
|
* double *s O sum of squared residulas of fixed solutions (1 x m)
|
||||||
* return : status (0:ok,other:error)
|
* 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,
|
int lambda(int n, int m, const double *a, const double *Q, double *F,
|
||||||
double *s)
|
double *s)
|
||||||
|
@ -331,7 +331,7 @@ int is_depend(int sat1, int sat2, int *flgs, int *max_flg)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return 0; /* linear depenent */
|
return 0; /* linear dependent */
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -546,7 +546,7 @@ int readdcbf(const char *file, nav_t *nav, const sta_t *sta)
|
|||||||
* read differential code bias (dcb) parameters
|
* read differential code bias (dcb) parameters
|
||||||
* args : char *file I dcb parameters file (wild-card * expanded)
|
* args : char *file I dcb parameters file (wild-card * expanded)
|
||||||
* nav_t *nav IO navigation data
|
* 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)
|
* (NULL: no use)
|
||||||
* return : status (1:ok,0:error)
|
* return : status (1:ok,0:error)
|
||||||
* notes : currently only p1-c1 bias of code *.dcb file
|
* 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};
|
0x42FA2F, 0xC4B6D4, 0xC82F22, 0x4E63D9, 0xD11CCE, 0x575035, 0x5BC9C3, 0xDD8538};
|
||||||
|
|
||||||
|
|
||||||
extern "C" {
|
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 *);
|
void dgemm_(char *, char *, int *, int *, int *, double *, double *, int *, double *, int *, double *, double *, int *);
|
||||||
extern void dgetri_(int *, double *, int *, int *, double *, int *, int *);
|
extern void dgetrf_(int *, int *, double *, int *, int *, int *);
|
||||||
extern void dgetrs_(char *, int *, int *, double *, int *, int *, double *, 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 navigation data ---------------------------------------------------------
|
||||||
* free memory for navigation data
|
* free memory for navigation data
|
||||||
* args : nav_t *nav IO 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,
|
* (0x01: gps/qzs ephmeris, 0x02: glonass ephemeris,
|
||||||
* 0x04: sbas ephemeris, 0x08: precise ephemeris,
|
* 0x04: sbas ephemeris, 0x08: precise ephemeris,
|
||||||
* 0x10: precise clock 0x20: almanac,
|
* 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)
|
* double *var O variance of ionospheric delay (m^2)
|
||||||
* return : status (1:ok, 0:no correction)
|
* return : status (1:ok, 0:no correction)
|
||||||
* notes : before calling the function, sbas ionosphere correction parameters
|
* 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()
|
* sbsupdatecorr()
|
||||||
*-----------------------------------------------------------------------------*/
|
*-----------------------------------------------------------------------------*/
|
||||||
int sbsioncorr(gtime_t time, const nav_t *nav, const double *pos,
|
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)
|
* double *var O sat position and clock variance (m^2)
|
||||||
* return : status (1:ok,0:no correction)
|
* return : status (1:ok,0:no correction)
|
||||||
* notes : before calling the function, sbas satellite correction parameters
|
* 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().
|
* sbsupdatecorr().
|
||||||
* satellite clock correction include long-term correction and fast
|
* satellite clock correction include long-term correction and fast
|
||||||
* correction.
|
* correction.
|
||||||
|
@ -2132,7 +2132,7 @@ int outsols(unsigned char *buff, const sol_t *sol, const double *rb,
|
|||||||
|
|
||||||
|
|
||||||
/* output solution extended ----------------------------------------------------
|
/* output solution extended ----------------------------------------------------
|
||||||
* output solution exteneded information
|
* output solution extended information
|
||||||
* args : unsigned char *buff IO output buffer
|
* args : unsigned char *buff IO output buffer
|
||||||
* sol_t *sol I solution
|
* sol_t *sol I solution
|
||||||
* ssat_t *ssat I satellite status
|
* 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 extended ----------------------------------------------------
|
||||||
* output solution exteneded information to file
|
* output solution extended information to file
|
||||||
* args : FILE *fp I output file pointer
|
* args : FILE *fp I output file pointer
|
||||||
* sol_t *sol I solution
|
* sol_t *sol I solution
|
||||||
* ssat_t *ssat I satellite status
|
* 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
|
* displacements by earth tides
|
||||||
* args : gtime_t tutc I time in utc
|
* args : gtime_t tutc I time in utc
|
||||||
* double *rr I site position (ecef) (m)
|
* 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
|
* 1: solid earth tide
|
||||||
* 2: ocean tide loading
|
* 2: ocean tide loading
|
||||||
* 4: pole tide
|
* 4: pole tide
|
||||||
|
@ -92,7 +92,7 @@ NativeInteger_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
|||||||
/*
|
/*
|
||||||
* ASN.1 encoded INTEGER: buf_ptr, length
|
* ASN.1 encoded INTEGER: buf_ptr, length
|
||||||
* Fill the native, at the same time checking for overflow.
|
* Fill the native, at the same time checking for overflow.
|
||||||
* If overflow occured, return with RC_FAIL.
|
* If overflow occurred, return with RC_FAIL.
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
INTEGER_t tmp;
|
INTEGER_t tmp;
|
||||||
@ -329,4 +329,3 @@ NativeInteger_free(asn_TYPE_descriptor_t *td, void *ptr, int contents_only) {
|
|||||||
FREEMEM(ptr);
|
FREEMEM(ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ asn_TYPE_descriptor_t asn_DEF_OCTET_STRING = {
|
|||||||
/*
|
/*
|
||||||
* The main reason why ASN.1 is still alive is that too much time and effort
|
* The main reason why ASN.1 is still alive is that too much time and effort
|
||||||
* is necessary for learning it more or less adequately, thus creating a gut
|
* is necessary for learning it more or less adequately, thus creating a gut
|
||||||
* necessity to demonstrate that aquired skill everywhere afterwards.
|
* necessity to demonstrate that acquired skill everywhere afterwards.
|
||||||
* No, I am not going to explain what the following stuff is.
|
* No, I am not going to explain what the following stuff is.
|
||||||
*/
|
*/
|
||||||
struct _stack_el {
|
struct _stack_el {
|
||||||
@ -1571,7 +1571,7 @@ OCTET_STRING_encode_uper(asn_TYPE_descriptor_t *td,
|
|||||||
csiz->lower_bound, csiz->upper_bound,
|
csiz->lower_bound, csiz->upper_bound,
|
||||||
csiz->effective_bits, ct_extensible ? " EXT" : "");
|
csiz->effective_bits, ct_extensible ? " EXT" : "");
|
||||||
|
|
||||||
/* Figure out wheter size lies within PER visible constraint */
|
/* Figure out whether size lies within PER visible constraint */
|
||||||
|
|
||||||
if(csiz->effective_bits >= 0) {
|
if(csiz->effective_bits >= 0) {
|
||||||
if((int)sizeinunits < csiz->lower_bound
|
if((int)sizeinunits < csiz->lower_bound
|
||||||
@ -1802,4 +1802,3 @@ OCTET_STRING_new_fromBuf(asn_TYPE_descriptor_t *td, const char *str, int len) {
|
|||||||
|
|
||||||
return st;
|
return st;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ ber_fetch_tag(const void *ptr, size_t size, ber_tlv_tag_t *tag_r) {
|
|||||||
*/
|
*/
|
||||||
if(val >> ((8 * sizeof(val)) - 9)) {
|
if(val >> ((8 * sizeof(val)) - 9)) {
|
||||||
/*
|
/*
|
||||||
* We would not be able to accomodate
|
* We would not be able to accommodate
|
||||||
* any more tag bits.
|
* any more tag bits.
|
||||||
*/
|
*/
|
||||||
return -1;
|
return -1;
|
||||||
@ -141,4 +141,3 @@ ber_tlv_tag_serialize(ber_tlv_tag_t tag, void *bufp, size_t size) {
|
|||||||
|
|
||||||
return required_size + 1;
|
return required_size + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ CHOICE_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(ctx->left >= 0) {
|
if(ctx->left >= 0) {
|
||||||
/* ?Substracted below! */
|
/* ?Subtracted below! */
|
||||||
ctx->left += rval.consumed;
|
ctx->left += rval.consumed;
|
||||||
}
|
}
|
||||||
ADVANCE(rval.consumed);
|
ADVANCE(rval.consumed);
|
||||||
|
@ -166,7 +166,7 @@ SEQUENCE_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(ctx->left >= 0)
|
if(ctx->left >= 0)
|
||||||
ctx->left += rval.consumed; /* ?Substracted below! */
|
ctx->left += rval.consumed; /* ?Subtracted below! */
|
||||||
ADVANCE(rval.consumed);
|
ADVANCE(rval.consumed);
|
||||||
|
|
||||||
NEXT_PHASE(ctx);
|
NEXT_PHASE(ctx);
|
||||||
@ -1420,4 +1420,3 @@ SEQUENCE_encode_uper(asn_TYPE_descriptor_t *td,
|
|||||||
|
|
||||||
_ASN_ENCODED_OK(er);
|
_ASN_ENCODED_OK(er);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ SET_OF_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(ctx->left >= 0)
|
if(ctx->left >= 0)
|
||||||
ctx->left += rval.consumed; /* ?Substracted below! */
|
ctx->left += rval.consumed; /* ?Subtracted below! */
|
||||||
ADVANCE(rval.consumed);
|
ADVANCE(rval.consumed);
|
||||||
|
|
||||||
ASN_DEBUG("Structure consumes %ld bytes, "
|
ASN_DEBUG("Structure consumes %ld bytes, "
|
||||||
@ -950,4 +950,3 @@ SET_OF_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
|
|||||||
rv.consumed = 0;
|
rv.consumed = 0;
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -162,8 +162,8 @@ extern "C"
|
|||||||
{
|
{
|
||||||
ber_tlv_tag_t el_tag; /* Outmost tag of the member */
|
ber_tlv_tag_t el_tag; /* Outmost tag of the member */
|
||||||
int el_no; /* Index of the associated member, base 0 */
|
int el_no; /* Index of the associated member, base 0 */
|
||||||
int toff_first; /* First occurence of the el_tag, relative */
|
int toff_first; /* First occurrence of the el_tag, relative */
|
||||||
int toff_last; /* Last occurence of the el_tag, relatvie */
|
int toff_last; /* Last occurrence of the el_tag, relatvie */
|
||||||
} asn_TYPE_tag2member_t;
|
} asn_TYPE_tag2member_t;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -32,7 +32,7 @@ extern asn_TYPE_descriptor_t *asn_pdu_collection[];
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Open file and parse its contens.
|
* Open file and parse its contents.
|
||||||
*/
|
*/
|
||||||
static void *data_decode_from_file(asn_TYPE_descriptor_t *pduType,
|
static void *data_decode_from_file(asn_TYPE_descriptor_t *pduType,
|
||||||
FILE *file, const char *name, ssize_t suggested_bufsize, int first_pdu);
|
FILE *file, const char *name, ssize_t suggested_bufsize, int first_pdu);
|
||||||
@ -96,7 +96,7 @@ main(int ac, char *av[]) {
|
|||||||
iform = INP_PER;
|
iform = INP_PER;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Pocess the command-line argments.
|
* Process the command-line arguments.
|
||||||
*/
|
*/
|
||||||
while((ch = getopt(ac, av, "i:o:1b:cdn:p:hs:" JUNKOPT)) != -1)
|
while((ch = getopt(ac, av, "i:o:1b:cdn:p:hs:" JUNKOPT)) != -1)
|
||||||
switch(ch) {
|
switch(ch) {
|
||||||
@ -390,7 +390,7 @@ buffer_dump() {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Move the buffer content left N bits, possibly joining it with
|
* Move the buffer content left N bits, possibly joining it with
|
||||||
* preceeding content.
|
* preceding content.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
buffer_shift_left(size_t offset, int bits) {
|
buffer_shift_left(size_t offset, int bits) {
|
||||||
@ -831,4 +831,3 @@ junk_bytes_with_probability(uint8_t *buf, size_t size, double prob) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* JUNKTEST */
|
#endif /* JUNKTEST */
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ extern "C"
|
|||||||
*/
|
*/
|
||||||
int32_t per_get_few_bits(asn_per_data_t *per_data, int get_nbits);
|
int32_t per_get_few_bits(asn_per_data_t *per_data, int get_nbits);
|
||||||
|
|
||||||
/* Undo the immediately preceeding "get_few_bits" operation */
|
/* Undo the immediately preceding "get_few_bits" operation */
|
||||||
void per_get_undo(asn_per_data_t *per_data, int get_nbits);
|
void per_get_undo(asn_per_data_t *per_data, int get_nbits);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -42,8 +42,8 @@ extern "C"
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Parse the given buffer as it were a chunk of XML data.
|
* Parse the given buffer as it were a chunk of XML data.
|
||||||
* Invoke the specified callback each time the meaninful data is found.
|
* Invoke the specified callback each time the meaningful data is found.
|
||||||
* This function returns number of bytes consumed from the bufer.
|
* This function returns number of bytes consumed from the buffer.
|
||||||
* It will always be lesser than or equal to the specified _size.
|
* It will always be lesser than or equal to the specified _size.
|
||||||
* The next invocation of this function must account the difference.
|
* The next invocation of this function must account the difference.
|
||||||
*/
|
*/
|
||||||
|
@ -92,7 +92,7 @@ NativeInteger_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
|||||||
/*
|
/*
|
||||||
* ASN.1 encoded INTEGER: buf_ptr, length
|
* ASN.1 encoded INTEGER: buf_ptr, length
|
||||||
* Fill the native, at the same time checking for overflow.
|
* Fill the native, at the same time checking for overflow.
|
||||||
* If overflow occured, return with RC_FAIL.
|
* If overflow occurred, return with RC_FAIL.
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
INTEGER_t tmp;
|
INTEGER_t tmp;
|
||||||
@ -329,4 +329,3 @@ NativeInteger_free(asn_TYPE_descriptor_t *td, void *ptr, int contents_only) {
|
|||||||
FREEMEM(ptr);
|
FREEMEM(ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ asn_TYPE_descriptor_t asn_DEF_OCTET_STRING = {
|
|||||||
/*
|
/*
|
||||||
* The main reason why ASN.1 is still alive is that too much time and effort
|
* The main reason why ASN.1 is still alive is that too much time and effort
|
||||||
* is necessary for learning it more or less adequately, thus creating a gut
|
* is necessary for learning it more or less adequately, thus creating a gut
|
||||||
* necessity to demonstrate that aquired skill everywhere afterwards.
|
* necessity to demonstrate that acquired skill everywhere afterwards.
|
||||||
* No, I am not going to explain what the following stuff is.
|
* No, I am not going to explain what the following stuff is.
|
||||||
*/
|
*/
|
||||||
struct _stack_el {
|
struct _stack_el {
|
||||||
@ -1571,7 +1571,7 @@ OCTET_STRING_encode_uper(asn_TYPE_descriptor_t *td,
|
|||||||
csiz->lower_bound, csiz->upper_bound,
|
csiz->lower_bound, csiz->upper_bound,
|
||||||
csiz->effective_bits, ct_extensible ? " EXT" : "");
|
csiz->effective_bits, ct_extensible ? " EXT" : "");
|
||||||
|
|
||||||
/* Figure out wheter size lies within PER visible constraint */
|
/* Figure out whether size lies within PER visible constraint */
|
||||||
|
|
||||||
if(csiz->effective_bits >= 0) {
|
if(csiz->effective_bits >= 0) {
|
||||||
if((int)sizeinunits < csiz->lower_bound
|
if((int)sizeinunits < csiz->lower_bound
|
||||||
@ -1802,4 +1802,3 @@ OCTET_STRING_new_fromBuf(asn_TYPE_descriptor_t *td, const char *str, int len) {
|
|||||||
|
|
||||||
return st;
|
return st;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ ber_fetch_tag(const void *ptr, size_t size, ber_tlv_tag_t *tag_r) {
|
|||||||
*/
|
*/
|
||||||
if(val >> ((8 * sizeof(val)) - 9)) {
|
if(val >> ((8 * sizeof(val)) - 9)) {
|
||||||
/*
|
/*
|
||||||
* We would not be able to accomodate
|
* We would not be able to accommodate
|
||||||
* any more tag bits.
|
* any more tag bits.
|
||||||
*/
|
*/
|
||||||
return -1;
|
return -1;
|
||||||
@ -141,4 +141,3 @@ ber_tlv_tag_serialize(ber_tlv_tag_t tag, void *bufp, size_t size) {
|
|||||||
|
|
||||||
return required_size + 1;
|
return required_size + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ CHOICE_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(ctx->left >= 0) {
|
if(ctx->left >= 0) {
|
||||||
/* ?Substracted below! */
|
/* ?Subtracted below! */
|
||||||
ctx->left += rval.consumed;
|
ctx->left += rval.consumed;
|
||||||
}
|
}
|
||||||
ADVANCE(rval.consumed);
|
ADVANCE(rval.consumed);
|
||||||
|
@ -166,7 +166,7 @@ SEQUENCE_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(ctx->left >= 0)
|
if(ctx->left >= 0)
|
||||||
ctx->left += rval.consumed; /* ?Substracted below! */
|
ctx->left += rval.consumed; /* ?Subtracted below! */
|
||||||
ADVANCE(rval.consumed);
|
ADVANCE(rval.consumed);
|
||||||
|
|
||||||
NEXT_PHASE(ctx);
|
NEXT_PHASE(ctx);
|
||||||
@ -1420,4 +1420,3 @@ SEQUENCE_encode_uper(asn_TYPE_descriptor_t *td,
|
|||||||
|
|
||||||
_ASN_ENCODED_OK(er);
|
_ASN_ENCODED_OK(er);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ SET_OF_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(ctx->left >= 0)
|
if(ctx->left >= 0)
|
||||||
ctx->left += rval.consumed; /* ?Substracted below! */
|
ctx->left += rval.consumed; /* ?Subtracted below! */
|
||||||
ADVANCE(rval.consumed);
|
ADVANCE(rval.consumed);
|
||||||
|
|
||||||
ASN_DEBUG("Structure consumes %ld bytes, "
|
ASN_DEBUG("Structure consumes %ld bytes, "
|
||||||
@ -950,4 +950,3 @@ SET_OF_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
|
|||||||
rv.consumed = 0;
|
rv.consumed = 0;
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -162,8 +162,8 @@ extern "C"
|
|||||||
{
|
{
|
||||||
ber_tlv_tag_t el_tag; /* Outmost tag of the member */
|
ber_tlv_tag_t el_tag; /* Outmost tag of the member */
|
||||||
int el_no; /* Index of the associated member, base 0 */
|
int el_no; /* Index of the associated member, base 0 */
|
||||||
int toff_first; /* First occurence of the el_tag, relative */
|
int toff_first; /* First occurrence of the el_tag, relative */
|
||||||
int toff_last; /* Last occurence of the el_tag, relatvie */
|
int toff_last; /* Last occurrence of the el_tag, relatvie */
|
||||||
} asn_TYPE_tag2member_t;
|
} asn_TYPE_tag2member_t;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -58,7 +58,7 @@ extern "C"
|
|||||||
*/
|
*/
|
||||||
int32_t per_get_few_bits(asn_per_data_t *pd, int get_nbits);
|
int32_t per_get_few_bits(asn_per_data_t *pd, int get_nbits);
|
||||||
|
|
||||||
/* Undo the immediately preceeding "get_few_bits" operation */
|
/* Undo the immediately preceding "get_few_bits" operation */
|
||||||
void per_get_undo(asn_per_data_t *pd, int get_nbits);
|
void per_get_undo(asn_per_data_t *pd, int get_nbits);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -42,8 +42,8 @@ extern "C"
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Parse the given buffer as it were a chunk of XML data.
|
* Parse the given buffer as it were a chunk of XML data.
|
||||||
* Invoke the specified callback each time the meaninful data is found.
|
* Invoke the specified callback each time the meaningful data is found.
|
||||||
* This function returns number of bytes consumed from the bufer.
|
* This function returns number of bytes consumed from the buffer.
|
||||||
* It will always be lesser than or equal to the specified _size.
|
* It will always be lesser than or equal to the specified _size.
|
||||||
* The next invocation of this function must account the difference.
|
* The next invocation of this function must account the difference.
|
||||||
*/
|
*/
|
||||||
|
@ -44,7 +44,7 @@ rel5-MsrPosition-Req-extension Rel5-MsrPosition-Req-Extension OPTIONAL
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
-- add this defintion to RRLP-Components module
|
-- add this definition to RRLP-Components module
|
||||||
|
|
||||||
-- Measurement Position response component
|
-- Measurement Position response component
|
||||||
MsrPosition-Rsp ::= SEQUENCE {
|
MsrPosition-Rsp ::= SEQUENCE {
|
||||||
@ -68,7 +68,7 @@ MsrPosition-Rsp ::= SEQUENCE {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
-- add this defintion to RRLP-Components module
|
-- add this definition to RRLP-Components module
|
||||||
|
|
||||||
-- Assistance Data component
|
-- Assistance Data component
|
||||||
AssistanceData ::= SEQUENCE {
|
AssistanceData ::= SEQUENCE {
|
||||||
@ -89,7 +89,7 @@ AssistanceData ::= SEQUENCE {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
-- add this defintion to RRLP-Components module
|
-- add this definition to RRLP-Components module
|
||||||
|
|
||||||
-- Protocol Error component
|
-- Protocol Error component
|
||||||
ProtocolError ::= SEQUENCE {
|
ProtocolError ::= SEQUENCE {
|
||||||
@ -101,7 +101,7 @@ ProtocolError ::= SEQUENCE {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
-- add these defintions to RRLP-Components module
|
-- add these definitions to RRLP-Components module
|
||||||
-- Position instructions
|
-- Position instructions
|
||||||
PositionInstruct ::= SEQUENCE {
|
PositionInstruct ::= SEQUENCE {
|
||||||
-- Method type
|
-- Method type
|
||||||
@ -274,7 +274,7 @@ MultipleSets ::= SEQUENCE {
|
|||||||
referenceRelation ReferenceRelation OPTIONAL
|
referenceRelation ReferenceRelation OPTIONAL
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Relation between refence BTSs and sets
|
-- Relation between reference BTSs and sets
|
||||||
ReferenceRelation ::= ENUMERATED {
|
ReferenceRelation ::= ENUMERATED {
|
||||||
secondBTSThirdSet (0), -- 1st BTS related to 1st and 2nd sets
|
secondBTSThirdSet (0), -- 1st BTS related to 1st and 2nd sets
|
||||||
secondBTSSecondSet (1), -- 1st BTS related to 1st and 3rd sets
|
secondBTSSecondSet (1), -- 1st BTS related to 1st and 3rd sets
|
||||||
@ -829,7 +829,7 @@ TimeRelation ::= SEQUENCE {
|
|||||||
gsmTime GSMTime OPTIONAL
|
gsmTime GSMTime OPTIONAL
|
||||||
}
|
}
|
||||||
|
|
||||||
-- data occuring per number of satellites
|
-- data occurring per number of satellites
|
||||||
AcquisElement ::= SEQUENCE {
|
AcquisElement ::= SEQUENCE {
|
||||||
svid SatelliteID,
|
svid SatelliteID,
|
||||||
|
|
||||||
@ -939,7 +939,7 @@ AssistBTSData-R98-ExpOTD ::= SEQUENCE {
|
|||||||
ExpectedOTD ::= INTEGER (0..1250)
|
ExpectedOTD ::= INTEGER (0..1250)
|
||||||
-- The ExpectedOTD value 1250 shall not be encoded by the transmitting entity and
|
-- The ExpectedOTD value 1250 shall not be encoded by the transmitting entity and
|
||||||
-- shall be treated by the receiving entity as 0.
|
-- shall be treated by the receiving entity as 0.
|
||||||
-- Uncertainty of Exptected OTD in bits
|
-- Uncertainty of Expected OTD in bits
|
||||||
ExpOTDUncertainty ::= INTEGER(0..7)
|
ExpOTDUncertainty ::= INTEGER(0..7)
|
||||||
|
|
||||||
-- Release 98 extensions
|
-- Release 98 extensions
|
||||||
@ -1049,7 +1049,7 @@ velocityRequested NULL OPTIONAL,
|
|||||||
ganssTODGSMTimeAssociationMeasurementRequest NULL OPTIONAL,
|
ganssTODGSMTimeAssociationMeasurementRequest NULL OPTIONAL,
|
||||||
requiredResponseTime RequiredResponseTime OPTIONAL,
|
requiredResponseTime RequiredResponseTime OPTIONAL,
|
||||||
...
|
...
|
||||||
-- Further Release 7 extentions here
|
-- Further Release 7 extensions here
|
||||||
}
|
}
|
||||||
|
|
||||||
-- additional satellite systems may be added in future versions of the protocol
|
-- additional satellite systems may be added in future versions of the protocol
|
||||||
@ -1456,7 +1456,7 @@ GANSS-MsrSetElement ::= SEQUENCE {
|
|||||||
referenceFrame ReferenceFrame OPTIONAL, -- Reference Frame Number
|
referenceFrame ReferenceFrame OPTIONAL, -- Reference Frame Number
|
||||||
ganssTODm GANSSTODm OPTIONAL, -- GANSS TOD modulo
|
ganssTODm GANSSTODm OPTIONAL, -- GANSS TOD modulo
|
||||||
deltaGNASSTOD INTEGER (0 .. 127) OPTIONAL,
|
deltaGNASSTOD INTEGER (0 .. 127) OPTIONAL,
|
||||||
ganssTODUncertainty GANSSTODUncertainty OPTIONAL, -- Coding accoring to Annex
|
ganssTODUncertainty GANSSTODUncertainty OPTIONAL, -- Coding according to Annex
|
||||||
|
|
||||||
--N_SGN_TYPE can be read from number of elements of SeqOfGANSS-SgnTypeElement
|
--N_SGN_TYPE can be read from number of elements of SeqOfGANSS-SgnTypeElement
|
||||||
ganss-SgnTypeList SeqOfGANSS-SgnTypeElement
|
ganss-SgnTypeList SeqOfGANSS-SgnTypeElement
|
||||||
@ -1466,7 +1466,7 @@ GANSS-MsrSetElement ::= SEQUENCE {
|
|||||||
SeqOfGANSS-SgnTypeElement ::= SEQUENCE (SIZE(1..6)) OF GANSS-SgnTypeElement
|
SeqOfGANSS-SgnTypeElement ::= SEQUENCE (SIZE(1..6)) OF GANSS-SgnTypeElement
|
||||||
|
|
||||||
GANSS-SgnTypeElement ::= SEQUENCE {
|
GANSS-SgnTypeElement ::= SEQUENCE {
|
||||||
ganssSignalID INTEGER (0 .. 15), -- Coding accroding to Annex
|
ganssSignalID INTEGER (0 .. 15), -- Coding according to Annex
|
||||||
--N_SGN can be read from number of elements of SeqOfGANSS-SgnElement
|
--N_SGN can be read from number of elements of SeqOfGANSS-SgnElement
|
||||||
ganss-SgnList SeqOfGANSS-SgnElement
|
ganss-SgnList SeqOfGANSS-SgnElement
|
||||||
}
|
}
|
||||||
@ -1482,7 +1482,7 @@ GANSS-SgnElement ::= SEQUENCE {
|
|||||||
carrierQualityInd INTEGER (0 .. 3) OPTIONAL, -- Coding according to Annex
|
carrierQualityInd INTEGER (0 .. 3) OPTIONAL, -- Coding according to Annex
|
||||||
codePhase INTEGER (0 .. 2097151),
|
codePhase INTEGER (0 .. 2097151),
|
||||||
integerCodePhase INTEGER (0 .. 63) OPTIONAL,
|
integerCodePhase INTEGER (0 .. 63) OPTIONAL,
|
||||||
codePhaseRMSError INTEGER (0..63), -- Coding accoring to Annex
|
codePhaseRMSError INTEGER (0..63), -- Coding according to Annex
|
||||||
doppler INTEGER (-32768 .. 32767) OPTIONAL,
|
doppler INTEGER (-32768 .. 32767) OPTIONAL,
|
||||||
adr INTEGER (0 .. 33554431) OPTIONAL
|
adr INTEGER (0 .. 33554431) OPTIONAL
|
||||||
}
|
}
|
||||||
|
@ -469,7 +469,7 @@ static int pdu_make_ulp_pos_init(supl_ctx_t *ctx, supl_ulp_t *pdu)
|
|||||||
ulp->message.choice.msSUPLPOSINIT.sETCapabilities.posProtocol.rrlp = 1;
|
ulp->message.choice.msSUPLPOSINIT.sETCapabilities.posProtocol.rrlp = 1;
|
||||||
|
|
||||||
//GNSS-SDR mod
|
//GNSS-SDR mod
|
||||||
// Use ctx->p.request to swith between a pre-defined set of assistence data request
|
// Use ctx->p.request to switch between a pre-defined set of assistance data request
|
||||||
// reason: Some SUPL servers do not respond to Acquisition assistance depending on the status of other assistance flags
|
// reason: Some SUPL servers do not respond to Acquisition assistance depending on the status of other assistance flags
|
||||||
|
|
||||||
switch (ctx->p.request)
|
switch (ctx->p.request)
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
* -------------------------------------------------------------------------
|
* -------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "hybrid_observables.h"
|
|
||||||
#include "GPS_L1_CA.h"
|
#include "GPS_L1_CA.h"
|
||||||
#include "GPS_L2C.h"
|
#include "GPS_L2C.h"
|
||||||
#include "GPS_L5.h"
|
#include "GPS_L5.h"
|
||||||
@ -52,6 +51,7 @@
|
|||||||
#include "gps_l1_ca_pcps_acquisition.h"
|
#include "gps_l1_ca_pcps_acquisition.h"
|
||||||
#include "gps_l2_m_pcps_acquisition.h"
|
#include "gps_l2_m_pcps_acquisition.h"
|
||||||
#include "gps_l5i_pcps_acquisition.h"
|
#include "gps_l5i_pcps_acquisition.h"
|
||||||
|
#include "hybrid_observables.h"
|
||||||
#include "in_memory_configuration.h"
|
#include "in_memory_configuration.h"
|
||||||
#include "observable_tests_flags.h"
|
#include "observable_tests_flags.h"
|
||||||
#include "observables_dump_reader.h"
|
#include "observables_dump_reader.h"
|
||||||
@ -415,7 +415,7 @@ bool HybridObservablesTest::acquire_signal()
|
|||||||
System_and_Signal = "Galileo E5a";
|
System_and_Signal = "Galileo E5a";
|
||||||
config->set_property("Acquisition_5X.coherent_integration_time_ms", "1");
|
config->set_property("Acquisition_5X.coherent_integration_time_ms", "1");
|
||||||
config->set_property("Acquisition.max_dwells", std::to_string(FLAGS_external_signal_acquisition_dwells));
|
config->set_property("Acquisition.max_dwells", std::to_string(FLAGS_external_signal_acquisition_dwells));
|
||||||
config->set_property("Acquisition.CAF_window_hz", "0"); // **Only for E5a** Resolves doppler ambiguity averaging the specified BW in the winner code delay. If set to 0 CAF filter is desactivated. Recommended value 3000 Hz
|
config->set_property("Acquisition.CAF_window_hz", "0"); // **Only for E5a** Resolves doppler ambiguity averaging the specified BW in the winner code delay. If set to 0 CAF filter is deactivated. Recommended value 3000 Hz
|
||||||
config->set_property("Acquisition.Zero_padding", "0"); //**Only for E5a** Avoids power loss and doppler ambiguity in bit transitions by correlating one code with twice the input data length, ensuring that at least one full code is present without transitions. If set to 1 it is ON, if set to 0 it is OFF.
|
config->set_property("Acquisition.Zero_padding", "0"); //**Only for E5a** Avoids power loss and doppler ambiguity in bit transitions by correlating one code with twice the input data length, ensuring that at least one full code is present without transitions. If set to 1 it is ON, if set to 0 it is OFF.
|
||||||
config->set_property("Acquisition.bit_transition_flag", "false");
|
config->set_property("Acquisition.bit_transition_flag", "false");
|
||||||
acquisition = std::make_shared<GalileoE5aNoncoherentIQAcquisitionCaf>(config.get(), "Acquisition", 1, 0);
|
acquisition = std::make_shared<GalileoE5aNoncoherentIQAcquisitionCaf>(config.get(), "Acquisition", 1, 0);
|
||||||
@ -1649,7 +1649,7 @@ bool HybridObservablesTest::ReadRinexObs(std::vector<arma::mat>* obs_vec, Gnss_S
|
|||||||
std::cout << "ReadRinexObs info:" << std::endl;
|
std::cout << "ReadRinexObs info:" << std::endl;
|
||||||
for (unsigned int n = 0; n < gnss_synchro_vec.size(); n++)
|
for (unsigned int n = 0; n < gnss_synchro_vec.size(); n++)
|
||||||
{
|
{
|
||||||
std::cout << "SAT PRN " << gnss_synchro_vec.at(n).PRN << " RINEX epoch readed: " << obs_vec->at(n).n_rows << std::endl;
|
std::cout << "SAT PRN " << gnss_synchro_vec.at(n).PRN << " RINEX epoch read: " << obs_vec->at(n).n_rows << std::endl;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1455,7 +1455,7 @@ bool HybridObservablesTestFpga::ReadRinexObs(std::vector<arma::mat>* obs_vec, Gn
|
|||||||
std::cout << "ReadRinexObs info:" << std::endl;
|
std::cout << "ReadRinexObs info:" << std::endl;
|
||||||
for (unsigned int n = 0; n < gnss_synchro_vec.size(); n++)
|
for (unsigned int n = 0; n < gnss_synchro_vec.size(); n++)
|
||||||
{
|
{
|
||||||
std::cout << "SAT PRN " << gnss_synchro_vec.at(n).PRN << " RINEX epoch readed: " << obs_vec->at(n).n_rows << std::endl;
|
std::cout << "SAT PRN " << gnss_synchro_vec.at(n).PRN << " RINEX epoch read: " << obs_vec->at(n).n_rows << std::endl;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
* \file bayesian_estimation_test.cc
|
* \file bayesian_estimation_test.cc
|
||||||
* \brief This file implements feasability test for the BCE library.
|
* \brief This file implements feasibility test for the BCE library.
|
||||||
* \author Gerald LaMountain, 2018. gerald(at)ece.neu.edu
|
* \author Gerald LaMountain, 2018. gerald(at)ece.neu.edu
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
@ -1056,7 +1056,7 @@ TEST_F(GpsL1CADllPllTrackingTest, ValidationOfResults)
|
|||||||
|
|
||||||
if (FLAGS_plot_gps_l1_tracking_test == true)
|
if (FLAGS_plot_gps_l1_tracking_test == true)
|
||||||
{
|
{
|
||||||
std::cout << "Ploting performance metrics..." << std::endl;
|
std::cout << "Plotting performance metrics..." << std::endl;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (generator_CN0_values.size() > 1)
|
if (generator_CN0_values.size() > 1)
|
||||||
|
@ -450,7 +450,7 @@ bool TrackingPullInTest::acquire_signal(int SV_ID)
|
|||||||
System_and_Signal = "Galileo E5a";
|
System_and_Signal = "Galileo E5a";
|
||||||
config->set_property("Acquisition_5X.coherent_integration_time_ms", "1");
|
config->set_property("Acquisition_5X.coherent_integration_time_ms", "1");
|
||||||
config->set_property("Acquisition.max_dwells", std::to_string(FLAGS_external_signal_acquisition_dwells));
|
config->set_property("Acquisition.max_dwells", std::to_string(FLAGS_external_signal_acquisition_dwells));
|
||||||
config->set_property("Acquisition.CAF_window_hz", "0"); // **Only for E5a** Resolves doppler ambiguity averaging the specified BW in the winner code delay. If set to 0 CAF filter is desactivated. Recommended value 3000 Hz
|
config->set_property("Acquisition.CAF_window_hz", "0"); // **Only for E5a** Resolves doppler ambiguity averaging the specified BW in the winner code delay. If set to 0 CAF filter is deactivated. Recommended value 3000 Hz
|
||||||
config->set_property("Acquisition.Zero_padding", "0"); //**Only for E5a** Avoids power loss and doppler ambiguity in bit transitions by correlating one code with twice the input data length, ensuring that at least one full code is present without transitions. If set to 1 it is ON, if set to 0 it is OFF.
|
config->set_property("Acquisition.Zero_padding", "0"); //**Only for E5a** Avoids power loss and doppler ambiguity in bit transitions by correlating one code with twice the input data length, ensuring that at least one full code is present without transitions. If set to 1 it is ON, if set to 0 it is OFF.
|
||||||
config->set_property("Acquisition.bit_transition_flag", "false");
|
config->set_property("Acquisition.bit_transition_flag", "false");
|
||||||
acquisition = std::make_shared<GalileoE5aNoncoherentIQAcquisitionCaf>(config.get(), "Acquisition", 1, 0);
|
acquisition = std::make_shared<GalileoE5aNoncoherentIQAcquisitionCaf>(config.get(), "Acquisition", 1, 0);
|
||||||
|
@ -385,7 +385,6 @@ void FrontEndCal::GPS_L1_front_end_model_E4000(double f_bb_true_Hz, double f_bb_
|
|||||||
double f_rf_err = (f_bb_meas_Hz - f_bb_true_Hz) - f_bb_err_pll;
|
double f_rf_err = (f_bb_meas_Hz - f_bb_true_Hz) - f_bb_err_pll;
|
||||||
double f_osc_err_hz = (f_rf_err * R) / (N + X / Y);
|
double f_osc_err_hz = (f_rf_err * R) / (N + X / Y);
|
||||||
|
|
||||||
// OJO,segun los datos gnss, la IF positiva hace disminuir la fs!!
|
|
||||||
f_osc_err_hz = -f_osc_err_hz;
|
f_osc_err_hz = -f_osc_err_hz;
|
||||||
*f_osc_err_ppm = f_osc_err_hz / (f_osc_n / 1e6);
|
*f_osc_err_ppm = f_osc_err_hz / (f_osc_n / 1e6);
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ This program is built along with GNSS-SDR if the options `ENABLE_UNIT_TESTING_EX
|
|||||||
```
|
```
|
||||||
$ cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON ..
|
$ cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON ..
|
||||||
$ make
|
$ make
|
||||||
$ sudo make intall
|
$ sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
The last step is optional. Without it, you will get the executable at `../install/rinex2assist`.
|
The last step is optional. Without it, you will get the executable at `../install/rinex2assist`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user