1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-29 23:41:05 +00:00
Commit Graph

1028 Commits

Author SHA1 Message Date
Carles Fernandez
bc0e4f188b Cleaning includes 2016-01-10 14:30:04 +01:00
Carles Fernandez
5743f0f631 fix defect detected by coverity scan
aStr->find('.', startPos) can return a negative number, but idx was
passed to a parameter that cannot be negative. Now the function returns
the string as is in case of no decimal point found.
2016-01-06 14:30:15 +01:00
Carles Fernandez
14d3c3dd27 cleaning includes and removing gnuradio-trellis and gnuradio-fec
dependencies
2016-01-06 02:05:34 +01:00
Carles Fernandez
5abc7b8b6a Include cleaning 2016-01-05 15:35:33 +01:00
Carles Fernandez
0a1aa50c4a Cleaning includes
plus some code cleaning
2016-01-05 10:59:37 +01:00
Carles Fernandez
1c3a9f98ee cleaning includes 2016-01-04 23:52:21 +01:00
Carles Fernandez
d0ac06d71d Cleaning includes 2016-01-04 22:56:52 +01:00
Carles Fernandez
972c86c1ea cleaning the use of includes 2016-01-04 18:06:54 +01:00
Carles Fernandez
9cdfc5e8c2 fixing a warning (unused variable) 2016-01-04 10:29:29 +01:00
Carles Fernandez
9e0c1bb719 remove unnedded headers 2016-01-03 15:22:52 +01:00
Carles Fernandez
70706cb87e removed unused variable 2016-01-03 15:11:57 +01:00
Carles Fernandez
9ea5d80935 Fixing silly redefinition of variable 2016-01-03 14:16:26 +01:00
Carles Fernandez
c5407a5106 Improved handling of threads
Some threads were not terminating properly, triggering a failure of
control_thread_test in some configurations.
2015-12-30 14:43:32 +01:00
Carles Fernandez
c5ab28510b fixing test 2015-12-27 11:23:09 +01:00
Carles Fernandez
fe71418f7e Ignore messages from clients 2015-12-26 12:36:39 +01:00
Carles Fernandez
fc91768c11 missing commit 2015-12-25 12:29:35 +01:00
Carles Fernandez
589342e4a4 fix typo 2015-12-25 12:27:08 +01:00
Carles Fernandez
286ee3b561 Integrating the RTCM printer
Now the Galileo E1 receiver generates RTCM messages 1045 (ephemeris) and
MSM7 / 1097 (observables). Parameters related to RTCM included in conf
files. The TCP/IP server can be activated by setting flag_rtcm_server to
true.
2015-12-25 10:25:22 +01:00
Carles Fernandez
f70df3e581 Integrating the RTCM message printer
Now the GPS L1 receiver generates 1002 and 1019 messages. Bugs in the
Rtcm class fixed.
2015-12-24 20:56:41 +01:00
Carles Fernandez
354a19ad64 Removing unneeded parameter 2015-12-24 00:37:47 +01:00
Carles Fernandez
ad228cb500 More work on the Rtcm class
Added message type 1029, added automatic sending of messages when
printing, removing unnecessary reset of data fields, reordering of
tests, new tests added, the TCP server shuts down in the class
destructor if running
2015-12-23 22:18:43 +01:00
Carles Fernandez
dd22536c9b const correctness
marking as const the member functions that do not modify member
parameters. Two warnings of unused variables removed.
2015-12-23 18:29:38 +01:00
Carles Fernandez
6e39d8f32e removing tcp client class 2015-12-23 14:27:39 +01:00
Carles Fernandez
0f6bc1054e adding message types 1006 and 1008 2015-12-23 14:05:00 +01:00
Javier Arribas
06d9f21e68 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr.git into next 2015-12-23 11:31:40 +01:00
Javier Arribas
48c5227c9b bug fix for Mac OSX compiler 2015-12-23 11:31:16 +01:00
Carles Fernandez
24982b1213 Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-12-23 01:36:05 +01:00
Carles Fernandez
5bc26b3840 Fixing crash when shutting down the server 2015-12-23 00:56:21 +01:00
Carles Fernandez
9e009f48aa fixing typo 2015-12-22 19:30:53 +01:00
Carles Fernandez
07214154d9 deleting unused parameter 2015-12-22 19:18:36 +01:00
Carles Fernandez
e1c6137597 Redesign of the TCP server
Now the TCP server serves RTCM messages to multiple clients
concurrently, and without loosing messages.
2015-12-22 18:45:07 +01:00
Javier Arribas
9acc7e7a20 Replaced fix point NCO by VOLK phase rotator in CPU multicorrelator
(around 5% faster).
This optimization is enabled at this time only in
Tracking_DLL_PLL_C_Aid. Sample config can be found in
gnss-sdr_Hybrid_byte_sim.conf
2015-12-21 11:59:15 +01:00
Carles Fernandez
651877af45 fix -Wreorder warning
The members should appear in the initializer list in the same order as
they appear in the class
2015-12-15 15:31:13 +01:00
Carles Fernandez
cf75c669c8 adding a TPC client and server 2015-12-15 15:04:58 +01:00
Javier Arribas
847716428e Updated GPU tracking implementation. Bug fixed in cuda correlator and
performance improvements
2015-12-11 13:53:43 +01:00
Javier Arribas
9bcea5b9cb Merge branch 'next-gnss-sdr' into new_next
Conflicts:
	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_gpu_cc.cc
