2015-11-01 12:00:56 +00:00
|
|
|
; 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
|
2015-06-22 14:12:53 +00:00
|
|
|
;
|
|
|
|
[GNSS-SDR]
|
|
|
|
|
|
|
|
;######### GLOBAL OPTIONS ##################
|
2017-09-02 09:24:44 +00:00
|
|
|
;internal_fs_sps: Internal signal sampling frequency after the signal conditioning stage [samples per second].
|
|
|
|
GNSS-SDR.internal_fs_sps=2000000
|
2015-06-22 14:12:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
;######### SUPL RRLP GPS assistance configuration #####
|
2016-05-15 12:27:51 +00:00
|
|
|
; Check http://www.mcc-mnc.com/
|
|
|
|
; On Android: https://play.google.com/store/apps/details?id=net.its_here.cellidinfo&hl=en
|
2015-06-22 14:12:53 +00:00
|
|
|
GNSS-SDR.SUPL_gps_enabled=false
|
|
|
|
GNSS-SDR.SUPL_read_gps_assistance_xml=true
|
2016-05-07 08:00:49 +00:00
|
|
|
GNSS-SDR.SUPL_gps_ephemeris_server=supl.google.com
|
2015-06-22 14:12:53 +00:00
|
|
|
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
|
2015-11-01 12:00:56 +00:00
|
|
|
SignalSource.dump_filename=../data/signal_source.dat
|
2015-06-22 14:12:53 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
InputFilter.dump_filename=../data/input_filter.dat
|
|
|
|
|
2015-11-01 12:00:56 +00:00
|
|
|
;#The following options are used in the filter design of Fir_Filter and Freq_Xlating_Fir_Filter implementation.
|
2015-06-22 14:12:53 +00:00
|
|
|
;#These options are based on parameters of gnuradio's function: gr_remez.
|
2018-01-29 22:30:50 +00:00
|
|
|
;#This function calculates the optimal (in the Chebyshev/minimax sense) FIR filter impulse response given a set of band edges,
|
|
|
|
;#the desired response on those bands, and the weight given to the error in those bands.
|
2015-06-22 14:12:53 +00:00
|
|
|
|
2018-01-29 22:30:50 +00:00
|
|
|
|
|
|
|
;#input_item_type: Type and resolution for input signal samples.
|
2015-06-22 14:12:53 +00:00
|
|
|
InputFilter.input_item_type=gr_complex
|
|
|
|
|
2018-01-29 22:30:50 +00:00
|
|
|
;#outut_item_type: Type and resolution for output filtered signal samples.
|
2015-06-22 14:12:53 +00:00
|
|
|
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
|
|
|
|
|
2015-11-01 12:00:56 +00:00
|
|
|
;#filter_type: one of "bandpass", "hilbert" or "differentiator"
|
2015-06-22 14:12:53 +00:00
|
|
|
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
|
|
|
|
|
2018-01-29 22:30:50 +00:00
|
|
|
;#dump: Dump the filtered data to a file.
|
|
|
|
InputFilter.dump=false
|
|
|
|
|
|
|
|
;#dump_filename: Log path and filename.
|
|
|
|
|
|
|
|
|
2015-06-22 14:12:53 +00:00
|
|
|
;######### 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
|
2018-01-29 22:30:50 +00:00
|
|
|
Acquisition_2S.implementation=GPS_L2_M_PCPS_Acquisition
|
2015-06-22 14:12:53 +00:00
|
|
|
Acquisition_2S.item_type=gr_complex
|
|
|
|
Acquisition_2S.if=0
|
2015-11-01 12:00:56 +00:00
|
|
|
Acquisition_2S.threshold=0.0013
|
2015-06-22 14:12:53 +00:00
|
|
|
;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
|
2018-01-29 22:30:50 +00:00
|
|
|
Acquisition_2S.dump=false
|
|
|
|
Acquisition_2S.dump_filename=./acq_dump.dat
|
|
|
|
|
2015-06-22 14:12:53 +00:00
|
|
|
|
2018-01-29 22:30:50 +00:00
|
|
|
;######### TRACKING GLOBAL CONFIG ############
|
2015-06-22 14:12:53 +00:00
|
|
|
Tracking_2S.implementation=GPS_L2_M_DLL_PLL_Tracking
|
|
|
|
Tracking_2S.item_type=gr_complex
|
|
|
|
Tracking_2S.if=0
|
|
|
|
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;
|
2018-01-29 22:30:50 +00:00
|
|
|
Tracking_2S.dump=true
|
|
|
|
Tracking_2S.dump_filename=./tracking_ch_
|
|
|
|
|
2015-06-22 14:12:53 +00:00
|
|
|
|
|
|
|
;######### TELEMETRY DECODER GPS CONFIG ############
|
2016-11-03 18:33:04 +00:00
|
|
|
TelemetryDecoder_2S.implementation=GPS_L2C_Telemetry_Decoder
|
2015-06-22 14:12:53 +00:00
|
|
|
TelemetryDecoder_2S.dump=false
|
|
|
|
|
2018-01-29 22:30:50 +00:00
|
|
|
|
2015-06-22 14:12:53 +00:00
|
|
|
;######### OBSERVABLES CONFIG ############.
|
2016-11-03 18:33:04 +00:00
|
|
|
Observables.implementation=Hybrid_Observables
|
2015-06-22 14:12:53 +00:00
|
|
|
Observables.dump=false
|
|
|
|
Observables.dump_filename=./observables.dat
|
|
|
|
|
2018-01-29 22:30:50 +00:00
|
|
|
|
2015-06-22 14:12:53 +00:00
|
|
|
;######### PVT CONFIG ############
|
2017-05-08 19:12:32 +00:00
|
|
|
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
|
2015-06-22 14:12:53 +00:00
|
|
|
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
|
2015-12-25 09:25:22 +00:00
|
|
|
PVT.flag_rtcm_server=false
|
|
|
|
PVT.flag_rtcm_tty_port=false
|
|
|
|
PVT.rtcm_dump_devname=/dev/pts/1
|
2015-06-22 14:12:53 +00:00
|
|
|
PVT.dump=false
|