1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-13 19:50:34 +00:00

code cleaning

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@192 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
Carles Fernandez 2012-03-24 03:31:56 +00:00
parent 7081c4fe8d
commit 89a67c93e8
2 changed files with 37 additions and 36 deletions

View File

@ -39,7 +39,7 @@
const double GPS_C_m_s = 299792458.0; //!< The speed of light, [m/s] const double GPS_C_m_s = 299792458.0; //!< The speed of light, [m/s]
const double GPS_C_m_ms = 299792.4580; //!< The speed of light, [m/ms] const double GPS_C_m_ms = 299792.4580; //!< The speed of light, [m/ms]
const double GPS_PI = 3.1415926535898; //!< Pi as defined in IS-GPS-200E const double GPS_PI = 3.1415926535898; //!< Pi as defined in IS-GPS-200E
const double GPS_TWO_PI = 6.283185307179586; //!< 2Pi as defined in IS-GPS-200E const double GPS_TWO_PI = 6.283185307179586;//!< 2Pi as defined in IS-GPS-200E
const double OMEGA_EARTH_DOT = 7.2921151467e-5; //!< Earth rotation rate, [rad/s] const double OMEGA_EARTH_DOT = 7.2921151467e-5; //!< Earth rotation rate, [rad/s]
const double GM = 3.986005e14; //!< Universal gravitational constant times the mass of the Earth, [m^3/s^2] const double GM = 3.986005e14; //!< Universal gravitational constant times the mass of the Earth, [m^3/s^2]
const double F = -4.442807633e-10; //!< Constant, [s/(m)^(1/2)] const double F = -4.442807633e-10; //!< Constant, [s/(m)^(1/2)]

View File

@ -34,7 +34,8 @@
#include "gnss_signal.h" #include "gnss_signal.h"
/*! /*!
* \brief This is the class that contains the information that flows through the blocks. * \brief This is the class that contains the information that is shared
* by the processing blocks.
*/ */
class Gnss_Synchro class Gnss_Synchro
{ {
@ -42,28 +43,28 @@ public:
Gnss_Synchro(); Gnss_Synchro();
~Gnss_Synchro(); ~Gnss_Synchro();
// Satellite and signal info // Satellite and signal info
char System; char System; //!< Set by Channel::set_signal(Gnss_Signal gnss_signal)
char Signal[3]; char Signal[3]; //!< Set by Channel::set_signal(Gnss_Signal gnss_signal)
unsigned int PRN; unsigned int PRN; //!< Set by Channel::set_signal(Gnss_Signal gnss_signal)
int Channel_ID; //!< Set by Channel constructor
// Acquisition // Acquisition
double Acq_delay_samples; double Acq_delay_samples; //!< Set by Acquisition processing block
double Acq_doppler_hz; double Acq_doppler_hz; //!< Set by Acquisition processing block
unsigned long int Acq_samplestamp_samples; unsigned long int Acq_samplestamp_samples; //!< Set by Acquisition processing block
bool Flag_valid_acquisition; bool Flag_valid_acquisition;
//Tracking //Tracking
double Prompt_I; double Prompt_I; //!< Set by Tracking processing block
double Prompt_Q; double Prompt_Q; //!< Set by Tracking processing block
double Carrier_phase_rads; double Carrier_phase_rads; //!< Set by Tracking processing block
double Code_phase_secs; double Code_phase_secs; //!< Set by Tracking processing block
double Tracking_timestamp_secs; double Tracking_timestamp_secs; //!< Set by Tracking processing block
double CN0_dB_hz; double CN0_dB_hz; //!< Set by Tracking processing block
bool Flag_valid_tracking; bool Flag_valid_tracking;
//Telemetry Decoder //Telemetry Decoder
double Preamble_delay_ms; double Preamble_delay_ms;
double Prn_delay_ms; double Prn_delay_ms;
double Preamble_code_phase_ms; double Preamble_code_phase_ms;
double Preamble_code_phase_correction_ms; double Preamble_code_phase_correction_ms;
int Channel_ID;
bool Flag_valid_word; bool Flag_valid_word;
bool Flag_preamble; bool Flag_preamble;
// Pseudorange // Pseudorange