2015-12-10 13:07:33 +01:00
Carles Fernandez
49523f7f9d Adding generation of MSM2, MSM3, MSM4, MSM5, MSM6 and MSM7 2015-12-09 13:33:28 +01:00
Carles Fernandez
450728dfeb fix defect detected by coverity scan: rinex observables are printed if
both GPS and Galileo observables are available. This avoids
dereferencing an iterator though it is already past the end of its
container (in case only one of them were available)
2015-12-08 21:10:17 +01:00
Carles Fernandez
dbad0846b6 fixing big parameter passed by value instead of by reference by mistake 2015-12-08 21:04:06 +01:00
Carles Fernandez
f6632141a7 adding data fields 2015-12-08 20:27:39 +01:00
Carles Fernandez
6c9a90abe4 fixing defects detected by coverity scan 2015-12-08 20:24:36 +01:00
Carles Fernandez
537bc5560e adding RTCM message types 1002, 1103 and 1004 2015-12-06 20:08:38 +01:00
Carles Fernandez
6422683652 fix msg number for Galileo MSM1 messages 2015-12-05 13:32:45 +01:00
Carles Fernandez
4958874269 fixing order in MSM signal data 2015-12-05 11:27:15 +01:00
Carles Fernandez
e47b5c003c fix conversion in 32 bits architectures 2015-12-04 19:52:46 +01:00
Carles Fernandez
47d55c09f8 fix compilation with gcc 2015-12-04 18:50:28 +01:00
Carles Fernandez
74975168e0 adding six more data fields 2015-12-04 15:13:59 +01:00
Carles Fernandez
d8a0275c72 Now the Rtcm class prints MSM1 messages 2015-12-04 13:06:05 +01:00
Carles Fernandez
7b0285ba60 initializing members (defects detected by coverity scan) 2015-12-02 23:44:07 +01:00
Javier Arribas
424e7abe68 Migrating cuda tracking internal DLL/PLL vars from float to double 2015-12-02 19:00:29 +01:00
Carles Fernandez
45195917c1 fixing some gnuradio-related warnings reported by gcc, so others can be spotted easier 2015-12-02 18:25:06 +01:00
Carles Fernandez
17517625be fixing includes 2015-12-01 13:30:03 +01:00
Carles Fernandez
4e5abdf4f2 fixing parallel building if glog and gflags were built locally 2015-11-30 19:11:49 +01:00
Carles Fernandez
3c21a1853d fixing building if glog and gflags were built locally 2015-11-30 19:02:56 +01:00
Carles Fernandez
3a56e09772 fixes from wrong merge 2015-11-30 14:39:29 +01:00
Carles Fernandez
6f87e3fc17 fixing some compilation errors 2015-11-30 14:16:41 +01:00
Carles Fernandez
23ce240483 Merge branch 'carrier_phase_bug_fix' of
git+ssh://github.com/gnss-sdr/gnss-sdr into odrisci-contrib

