gnss-sdr / gnss-sdr

GNSS-SDR, an open-source software-defined GNSS receiver
https://gnss-sdr.org
GNU General Public License v3.0
1.59k stars 583 forks source link

Unable to get GPS L1 position with bladeRF #459

Closed fdgm0001 closed 3 years ago

fdgm0001 commented 3 years ago

Hi guys. I'm trying to do a GPS receiver with blade RF. I had installed GNSS-SDR, and then I wrote the configuration file. However, when I execute the file I obtain the following result:

Initializing GNSS-SDR v0.0.14.git-next-87882d3d23 ... Please wait. Logging will be written at "/tmp" Use gnss-sdr --log_dir=/path/to/log to change that. Set GNSS-SDR.internal_fs_sps in configuration file E0110 12:37:40.023341 3126 gnss_flowgraph.cc:372] Set GNSS-SDR.internal_fs_sps in configuration E0110 12:37:40.024367 3126 control_thread.cc:303] Unable to connect flowgraph Total GNSS-SDR run time: 0.00146387 [seconds] GNSS-SDR program ended.

My configuration file is this:

`;######### GLOBAL OPTIONS ################## GNSS-SDR.internal_fs_sps=2000000

;######### SIGNAL_SOURCE CONFIG ############ SignalSource.implementation=Osmosdr_Signal_Source SignalSource.item_type=gr_complex SignalSource.sampling_frequency=2000000 SignalSource.freq=1575420000 SignalSource.gain=6 SignalSource.rf_gain=40 SignalSource.if_gain=48 SignalSource.AGC_enabled=false SignalSource.samples=0 SignalSource.repeat=false SignalSource.osmosdr_args=bladerf=0
SignalSource.enable_throttle_control=false SignalSource.dump=false SignalSource.dump_filename=./signal_source.dat

;######### SIGNAL_CONDITIONER CONFIG ############ SignalConditioner.implementation=Signal_Conditioner

;######### DATA_TYPE_ADAPTER CONFIG ############ DataTypeAdapter.implementation=Pass_Through

;######### INPUT_FILTER CONFIG ############ InputFilter.implementation=Freq_Xlating_Fir_Filter InputFilter.decimation_factor=1 InputFilter.input_item_type=gr_complex InputFilter.output_item_type=gr_complex InputFilter.taps_item_type=float InputFilter.number_of_taps=5 InputFilter.number_of_bands=2 InputFilter.band1_begin=0.0 InputFilter.band1_end=0.85 InputFilter.band2_begin=0.9 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.dump=false InputFilter.dump_filename=../data/input_filter.dat

;######### RESAMPLER CONFIG ############ Resampler.implementation=Pass_Through

;######### CHANNELS GLOBAL CONFIG ############ Channels_1C.count=8 Channels.in_acquisition=1 Channel.signal=1C

;######### ACQUISITION GLOBAL CONFIG ############ Acquisition_1C.implementation=GPS_L1_CA_PCPS_Acquisition_Fine_Doppler Acquisition_1C.item_type=gr_complex Acquisition_1C.coherent_integration_time_ms=1 Acquisition_1C.threshold=0.015 Acquisition_1C.doppler_max=10000 Acquisition_1C.doppler_step=500 Acquisition_1C.max_dwells=15 Acquisition_1C.dump=false Acquisition_1C.dump_filename=./acq_dump.dat

;######### TRACKING GLOBAL CONFIG ############ Tracking_1C.implementation=GPS_L1_CA_DLL_PLL_Tracking Tracking_1C.item_type=gr_complex Tracking_1C.pll_bw_hz=40.0; Tracking_1C.dll_bw_hz=2.0; Tracking_1C.order=3; Tracking_1C.early_late_space_chips=0.5; Tracking_1C.dump=false Tracking_1C.dump_filename=./trackingch

;######### TELEMETRY DECODER GPS CONFIG ############ TelemetryDecoder_1C.implementation=GPS_L1_CA_Telemetry_Decoder TelemetryDecoder_1C.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=Single PVT.output_rate_ms=100 PVT.display_rate_ms=500 PVT.iono_model=Broadcast PVT.trop_model=Saastamoinen PVT.flag_rtcm_server=false PVT.flag_rtcm_tty_port=false PVT.rtcm_dump_devname=/dev/pts/1 PVT.rtcm_tcp_port=2101 PVT.rtcm_MT1019_rate_ms=5000 PVT.rtcm_MT1077_rate_ms=1000 PVT.rinex_version=2`

acebrianjuan commented 3 years ago

Hi @fdgm0001,

I am pretty sure that you are not providing a configuration file to GNSS-SDR. You are probably running the gnss-sdr executable without specifying a configuration file with the --config_file= option.

For example, say that you have a configuration file named myconfig.conf stored at the ~/Desktop directory. Then you would have to call GNSS-SDR like this:

$ gnss-sdr --config_file=$HOME/Desktop/myconfig.conf

I hope this helps. Álvaro

fdgm0001 commented 3 years ago

Hi Álvaro. The problem was that I wasn't able to detect a bit error with the file directory.

Thank you so much for your help.