1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-07 10:43:58 +00:00

The class gps_navigation_message is now Gps_Navigation_Message, following the coding style.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@122 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
Carles Fernandez
2012-01-12 00:47:32 +00:00
parent 76b33f232e
commit 63377a4ece
16 changed files with 70 additions and 68 deletions

View File

@@ -41,7 +41,7 @@ gps_l1_ca_ls_pvt::gps_l1_ca_ls_pvt(int nchannels,std::string dump_filename, bool
{
// init empty ephemeris for all the available GNSS channels
d_nchannels = nchannels;
d_ephemeris = new gps_navigation_message[nchannels];
d_ephemeris = new Gps_Navigation_Message[nchannels];
d_dump_filename = dump_filename;
d_flag_dump_enabled = flag_dump_to_file;
d_averaging_depth = 0;

View File

@@ -56,7 +56,7 @@ private:
//void topocent();
public:
int d_nchannels; //! Number of available channels for positioning
gps_navigation_message* d_ephemeris;
Gps_Navigation_Message* d_ephemeris;
double d_pseudoranges_time_ms;
double d_latitude_d; //! Latitude in degrees
double d_longitude_d; //! Longitude in degrees

View File

@@ -36,7 +36,7 @@
#include <iostream>
#include <fstream>
#include "gps_l1_ca_ls_pvt.h"
#include "gps_navigation_message.h"
/*!
* \brief Prints PVT information to OGC KML format file (can be viewed with Google Earth)

View File

@@ -322,7 +322,7 @@ std::string Rinex_Printer::getLocalTime()
}
void Rinex_Printer::rinex_nav_header(std::ofstream& out, gps_navigation_message nav_msg)
void Rinex_Printer::rinex_nav_header(std::ofstream& out, Gps_Navigation_Message nav_msg)
{
std::string line;
@@ -498,7 +498,7 @@ void Rinex_Printer::rinex_nav_header(std::ofstream& out, gps_navigation_message
void Rinex_Printer::log_rinex_nav(std::ofstream& out, std::map<int,gps_navigation_message> nav_msg)
void Rinex_Printer::log_rinex_nav(std::ofstream& out, std::map<int,Gps_Navigation_Message> nav_msg)
{
std::string line;
for (int i=0; i < (int)nav_msg.size(); i++)
@@ -789,7 +789,7 @@ void Rinex_Printer::log_rinex_nav(std::ofstream& out, std::map<int,gps_navigatio
void Rinex_Printer::rinex_obs_header(std::ofstream& out, gps_navigation_message nav_msg)
void Rinex_Printer::rinex_obs_header(std::ofstream& out, Gps_Navigation_Message nav_msg)
{
std::string line;
@@ -969,7 +969,7 @@ void Rinex_Printer::rinex_obs_header(std::ofstream& out, gps_navigation_message
void Rinex_Printer::log_rinex_obs(std::ofstream& out, gps_navigation_message nav_msg, std::map<int,float> pseudoranges)
void Rinex_Printer::log_rinex_obs(std::ofstream& out, Gps_Navigation_Message nav_msg, std::map<int,float> pseudoranges)
{
std::string line;
@@ -1081,7 +1081,7 @@ int Rinex_Printer::signalStrength(double snr)
boost::posix_time::ptime Rinex_Printer::compute_time(gps_navigation_message nav_msg)
boost::posix_time::ptime Rinex_Printer::compute_time(Gps_Navigation_Message nav_msg)
{
// if we are processing a file -> wait to leap second to resolve the ambiguity else take the week from the local system time
//: idea resolve the ambiguity with the leap second http://www.colorado.edu/geography/gcraft/notes/gps/gpseow.htm

View File

@@ -85,27 +85,27 @@ public:
/*!
* \brief Generates the Navigation Data header
*/
void rinex_nav_header(std::ofstream& out, gps_navigation_message nav);
void rinex_nav_header(std::ofstream& out, Gps_Navigation_Message nav);
/*!
* \brief Generates the Observation data header
*/
void rinex_obs_header(std::ofstream& out, gps_navigation_message nav);
void rinex_obs_header(std::ofstream& out, Gps_Navigation_Message nav);
/*!
* \brief Computes the UTC time and returns a boost::posix_time::ptime object
*/
boost::posix_time::ptime compute_time(gps_navigation_message nav_msg);
boost::posix_time::ptime compute_time(Gps_Navigation_Message nav_msg);
/*!
* \brief Writes data from the navigation message into the RINEX file
*/
void log_rinex_nav(std::ofstream& out, std::map<int,gps_navigation_message> nav_msg);
void log_rinex_nav(std::ofstream& out, std::map<int,Gps_Navigation_Message> nav_msg);
/*!
* \brief Writes observables into the RINEX file
*/
void log_rinex_obs(std::ofstream& out, gps_navigation_message nav_msg, std::map<int,float> pseudoranges);
void log_rinex_obs(std::ofstream& out, Gps_Navigation_Message nav_msg, std::map<int,float> pseudoranges);
std::map<std::string,std::string> satelliteSystem; //<! GPS, GLONASS, SBAS payload, Galileo or Compass
std::map<std::string,std::string> observationType; //<! PSEUDORANGE, CARRIER_PHASE, DOPPLER, SIGNAL_STRENGTH