⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simulator.h

📁 GPS卫星导航接收机的仿真程序。用C语言实现
💻 H
字号:
#ifndef _SIMULATOR_H_	

#define	 _SIMULATOR_H_

#define		SUCCESS					0
#define		FAILURE					-1

#define		LIGHTSPEED				299792458
#define		FrequencyL1				1575.42e6
#define		ChipRate					1.023e6
#define		SIG_BW					2e6
#define		PI							3.1415926535897932384626
#define		SAT_NUM					37

#define		ELEVCUTOFF				5					// In degrees

#define		NOISE_DENSITY			-203

#define		TrajTD					0.02

#define		ENUPOSFILE				1
#define		XYZPOSFILE				(1-ENUPOSFILE)

#define		WAVEINTERVAL			(1e-3/1023.0/100.0)
#define		WAVEFORM_LENGTH		800

#define     TableLength         16


typedef struct option
{
	double	IF_Frequency;
	double	Sampling_Frequency;
	double	CN0;
	double	Filter_BandWidth;
	int		Quantization_Bit;
	int		IQ_Switch;

	int		Iono_Switch;
	int		Tropo_Switch;
	int		SatClkErr_Switch;
	int		RxClkErr_Switch;
	int		SatObitErr_Switch;
	int		Multipath_Switch;

	char	Traj_filename[100];
	char	Eph_filename[100];
	char	Output_filename_I[100];
	char	Output_filename_Q[100];
	double  temperature;
	double  pressure;
	double  relativehumidity;
	double  alpha[4];
	double  beta[4];
}	OPTION;


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -