mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Minor documentation improvements
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@449 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
		| @@ -1,10 +1,11 @@ | |||||||
| /*! | /*! | ||||||
|  * \file gps_l1_ca_pvt_cc.h |  * \file galileo_e1_pvt_cc.h | ||||||
|  * \brief Interface of a Position Velocity and Time computation block for Galileo E1 |  * \brief Interface of a Position Velocity and Time computation block for Galileo E1 | ||||||
|  * \author Javier Arribas, 2011. jarribas(at)cttc.es |  * \author Javier Arribas, 2013. jarribas(at)cttc.es | ||||||
|  |  * | ||||||
|  * ------------------------------------------------------------------------- |  * ------------------------------------------------------------------------- | ||||||
|  * |  * | ||||||
|  * Copyright (C) 2010-2012  (see AUTHORS file for a list of contributors) |  * Copyright (C) 2010-2013  (see AUTHORS file for a list of contributors) | ||||||
|  * |  * | ||||||
|  * GNSS-SDR is a software defined Global Navigation |  * GNSS-SDR is a software defined Global Navigation | ||||||
|  *          Satellite Systems receiver |  *          Satellite Systems receiver | ||||||
| @@ -56,7 +57,7 @@ galileo_e1_pvt_cc_sptr | |||||||
| galileo_e1_make_pvt_cc(unsigned int n_channels, boost::shared_ptr<gr::msg_queue> queue, bool dump, std::string dump_filename, int averaging_depth, bool flag_averaging, int output_rate_ms, int display_rate_ms, bool flag_nmea_tty_port, std::string nmea_dump_filename, std::string nmea_dump_devname); | galileo_e1_make_pvt_cc(unsigned int n_channels, boost::shared_ptr<gr::msg_queue> queue, bool dump, std::string dump_filename, int averaging_depth, bool flag_averaging, int output_rate_ms, int display_rate_ms, bool flag_nmea_tty_port, std::string nmea_dump_filename, std::string nmea_dump_devname); | ||||||
|  |  | ||||||
| /*! | /*! | ||||||
|  * \brief This class implements a block that computes the PVT solution |  * \brief This class implements a block that computes the PVT solution with Galileo E1 signals | ||||||
|  */ |  */ | ||||||
| class galileo_e1_pvt_cc : public gr::block | class galileo_e1_pvt_cc : public gr::block | ||||||
| { | { | ||||||
| @@ -81,13 +82,10 @@ private: | |||||||
|     Nmea_Printer *d_nmea_printer; |     Nmea_Printer *d_nmea_printer; | ||||||
|     double d_rx_time; |     double d_rx_time; | ||||||
|     galileo_e1_ls_pvt *d_ls_pvt;  /*modify PVT/libs/galileo_e1_ls_pvt*/ |     galileo_e1_ls_pvt *d_ls_pvt;  /*modify PVT/libs/galileo_e1_ls_pvt*/ | ||||||
|  |  | ||||||
|     bool pseudoranges_pairCompare_min( std::pair<int,Gnss_Synchro> a, std::pair<int,Gnss_Synchro> b); |     bool pseudoranges_pairCompare_min( std::pair<int,Gnss_Synchro> a, std::pair<int,Gnss_Synchro> b); | ||||||
|  |  | ||||||
| public: | public: | ||||||
|     ~galileo_e1_pvt_cc (); //!< Default destructor |     ~galileo_e1_pvt_cc (); //!< Default destructor | ||||||
|     /*! |  | ||||||
|      * \brief Set the queue for getting navigation messages from the GpsL1CaTelemetryDecoder |  | ||||||
|      */ |  | ||||||
|  |  | ||||||
|     int general_work (int noutput_items, gr_vector_int &ninput_items, |     int general_work (int noutput_items, gr_vector_int &ninput_items, | ||||||
|             gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); //!< PVT Signal Processing |             gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); //!< PVT Signal Processing | ||||||
|   | |||||||
| @@ -83,9 +83,6 @@ private: | |||||||
|  |  | ||||||
| public: | public: | ||||||
|     ~gps_l1_ca_pvt_cc (); //!< Default destructor |     ~gps_l1_ca_pvt_cc (); //!< Default destructor | ||||||
|     /*! |  | ||||||
|      * \brief Set the queue for getting navigation messages from the GpsL1CaTelemetryDecoder |  | ||||||
|      */ |  | ||||||
|  |  | ||||||
|     int general_work (int noutput_items, gr_vector_int &ninput_items, |     int general_work (int noutput_items, gr_vector_int &ninput_items, | ||||||
|             gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); //!< PVT Signal Processing |             gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); //!< PVT Signal Processing | ||||||
|   | |||||||
| @@ -3,9 +3,10 @@ | |||||||
|  * \brief Implementation of the pseudorange computation block for GPS L1 C/A |  * \brief Implementation of the pseudorange computation block for GPS L1 C/A | ||||||
|  * \author Mara Branzanti 2013. mara.branzanti(at)gmail.com |  * \author Mara Branzanti 2013. mara.branzanti(at)gmail.com | ||||||
|  * \author Javier Arribas 2013. jarribas(at)cttc.es |  * \author Javier Arribas 2013. jarribas(at)cttc.es | ||||||
|  |  * | ||||||
|  * ------------------------------------------------------------------------- |  * ------------------------------------------------------------------------- | ||||||
|  * |  * | ||||||
|  * Copyright (C) 2010-2012  (see AUTHORS file for a list of contributors) |  * Copyright (C) 2010-2013  (see AUTHORS file for a list of contributors) | ||||||
|  * |  * | ||||||
|  * GNSS-SDR is a software defined Global Navigation |  * GNSS-SDR is a software defined Global Navigation | ||||||
|  *          Satellite Systems receiver |  *          Satellite Systems receiver | ||||||
|   | |||||||
| @@ -1,11 +1,12 @@ | |||||||
| /*! | /*! | ||||||
|  * \file gps_l1_ca_observables_cc.h |  * \file galileo_e1_observables_cc.h | ||||||
|  * \brief Interface of the pseudorange computation block for GPS L1 C/A |  * \brief Interface of the observables computation block for Galileo E1 | ||||||
|  * \author Mara Branzanti 2013. mara.branzanti(at)gmail.com |  * \author Mara Branzanti 2013. mara.branzanti(at)gmail.com | ||||||
|  * \author Javier Arribas 2013. jarribas(at)cttc.es |  * \author Javier Arribas 2013. jarribas(at)cttc.es | ||||||
|  |  * | ||||||
|  * ------------------------------------------------------------------------- |  * ------------------------------------------------------------------------- | ||||||
|  * |  * | ||||||
|  * Copyright (C) 2010-2012  (see AUTHORS file for a list of contributors) |  * Copyright (C) 2010-2013  (see AUTHORS file for a list of contributors) | ||||||
|  * |  * | ||||||
|  * GNSS-SDR is a software defined Global Navigation |  * GNSS-SDR is a software defined Global Navigation | ||||||
|  *          Satellite Systems receiver |  *          Satellite Systems receiver | ||||||
| @@ -54,7 +55,7 @@ galileo_e1_observables_cc_sptr | |||||||
| galileo_e1_make_observables_cc(unsigned int n_channels, boost::shared_ptr<gr::msg_queue> queue, bool dump, std::string dump_filename, int output_rate_ms, bool flag_averaging); | galileo_e1_make_observables_cc(unsigned int n_channels, boost::shared_ptr<gr::msg_queue> queue, bool dump, std::string dump_filename, int output_rate_ms, bool flag_averaging); | ||||||
|  |  | ||||||
| /*! | /*! | ||||||
|  * \brief This class implements a block that computes Galielo observables |  * \brief This class implements a block that computes Galileo observables | ||||||
|  */ |  */ | ||||||
| class galileo_e1_observables_cc : public gr::block | class galileo_e1_observables_cc : public gr::block | ||||||
| { | { | ||||||
|   | |||||||
| @@ -1,8 +1,9 @@ | |||||||
| /*! | /*! | ||||||
|  * \file galileo_navigation_message.h |  * \file galileo_ephemeris.h | ||||||
|  * \brief  Interface of a Galileo EPHEMERIS storage |  * \brief  Interface of a Galileo EPHEMERIS storage | ||||||
|  * \author Javier Arribas, 2013. jarribas(at)cttc.es |  * \author Javier Arribas, 2013. jarribas(at)cttc.es, | ||||||
|  * \author Mara Branzanti 2013. mara.branzanti(at)gmail.com |  * \author Mara Branzanti 2013. mara.branzanti(at)gmail.com | ||||||
|  |  * | ||||||
|  * ------------------------------------------------------------------------- |  * ------------------------------------------------------------------------- | ||||||
|  * |  * | ||||||
|  * Copyright (C) 2010-2013  (see AUTHORS file for a list of contributors) |  * Copyright (C) 2010-2013  (see AUTHORS file for a list of contributors) | ||||||
| @@ -40,6 +41,7 @@ | |||||||
|  |  | ||||||
| /*! | /*! | ||||||
|  * \brief This class is a storage and orbital model functions for the Galileo SV ephemeris data as described in Galileo ICD paragraph 5.1.1 |  * \brief This class is a storage and orbital model functions for the Galileo SV ephemeris data as described in Galileo ICD paragraph 5.1.1 | ||||||
|  |  *  (See http://ec.europa.eu/enterprise/policies/satnav/galileo/files/galileo-os-sis-icd-issue1-revision1_en.pdf ) | ||||||
|  * |  * | ||||||
|  */ |  */ | ||||||
| class Galileo_Ephemeris | class Galileo_Ephemeris | ||||||
| @@ -99,56 +101,36 @@ public: | |||||||
|     double sv_clock_relativistic_term(double transmitTime); //!< Satellite Time Correction Algorithm, ICD 5.1.4 |     double sv_clock_relativistic_term(double transmitTime); //!< Satellite Time Correction Algorithm, ICD 5.1.4 | ||||||
|     Galileo_Ephemeris(); |     Galileo_Ephemeris(); | ||||||
|  |  | ||||||
|     /* |  | ||||||
|     template<class Archive> |     template<class Archive> | ||||||
|  |  | ||||||
|      \\brief Serialize is a boost standard method to be called by the boost XML serialization. Here is used to save the ephemeris data on disk file. |     /*! | ||||||
|  |      * \brief Serialize is a boost standard method to be called by the boost XML serialization. Here is used to save the ephemeris data on disk file. | ||||||
|  |      */ | ||||||
|     void serialize(Archive& archive, const unsigned int version) |     void serialize(Archive& archive, const unsigned int version) | ||||||
|     { |     { | ||||||
|         using boost::serialization::make_nvp; |         using boost::serialization::make_nvp; | ||||||
|  |  | ||||||
|         archive & make_nvp("i_satellite_PRN",i_satellite_PRN); // SV PRN NUMBER |         archive & make_nvp("i_satellite_PRN",i_satellite_PRN); | ||||||
|         archive & make_nvp("d_TOW",d_TOW);         //!< Time of GPS Week of the ephemeris set (taken from subframes TOW) [s] |         archive & make_nvp("M0_1", M0_1); | ||||||
|         archive & make_nvp("d_Crs",d_Crs);         //!< Amplitude of the Sine Harmonic Correction Term to the Orbit Radius [m] |         archive & make_nvp("e_1", e_1); | ||||||
|         archive & make_nvp("d_Delta_n",d_Delta_n); //!< Mean Motion Difference From Computed Value [semi-circles/s] |         archive & make_nvp("A_1", A_1); | ||||||
|         archive & make_nvp("d_M_0",d_M_0);         //!< Mean Anomaly at Reference Time [semi-circles] |         archive & make_nvp("OMEGA_0_2", OMEGA_0_2); | ||||||
|         archive & make_nvp("d_Cuc",d_Cuc);         //!< Amplitude of the Cosine Harmonic Correction Term to the Argument of Latitude [rad] |         archive & make_nvp("i_0_2", i_0_2); | ||||||
|         archive & make_nvp("d_e_eccentricity",d_e_eccentricity); //!< Eccentricity [dimensionless] |         archive & make_nvp("omega_2", omega_2); | ||||||
|         archive & make_nvp("d_Cus",d_Cus);         //!< Amplitude of the Sine Harmonic Correction Term to the Argument of Latitude [rad] |         archive & make_nvp("OMEGA_dot_3", OMEGA_dot_3); | ||||||
|         archive & make_nvp("d_sqrt_A",d_sqrt_A);   //!< Square Root of the Semi-Major Axis [sqrt(m)] |         archive & make_nvp("iDot_2", iDot_2); | ||||||
|         archive & make_nvp("d_Toe",d_Toe);         //!< Ephemeris data reference time of week (Ref. 20.3.3.4.3 IS-GPS-200E) [s] |         archive & make_nvp("C_uc_3", C_uc_3); | ||||||
|         archive & make_nvp("d_Toc",d_Toe);         //!< clock data reference time (Ref. 20.3.3.3.3.1 IS-GPS-200E) [s] |         archive & make_nvp("C_us_3", C_us_3); | ||||||
|         archive & make_nvp("d_Cic",d_Cic);         //!< Amplitude of the Cosine Harmonic Correction Term to the Angle of Inclination [rad] |         archive & make_nvp("C_rc_3", C_rc_3); | ||||||
|         archive & make_nvp("d_OMEGA0",d_OMEGA0);   //!< Longitude of Ascending Node of Orbit Plane at Weekly Epoch [semi-circles] |         archive & make_nvp("C_rs_3", C_rs_3); | ||||||
|         archive & make_nvp("d_Cis",d_Cis);         //!< Amplitude of the Sine Harmonic Correction Term to the Angle of Inclination [rad] |         archive & make_nvp("C_ic_4", C_ic_4); | ||||||
|         archive & make_nvp("d_i_0",d_i_0);         //!< Inclination Angle at Reference Time [semi-circles] |         archive & make_nvp("C_is_4", C_is_4); | ||||||
|         archive & make_nvp("d_Crc",d_Crc);         //!< Amplitude of the Cosine Harmonic Correction Term to the Orbit Radius [m] |         archive & make_nvp("t0e_1", t0e_1); | ||||||
|         archive & make_nvp("d_OMEGA",d_OMEGA);     //!< Argument of Perigee [semi-cicles] |         archive & make_nvp("t0c_4", t0c_4); | ||||||
|         archive & make_nvp("d_OMEGA_DOT",d_OMEGA_DOT);      //!< Rate of Right Ascension [semi-circles/s] |         archive & make_nvp("af0_4", af0_4); | ||||||
|         archive & make_nvp("d_IDOT",d_IDOT);       //!< Rate of Inclination Angle [semi-circles/s] |         archive & make_nvp("af1_4", af1_4); | ||||||
|         archive & make_nvp("i_code_on_L2",i_code_on_L2);        //!< If 1, P code ON in L2;  if 2, C/A code ON in L2; |         archive & make_nvp("af2_4", af2_4); | ||||||
|         archive & make_nvp("i_GPS_week",i_GPS_week);          //!< GPS week number, aka WN [week] |  | ||||||
|         archive & make_nvp("b_L2_P_data_flag",b_L2_P_data_flag);   //!< When true, indicates that the NAV data stream was commanded OFF on the P-code of the L2 channel |  | ||||||
|         archive & make_nvp("i_SV_accuracy",i_SV_accuracy);       //!< User Range Accuracy (URA) index of the SV (reference paragraph 6.2.1) for the standard positioning service user (Ref 20.3.3.3.1.3 IS-GPS-200E) |  | ||||||
|         archive & make_nvp("i_SV_health",i_SV_health); |  | ||||||
|         archive & make_nvp("d_TGD",d_TGD);         //!< Estimated Group Delay Differential: L1-L2 correction term only for the benefit of "L1 P(Y)" or "L2 P(Y)" s users [s] |  | ||||||
|         archive & make_nvp("d_IODC",d_IODC);       //!< Issue of Data, Clock |  | ||||||
|         archive & make_nvp("i_AODO",i_AODO);       //!< Age of Data Offset (AODO) term for the navigation message correction table (NMCT) contained in subframe 4 (reference paragraph 20.3.3.5.1.9) [s] |  | ||||||
|  |  | ||||||
|         archive & make_nvp("b_fit_interval_flag",b_fit_interval_flag);//!< indicates the curve-fit interval used by the CS (Block II/IIA/IIR/IIR-M/IIF) and SS (Block IIIA) in determining the ephemeris parameters, as follows: 0 = 4 hours, 1 = greater than 4 hours. |  | ||||||
|         archive & make_nvp("d_spare1",d_spare1); |  | ||||||
|         archive & make_nvp("d_spare2",d_spare2); |  | ||||||
|  |  | ||||||
|         archive & make_nvp("d_A_f0",d_A_f0);       //!< Coefficient 0 of code phase offset model [s] |  | ||||||
|         archive & make_nvp("d_A_f1",d_A_f1);       //!< Coefficient 1 of code phase offset model [s/s] |  | ||||||
|         archive & make_nvp("d_A_f2",d_A_f2);       //!< Coefficient 2 of code phase offset model [s/s^2] |  | ||||||
|  |  | ||||||
|         archive & make_nvp("b_integrity_status_flag",b_integrity_status_flag); |  | ||||||
|         archive & make_nvp("b_alert_flag",b_alert_flag);     //!< If true, indicates  that the SV URA may be worse than indicated in d_SV_accuracy, use that SV at our own risk. |  | ||||||
|         archive & make_nvp("b_antispoofing_flag",b_antispoofing_flag); //!<  If true, the AntiSpoofing mode is ON in that SV |  | ||||||
|     } |     } | ||||||
|      */ |  | ||||||
| }; | }; | ||||||
|  |  | ||||||
| #endif | #endif | ||||||
|   | |||||||
| @@ -51,17 +51,17 @@ | |||||||
| /*! | /*! | ||||||
|  * \brief This class handles the Galileo I/NAV Data message, as described in the |  * \brief This class handles the Galileo I/NAV Data message, as described in the | ||||||
|  * Galileo Open Service Signal in Space Interface Control Document (OS SIS ICD), Issue 1.1 (Sept 2010). |  * Galileo Open Service Signal in Space Interface Control Document (OS SIS ICD), Issue 1.1 (Sept 2010). | ||||||
|  |  * See http://ec.europa.eu/enterprise/policies/satnav/galileo/files/galileo-os-sis-icd-issue1-revision1_en.pdf | ||||||
|  */ |  */ | ||||||
| class Galileo_Navigation_Message | class Galileo_Navigation_Message | ||||||
| { | { | ||||||
| private: | private: | ||||||
|     bool CRC_test(std::bitset<GALILEO_DATA_FRAME_BITS> bits,boost::uint32_t checksum); |     bool CRC_test(std::bitset<GALILEO_DATA_FRAME_BITS> bits, boost::uint32_t checksum); | ||||||
|     bool read_navigation_bool(std::bitset<GALILEO_DATA_JK_BITS> bits, const std::vector<std::pair<int,int> > parameter); |     bool read_navigation_bool(std::bitset<GALILEO_DATA_JK_BITS> bits, const std::vector<std::pair<int,int> > parameter); | ||||||
|     //void print_galileo_word_bytes(unsigned int GPS_word); |     //void print_galileo_word_bytes(unsigned int GPS_word); | ||||||
|     unsigned long int read_navigation_unsigned(std::bitset<GALILEO_DATA_JK_BITS> bits, const std::vector< std::pair<int,int> > parameter); |     unsigned long int read_navigation_unsigned(std::bitset<GALILEO_DATA_JK_BITS> bits, const std::vector< std::pair<int,int> > parameter); | ||||||
|     unsigned long int read_page_type_unsigned(std::bitset<GALILEO_PAGE_TYPE_BITS> bits, const std::vector< std::pair<int,int> > parameter); |     unsigned long int read_page_type_unsigned(std::bitset<GALILEO_PAGE_TYPE_BITS> bits, const std::vector< std::pair<int,int> > parameter); | ||||||
|     signed long int read_navigation_signed(std::bitset<GALILEO_DATA_JK_BITS> bits, const std::vector<std::pair<int,int> > parameter); |     signed long int read_navigation_signed(std::bitset<GALILEO_DATA_JK_BITS> bits, const std::vector<std::pair<int,int> > parameter); | ||||||
|     int x,y; |  | ||||||
| public: | public: | ||||||
|     int Page_type_time_stamp; |     int Page_type_time_stamp; | ||||||
|     int flag_even_word; |     int flag_even_word; | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| /* | /*! | ||||||
|  * \file sbas_ephemeris.h |  * \file sbas_ephemeris.h | ||||||
|  * \brief  Interface of a SBAS REFERENCE LOCATION storage |  * \brief  Interface of a SBAS REFERENCE LOCATION storage | ||||||
|  * |  | ||||||
|  * \author Daniel Fehr, 2013. daniel.co(at)bluewin.ch |  * \author Daniel Fehr, 2013. daniel.co(at)bluewin.ch | ||||||
|  * |  * | ||||||
|  * ------------------------------------------------------------------------- |  * ------------------------------------------------------------------------- | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez