mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50:33 +00:00
161 lines
4.5 KiB
Plaintext
161 lines
4.5 KiB
Plaintext
; Configuration file for using USRP X300 as a RF front-end for GPS L2C signals
|
|
; Set SignalSource.device_address to the IP address of your device
|
|
; and run:
|
|
; gnss-sdr --config_file=/path/to/gnss-sdr_GPS_L2C_USRP_X300_realtime.conf
|
|
;
|
|
|
|
[GNSS-SDR]
|
|
|
|
;######### GLOBAL OPTIONS ##################
|
|
;internal_fs_hz: Internal signal sampling frequency after the signal conditioning stage [Hz].
|
|
GNSS-SDR.internal_fs_hz=4000000
|
|
|
|
;######### 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.device_address=192.168.50.2 ; <- PUT THE IP ADDRESS OF YOUR USRP HERE
|
|
SignalSource.item_type=cshort
|
|
SignalSource.sampling_frequency=4000000
|
|
SignalSource.freq=1227600000
|
|
;### Options: internal, external, or MIMO
|
|
SignalSource.clock_source=internal
|
|
SignalSource.gain=35
|
|
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=cshort
|
|
|
|
;######### INPUT_FILTER CONFIG ############
|
|
InputFilter.implementation=Fir_Filter
|
|
InputFilter.dump=false
|
|
InputFilter.dump_filename=../data/input_filter.dat
|
|
InputFilter.input_item_type=cshort
|
|
InputFilter.output_item_type=gr_complex
|
|
InputFilter.taps_item_type=float
|
|
InputFilter.number_of_taps=11
|
|
InputFilter.number_of_bands=2
|
|
|
|
InputFilter.band1_begin=0.0
|
|
InputFilter.band1_end=0.48
|
|
InputFilter.band2_begin=0.52
|
|
InputFilter.band2_end=1.0
|
|
|
|
InputFilter.ampl1_begin=1.0
|
|
InputFilter.ampl1_end=1.0
|
|
InputFilter.ampl2_begin=0.0
|
|
InputFilter.ampl2_end=0.0
|
|
|
|
InputFilter.band1_error=1.0
|
|
InputFilter.band2_error=1.0
|
|
|
|
InputFilter.filter_type=bandpass
|
|
InputFilter.grid_density=16
|
|
InputFilter.sampling_frequency=4000000
|
|
InputFilter.IF=0
|
|
|
|
;######### RESAMPLER CONFIG ############
|
|
Resampler.implementation=Pass_Through
|
|
Resampler.dump=false
|
|
Resampler.dump_filename=../data/resampler.dat
|
|
Resampler.item_type=gr_complex
|
|
Resampler.sample_freq_in=4000000
|
|
Resampler.sample_freq_out=4000000
|
|
|
|
|
|
;######### 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.0015
|
|
;Acquisition_2S.pfa=0.001
|
|
Acquisition_2S.doppler_max=5000
|
|
Acquisition_2S.doppler_min=-5000
|
|
Acquisition_2S.doppler_step=60
|
|
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=2.0;
|
|
Tracking_2S.dll_bw_hz=0.25;
|
|
Tracking_2S.order=2;
|
|
Tracking_2S.early_late_space_chips=0.5;
|
|
|
|
;######### TELEMETRY DECODER GPS CONFIG ############
|
|
TelemetryDecoder_2S.implementation=GPS_L2C_Telemetry_Decoder
|
|
TelemetryDecoder_2S.dump=true
|
|
TelemetryDecoder_2S.decimation_factor=1;
|
|
|
|
;######### OBSERVABLES CONFIG ############.
|
|
Observables.implementation=Hybrid_Observables
|
|
Observables.dump=false
|
|
Observables.dump_filename=./observables.dat
|
|
|
|
|
|
;######### PVT CONFIG ############
|
|
PVT.implementation=Hybrid_PVT
|
|
PVT.averaging_depth=10
|
|
PVT.flag_averaging=true
|
|
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
|