# Conflicts:
#	conf/gnss-sdr_Hybrid_byte_sim.conf
#	src/algorithms/observables/gnuradio_blocks/gps_l1_ca_observables_cc.cc
#	src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc
#	src/algorithms/tracking/gnuradio_blocks/galileo_e1_dll_pll_veml_tracking_cc.cc
#	src/algorithms/tracking/gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc
#	src/algorithms/tracking/gnuradio_blocks/galileo_volk_e1_dll_pll_veml_tracking_cc.cc
#	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_c_aid_tracking_cc.cc
#	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_optim_tracking_cc.cc
#	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_cc.cc
#	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_gpu_cc.cc
#	src/algorithms/tracking/gnuradio_blocks/gps_l2_m_dll_pll_tracking_cc.cc
#	src/algorithms/tracking/libs/cpu_multicorrelator.cc
#	src/algorithms/tracking/libs/cpu_multicorrelator.h
#	src/algorithms/tracking/libs/cuda_multicorrelator.h
#	src/algorithms/tracking/libs/tracking_discriminators.cc
#	src/core/receiver/gnss_block_factory.cc
#	src/core/system_parameters/GPS_L1_CA.h
2015-11-30 13:59:31 +01:00
Javier Arribas
8c22e5846d Carrier phase observable bug fix for GPS L1 CA trackings, new GPS L1 carrier aided tracking using nex multitap correlator library, and some CUDA multitap correlator performance improvements 2015-11-30 11:43:37 +01:00
Carles Fernandez
0450e174a6 fixing wrong merge 2015-11-30 10:46:07 +01:00
Carles Fernandez
74d42250d8 Merge branch 'contrib' of https://github.com/odrisci/gnss-sdr into
odrisci-contrib

# Conflicts:
#	src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_cc.cc
#	src/algorithms/tracking/libs/tracking_discriminators.cc
2015-11-30 10:18:09 +01:00
Carles Fernandez
ed89b70241 working on the RTCM class. Advances in MSM messages 2015-11-29 01:10:10 +01:00
Carles Fernandez
e6cf773a2b removing tabs and tailing whitespaces 2015-11-27 17:37:21 +01:00
Carles Fernandez
bfbea68c8f Merge branch 'next' of git://github.com/Arribas/gnss-sdr into
tracking_arribas

# Conflicts:
#	src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt
#	src/core/receiver/gnss_block_factory.cc
2015-11-27 14:53:33 +01:00
Carles Fernandez
df6996f3b1 reverting wrong change 2015-11-27 14:06:30 +01:00
Carles Fernandez
2a6381c6fa Merging branch 'next' of git://github.com/Arribas/gnss-sdr 2015-11-27 13:32:21 +01:00
Javier Arribas
38e8feefa8 Name change in new DLL PLL algorithm implementation. We introduce DLL
PLL Carrier Aided Tracking.
2015-11-27 12:53:27 +01:00
Javier Arribas
c8f7e08127 Updated all GPS and Galileo trackings for double floating point internal
computations and bug fixes in the carrier phase accumulator.
(all, except Matlab-Simulink linked trackings)
2015-11-26 18:44:04 +01:00
Cillian O'Driscoll
26b18c19ee Added a generic tracking_loop_filter class
This implements a generic loop filter. Based on the analog PLL filters
from Kaplan and Hegarty, with a bilinear (Tustin's) transform from
s-plane to z-plane ( 1/s -> T/2 ( 1 + z^-1 )/( 1 - z^-1 ) )

Also added tests. Note the "truth" outputs
were derived from an Octave implementation of the loop filter and
Octave's builtin filter function
2015-11-26 15:12:26 +00:00
Cillian O'Driscoll
518deb501a Added IF handling to acq and tracking
Only GPS L1 CA DLL PLL tracking for now. Still experimental.
2015-11-26 15:12:26 +00:00
Cillian O'Driscoll
b95219dbc6 Added two Carrier_rotate correlator utilities
1) Carrier_rotate_and_EPL_volk

This is a very efficient VOLK based carrier wipeoff and
Early/Prompt/Late correlation. The carrier wipe off is done using the
VOLK rotator functions, which means there is no need to generate a local
replica sinusoid.

2) Carrier_rotate_and_VEPL_Volk

This adds Very Early/Early/Prompt/Late/Very Late correlation with the
VOLK rotator implementation of carrier wipe-off
2015-11-26 15:11:59 +00:00
Cillian O'Driscoll
e6d5fe35ea Added check for zero denominator in dll discrim. 2015-11-26 15:11:59 +00:00
Cillian O'Driscoll
086118c4aa Improvements to gnss_flowgraph
1) Fixed a bug in gnss_signal::compare

The signal string comparison was not correct.

2) Fix for gnss_flowgraph when satellites are specified

3) Better handling of acquisition in flow graph

Now PRNs are alternated amongst channels, so we don't get 'stuck' on a
particular PRN, and we don't miss out on PRNs that are assigned to
channels that come after a channel that is always in the acquisition state.

4) Added SYS.prns to config file.

