PCodeConst.hpp File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  gpstk

Enumerations

enum  codeType { P_CODE, Y_CODE, BOTH }
 PCodeConst.hpp maintains a variety of "magic numbers" related to P-code generation and used throughout the P-code generator. More...

Variables

const int MAX_BIT = 32
 Number of bits assumed to be in a unsigned long int.
const int MAX_PRN_CODE = 37
 Maximum PRN Code number (1-n).
const long NUM_6SEC_WORDS = 1918125
 Number of 4 byte unsigned ints necessary to hold 6 sec of P-code.
const long NUM_X2_WORDS = 1918131
 Number of 4 byte unsigned ints necessary to hold an X2 sequence (with leading delay).
const unsigned int X1A_INIT = 0x0248
 INIT variables are starting conditions of 12-bit registers (IS-GPS-200).
const unsigned int X1B_INIT = 0x0554
const unsigned int X2A_INIT = 0x0925
const unsigned int X2B_INIT = 0x0554
const unsigned int X1A_TAPS = 0x0CA0
 TAPS variables denote which stages of 12-bit registers are XOR'd.
const unsigned int X1B_TAPS = 0x0F93
const unsigned int X2A_TAPS = 0x0FDD
const unsigned int X2B_TAPS = 0x098E
const int XA_MAX_EPOCH = 3750
 X?_MAX_EPOCH is the maximum number of epochs in a sequence.
const int XB_MAX_EPOCH = 3749
const int XA_COUNT = 4092
 X?_COUNT is the number of bits in an epoch.
const int XB_COUNT = 4093
const long XA_EPOCH_DELAY = 0
 XA_EPOCH_DELAY and XB_EPOCH_DELAY allow for precession of X1B and X2B wrt to X1A and X2A at the end of each X1A epoch and X2A epoch.
const long XB_EPOCH_DELAY = 343
const long X2A_EPOCH_DELAY = 37
 The 37 chip delay at the end of every X2A epoch.


Enumeration Type Documentation

enum codeType
 

PCodeConst.hpp maintains a variety of "magic numbers" related to P-code generation and used throughout the P-code generator.

Enumeration values:
P_CODE 
Y_CODE 
BOTH 

Definition at line 54 of file PCodeConst.hpp.

Referenced by CodeSmoother::CodeSmoother(), CodeBuffer::getPYFlag(), OneFreqCSDetector::OneFreqCSDetector(), PCSmoother::PCSmoother(), PhaseCodeAlignment::PhaseCodeAlignment(), PhaseCodeAlignment::Process(), PCSmoother::Process(), OneFreqCSDetector::Process(), CodeSmoother::Process(), PhaseCodeAlignment::setCodeType(), OneFreqCSDetector::setCodeType(), and CodeSmoother::setCodeType().


Variable Documentation

const int MAX_BIT = 32
 

Number of bits assumed to be in a unsigned long int.

Definition at line 57 of file PCodeConst.hpp.

Referenced by GenXSequence::GenXSequence(), CodeBuffer::getBit(), main(), X2Sequence::operator[](), and GenXSequence::operator[]().

const int MAX_PRN_CODE = 37
 

Maximum PRN Code number (1-n).

Definition at line 60 of file PCodeConst.hpp.

const long NUM_6SEC_WORDS = 1918125
 

Number of 4 byte unsigned ints necessary to hold 6 sec of P-code.

Definition at line 63 of file PCodeConst.hpp.

Referenced by main().

const long NUM_X2_WORDS = 1918131
 

Number of 4 byte unsigned ints necessary to hold an X2 sequence (with leading delay).

Definition at line 66 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory(), and X2Sequence::operator[]().

const unsigned int X1A_INIT = 0x0248
 

INIT variables are starting conditions of 12-bit registers (IS-GPS-200).

Definition at line 69 of file PCodeConst.hpp.

Referenced by X1Sequence::allocateMemory().

const unsigned int X1A_TAPS = 0x0CA0
 

TAPS variables denote which stages of 12-bit registers are XOR'd.

Definition at line 75 of file PCodeConst.hpp.

Referenced by X1Sequence::allocateMemory().

const unsigned int X1B_INIT = 0x0554
 

Definition at line 70 of file PCodeConst.hpp.

Referenced by X1Sequence::allocateMemory().

const unsigned int X1B_TAPS = 0x0F93
 

Definition at line 76 of file PCodeConst.hpp.

Referenced by X1Sequence::allocateMemory().

const long X2A_EPOCH_DELAY = 37
 

The 37 chip delay at the end of every X2A epoch.

Definition at line 96 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory(), and SVPCodeGen::getCurrentSixSeconds().

const unsigned int X2A_INIT = 0x0925
 

Definition at line 71 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory().

const unsigned int X2A_TAPS = 0x0FDD
 

Definition at line 77 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory().

const unsigned int X2B_INIT = 0x0554
 

Definition at line 72 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory().

const unsigned int X2B_TAPS = 0x098E
 

Definition at line 78 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory().

const int XA_COUNT = 4092
 

X?_COUNT is the number of bits in an epoch.

Definition at line 85 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory(), X1Sequence::allocateMemory(), and main().

const long XA_EPOCH_DELAY = 0
 

XA_EPOCH_DELAY and XB_EPOCH_DELAY allow for precession of X1B and X2B wrt to X1A and X2A at the end of each X1A epoch and X2A epoch.

End of week delays are handled elsewhere.

Definition at line 92 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory(), X1Sequence::allocateMemory(), and main().

const int XA_MAX_EPOCH = 3750
 

X?_MAX_EPOCH is the maximum number of epochs in a sequence.

Definition at line 81 of file PCodeConst.hpp.

Referenced by main().

const int XB_COUNT = 4093
 

Definition at line 86 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory(), and X1Sequence::allocateMemory().

const long XB_EPOCH_DELAY = 343
 

Definition at line 93 of file PCodeConst.hpp.

Referenced by X2Sequence::allocateMemory(), and X1Sequence::allocateMemory().

const int XB_MAX_EPOCH = 3749
 

Definition at line 82 of file PCodeConst.hpp.


Generated on Wed Sep 8 03:31:17 2010 for GPS ToolKit Software Library by  doxygen 1.3.9.1