mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-05 01:26:24 +00:00
dc18980194
GNSS-SDR.internal_fs_sps The old name was misleading, since the units are samples per second and not Hertz. Backward compatibility is kept, so this change does not break any existing configuration.
204 lines
6.8 KiB
Plaintext
204 lines
6.8 KiB
Plaintext
; Configuration file for using USRP1 as a RF front-end for GPS L2C signals
|
|
; Run:
|
|
; gnss-sdr --config_file=/path/to/gnss-sdr_GPS_L2C_USRP1_realtime.conf
|
|
;
|
|
[GNSS-SDR]
|
|
|
|
;######### GLOBAL OPTIONS ##################
|
|
;internal_fs_sps: Internal signal sampling frequency after the signal conditioning stage [samples per second].
|
|
GNSS-SDR.internal_fs_sps=2000000
|
|
|
|
|
|
;######### SUPL RRLP GPS assistance configuration #####
|
|
; Check http://www.mcc-mnc.com/
|
|
; On Android: https://play.google.com/store/apps/details?id=net.its_here.cellidinfo&hl=en
|
|
GNSS-SDR.SUPL_gps_enabled=false
|
|
GNSS-SDR.SUPL_read_gps_assistance_xml=true
|
|
GNSS-SDR.SUPL_gps_ephemeris_server=supl.google.com
|
|
GNSS-SDR.SUPL_gps_ephemeris_port=7275
|
|
GNSS-SDR.SUPL_gps_acquisition_server=supl.google.com
|
|
GNSS-SDR.SUPL_gps_acquisition_port=7275
|
|
GNSS-SDR.SUPL_MCC=244
|
|
GNSS-SDR.SUPL_MNS=5
|
|
GNSS-SDR.SUPL_LAC=0x59e2
|
|
GNSS-SDR.SUPL_CI=0x31b0
|
|
|
|
;######### SIGNAL_SOURCE CONFIG ############
|
|
SignalSource.implementation=UHD_Signal_Source
|
|
SignalSource.item_type=gr_complex
|
|
SignalSource.sampling_frequency=2000000
|
|
SignalSource.freq=1227600000
|
|
SignalSource.gain=60
|
|
SignalSource.subdevice=A:0
|
|
SignalSource.samples=0
|
|
SignalSource.repeat=false
|
|
SignalSource.dump=false
|
|
SignalSource.dump_filename=../data/signal_source.dat
|
|
SignalSource.enable_throttle_control=false
|
|
|
|
|
|
;######### SIGNAL_CONDITIONER CONFIG ############
|
|
SignalConditioner.implementation=Signal_Conditioner
|
|
|
|
;######### DATA_TYPE_ADAPTER CONFIG ############
|
|
DataTypeAdapter.implementation=Pass_Through
|
|
DataTypeAdapter.item_type=gr_complex
|
|
|
|
|
|
;######### INPUT_FILTER 0 CONFIG ############
|
|
;## Filter the input data. Can be combined with frequency translation for IF signals
|
|
|
|
;#implementation: Use [Pass_Through] or [Fir_Filter] or [Freq_Xlating_Fir_Filter]
|
|
;#[Pass_Through] disables this block
|
|
;#[Fir_Filter] enables a FIR Filter
|
|
;#[Freq_Xlating_Fir_Filter] enables FIR filter and a composite frequency translation that shifts IF down to zero Hz.
|
|
|
|
InputFilter.implementation=Freq_Xlating_Fir_Filter
|
|
|
|
;#dump: Dump the filtered data to a file.
|
|
InputFilter.dump=false
|
|
|
|
;#dump_filename: Log path and filename.
|
|
InputFilter.dump_filename=../data/input_filter.dat
|
|
|
|
;#The following options are used in the filter design of Fir_Filter and Freq_Xlating_Fir_Filter implementation.
|
|
;#These options are based on parameters of gnuradio's function: gr_remez.
|
|
;#These function calculates the optimal (in the Chebyshev/minimax sense) FIR filter inpulse reponse given a set of band edges,
|
|
;#the desired reponse on those bands, and the weight given to the error in those bands.
|
|
|
|
;#input_item_type: Type and resolution for input signal samples. Use only gr_complex in this version.
|
|
InputFilter.input_item_type=gr_complex
|
|
|
|
;#outut_item_type: Type and resolution for output filtered signal samples. Use only gr_complex in this version.
|
|
InputFilter.output_item_type=gr_complex
|
|
|
|
;#taps_item_type: Type and resolution for the taps of the filter. Use only float in this version.
|
|
InputFilter.taps_item_type=float
|
|
|
|
;#number_of_taps: Number of taps in the filter. Increasing this parameter increases the processing time
|
|
InputFilter.number_of_taps=5
|
|
|
|
;#number_of _bands: Number of frequency bands in the filter.
|
|
InputFilter.number_of_bands=2
|
|
|
|
;#bands: frequency at the band edges [ b1 e1 b2 e2 b3 e3 ...].
|
|
;#Frequency is in the range [0, 1], with 1 being the Nyquist frequency (Fs/2)
|
|
;#The number of band_begin and band_end elements must match the number of bands
|
|
|
|
InputFilter.band1_begin=0.0
|
|
InputFilter.band1_end=0.45
|
|
InputFilter.band2_begin=0.55
|
|
InputFilter.band2_end=1.0
|
|
|
|
;#ampl: desired amplitude at the band edges [ a(b1) a(e1) a(b2) a(e2) ...].
|
|
;#The number of ampl_begin and ampl_end elements must match the number of bands
|
|
|
|
InputFilter.ampl1_begin=1.0
|
|
InputFilter.ampl1_end=1.0
|
|
InputFilter.ampl2_begin=0.0
|
|
InputFilter.ampl2_end=0.0
|
|
|
|
;#band_error: weighting applied to each band (usually 1).
|
|
;#The number of band_error elements must match the number of bands
|
|
InputFilter.band1_error=1.0
|
|
InputFilter.band2_error=1.0
|
|
|
|
;#filter_type: one of "bandpass", "hilbert" or "differentiator"
|
|
InputFilter.filter_type=bandpass
|
|
|
|
;#grid_density: determines how accurately the filter will be constructed.
|
|
;The minimum value is 16; higher values are slower to compute the filter.
|
|
InputFilter.grid_density=16
|
|
|
|
;#The following options are used only in Freq_Xlating_Fir_Filter implementation.
|
|
;#InputFilter.IF is the intermediate frequency (in Hz) shifted down to zero Hz
|
|
|
|
InputFilter.sampling_frequency=20000000
|
|
|
|
InputFilter.IF=-1600000
|
|
|
|
;# Decimation factor after the frequency tranaslating block
|
|
InputFilter.decimation_factor=1
|
|
|
|
;######### RESAMPLER CONFIG ############
|
|
Resampler.implementation=Pass_Through
|
|
Resampler.dump=false
|
|
Resampler.dump_filename=../data/resampler.dat
|
|
Resampler.item_type=gr_complex
|
|
Resampler.sample_freq_in=2000000
|
|
Resampler.sample_freq_out=2000000
|
|
|
|
|
|
;######### CHANNELS GLOBAL CONFIG ############
|
|
;#count: Number of available GPS satellite channels.
|
|
Channels_2S.count=1
|
|
;#in_acquisition: Number of channels simultaneously acquiring for the whole receiver
|
|
Channels.in_acquisition=1
|
|
|
|
Channel.signal=2S
|
|
|
|
Channel0.signal=2S
|
|
Channel1.signal=2S
|
|
Channel2.signal=2S
|
|
Channel3.signal=2S
|
|
Channel4.signal=2S
|
|
Channel5.signal=2S
|
|
Channel6.signal=2S
|
|
Channel7.signal=2S
|
|
;Channel8.signal=2S
|
|
;Channel9.signal=2S
|
|
;Channel10.signal=2S
|
|
;Channel11.signal=2S
|
|
|
|
|
|
|
|
;######### ACQUISITION GLOBAL CONFIG ############
|
|
|
|
;# GPS L2C M
|
|
Acquisition_2S.dump=false
|
|
Acquisition_2S.dump_filename=./acq_dump.dat
|
|
Acquisition_2S.item_type=gr_complex
|
|
Acquisition_2S.if=0
|
|
Acquisition_2S.implementation=GPS_L2_M_PCPS_Acquisition
|
|
Acquisition_2S.threshold=0.0013
|
|
;Acquisition_2S.pfa=0.001
|
|
Acquisition_2S.doppler_max=10000
|
|
Acquisition_2S.doppler_min=-10000
|
|
Acquisition_2S.doppler_step=100
|
|
Acquisition_2S.max_dwells=1
|
|
|
|
Tracking_2S.implementation=GPS_L2_M_DLL_PLL_Tracking
|
|
Tracking_2S.item_type=gr_complex
|
|
Tracking_2S.if=0
|
|
Tracking_2S.dump=true
|
|
Tracking_2S.dump_filename=./tracking_ch_
|
|
Tracking_2S.pll_bw_hz=1.5;
|
|
Tracking_2S.dll_bw_hz=0.3;
|
|
Tracking_2S.order=3;
|
|
Tracking_2S.early_late_space_chips=0.5;
|
|
|
|
;######### TELEMETRY DECODER GPS CONFIG ############
|
|
TelemetryDecoder_2S.implementation=GPS_L2C_Telemetry_Decoder
|
|
TelemetryDecoder_2S.dump=false
|
|
|
|
;######### OBSERVABLES CONFIG ############.
|
|
Observables.implementation=Hybrid_Observables
|
|
Observables.dump=false
|
|
Observables.dump_filename=./observables.dat
|
|
|
|
;######### PVT CONFIG ############
|
|
PVT.implementation=RTKLIB_PVT
|
|
PVT.positioning_mode=PPP_Static ; options: Single, Static, Kinematic, PPP_Static, PPP_Kinematic
|
|
PVT.iono_model=Broadcast ; options: OFF, Broadcast, SBAS, Iono-Free-LC, Estimate_STEC, IONEX
|
|
PVT.trop_model=Saastamoinen ; options: OFF, Saastamoinen, SBAS, Estimate_ZTD, Estimate_ZTD_Grad
|
|
PVT.output_rate_ms=100
|
|
PVT.display_rate_ms=500
|
|
PVT.dump_filename=./PVT
|
|
PVT.nmea_dump_filename=./gnss_sdr_pvt.nmea;
|
|
PVT.flag_nmea_tty_port=false;
|
|
PVT.nmea_dump_devname=/dev/pts/4
|
|
PVT.flag_rtcm_server=false
|
|
PVT.flag_rtcm_tty_port=false
|
|
PVT.rtcm_dump_devname=/dev/pts/1
|
|
PVT.dump=false
|