Now we can specify which PRNs are available in the configuration, rather
than re-compiling. Particularly useful for debugging, or experimenting
with files where you already know which signals are present
2015-11-26 15:11:11 +00:00
Cillian O'Driscoll
5b9683baad Multiple changes pcps acquisition: including linear corr.
Reduced zero_padding_factor in pcps acquisition

This was 16, I'm processing data at about 16MHz, this oversampling
factor caused memory allocation issues

Previously dump file name was not being read from the configuration

Added fix for non-zero IF in pcps_acquisition_cc

Added linear correlation to pcps acquisition.
2015-11-26 15:09:24 +00:00
Cillian O'Driscoll
0948e90c61 Updated gps_l1_ca_dll_pll_read_tracking_dump 2015-11-26 15:09:24 +00:00
Cillian O'Driscoll
e4ff358178 Added seconds_to_skip and header_size
Use these configuration parameters to skip ahead in the FileSignalSource
Fixed bug in determining file duration
2015-11-26 15:08:26 +00:00
Javier Arribas
19e1328fda Fine tunning the config file for PPP in simulation scenario 2015-11-25 19:08:54 +01:00
Javier Arribas
aed688f3b4 DLL/PLL and phase accumulator bug correction and verification almost
done. Still some outliers detected in PPP using RTKLIB but the
positioning performande is good.
2015-11-25 18:32:32 +01:00
Carles Fernandez
513e92da23 fixing interface 2015-11-25 14:03:59 +01:00
Carles Fernandez
08f5df9849 fixing computation of observables in DF011 and DF012 2015-11-25 14:03:31 +01:00
Carles Fernandez
b9f51a5e6b fixing warning 2015-11-24 18:34:32 +01:00
Carles Fernandez
337dc3b2da fixing error handling when writing to a serial bus 2015-11-24 17:57:05 +01:00
Javier Arribas
15c4882af9 Linear regressor implemented in observables 2015-11-24 13:37:01 +01:00
Carles Fernandez
18dfe81a71 fixing a warning 2015-11-24 01:26:08 +01:00
Carles Fernandez
19c9875c4a Fixing wrong merge 2015-11-24 00:55:42 +01:00
Carles Fernandez
0e8663a1fc Merge branch 'next' of git+ssh://github.com/carlesfernandez/gnss-sdr
into next

# Conflicts:
#	src/core/system_parameters/rtcm.cc
#	src/core/system_parameters/rtcm.h
#	src/tests/formats/rtcm_test.cc
2015-11-24 00:44:19 +01:00
Carles Fernandez
e219954d1c Updating the Rtcm printer 2015-11-24 00:32:52 +01:00
Carles Fernandez
855d707865 Now the Rtcm class prints and reads Messages of type 1045 (Galileo
ephemeris)
2015-11-24 00:31:53 +01:00
Javier Arribas
411c8cedb0 experimental interpolator in observables 2015-11-23 23:05:52 +01:00
Carles Fernandez
7890622090 fixing some warnings 2015-11-23 03:23:56 +01:00
Carles Fernandez
bf08e27583 recovering from an accident 2015-11-23 01:47:21 +01:00
Carles Fernandez
c0f1d7241f Now the Rtcm class can generate and read MT1019 (GPS ephemeris) 2015-11-23 00:56:29 +01:00
Carles Fernandez
0c57c6b6f7 working on the printers: added time tag to KML and GeoJSON names, some
fixes of CRC computation and check, more tests
2015-11-22 14:43:52 +01:00
Carles Fernandez
a85e711bd9 adding missing include 2015-11-22 09:44:58 +01:00
Carles Fernandez
60dd9b4f28 working on the RTCM printer 2015-11-21 13:01:50 +01:00
Javier Arribas
6b340696ed Code cleaning and new cpu multicorrelator library 2015-11-17 19:14:55 +01:00
Javier Arribas
27588fa83b Artemisa tracking is almost working. Code cleaning, refactoring and renaming is in progress! 2015-11-16 19:23:25 +01:00
Carles Fernandez
6336556163 Some cleaning 2015-11-15 23:31:27 +01:00
Javier
c2e254debc New DLL PLL Artemisa tracking block skeleton. Not usable yet! 2015-11-15 22:26:42 +01:00
Carles Fernandez
f68a1fe9bc Refactoring PVT solution library and adding a GeoJSON format printer 2015-11-14 20:41:28 +01:00
Carles Fernandez
4aac371bbf saving some work 2015-11-14 14:39:10 +01:00