RXtoRINEX  V2.1
RXtoRINEX provides tools to collect data from GPS / GNSS receivers in mobile devices, convert them to RINEX or RTK formats, and process RINEX files.
Public Member Functions | List of all members
RTKobservation Class Reference

#include <RTKobservation.h>

Public Member Functions

 RTKobservation (string prg, string in)
 
 ~RTKobservation ()
 
void setId (string prg, string in)
 
void setMasks (double elev, double snr)
 
void setStartTime ()
 
void setStartTime (int week, double tow)
 
void setEndTime ()
 
void setEndTime (int week, double tow)
 
void setPosition (int week, double tow, double x, double y, double z, int qlty, int nSat)
 
void printHeader (FILE *out)
 
void printSolution (FILE *out)
 

Detailed Description

RTKobservation class defines data to be used for storing and further printing of a RTK file header and the position solution data of each epoch.

A detailed definition of the format used for RTK data files can be found in the RTKLIB portal (http://www.rtklib.com/).

Constructor & Destructor Documentation

RTKobservation::RTKobservation ( string  prg,
string  in 
)

RTKobservation constructor providing the data required: the program name and input file name

Parameters
prgthe program used to generate the RTK file
inthe input file name used to generate the RTK file
RTKobservation::~RTKobservation ( )

Destructor.

Member Function Documentation

void RTKobservation::printHeader ( FILE *  out)

printHeader prints header data to the RTK file.

Parameters
outthe FILE were header will be printed
void RTKobservation::printSolution ( FILE *  out)

printSolution prints a line to the RTK file with solution data from the current epoch.

Parameters
outthe FILE were header will be printed
void RTKobservation::setEndTime ( )

setEndTime sets end time in the header for the RTK file as the gps Week and TOW of the current epoch.

void RTKobservation::setEndTime ( int  week,
double  tow 
)

setEndTime sets end time in the header for the RTK file from the given gps Week and TOW

Parameters
weekthe gps week value
towthe gps time of week value
void RTKobservation::setId ( string  prg,
string  in 
)

setId sets identification data in the header of the RTK file.

Parameters
prgthe name of program used to generate positioning data
inthe input file from were data have been extracted
void RTKobservation::setMasks ( double  elev,
double  snr 
)

setMasks sets mask data in the header of the RTK file.

Parameters
elevthe elevation mask value
snrthe signal to noise ratio value
void RTKobservation::setPosition ( int  week,
double  tow,
double  x,
double  y,
double  z,
int  qlty,
int  nSat 
)

setPosition sets position solution data of the current epoch

Parameters
weekthe gps week value
towthe gps time of week value
xthe X coordinate value computed bu the receiver
ythe Y coordinate value computed bu the receiver
zthe Z coordinate value computed bu the receiver
qltythe quality of the solution
nSatthe number of satellites used to compute the solution
void RTKobservation::setStartTime ( )

setStartTime sets start time in the header for the RTK file as the gps Week and TOW of the current epoch.

void RTKobservation::setStartTime ( int  week,
double  tow 
)

setStartTime sets start time in the header for the RTK file from the given gps Week and TOW

Parameters
weekthe gps week value
towthe gps time of week value

The documentation for this class was generated from the following files: