1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-07 12:14:20 +00:00
Commit Graph

607 Commits

Author SHA1 Message Date
Carles Fernandez
76e6adf3ad Include some files that were not getting installed 2017-10-13 11:35:12 +02:00
Carles Fernandez
0be23787d7 Use __VOLK_ASM and __VOLK_VOLATILE keywords 2017-10-13 11:32:00 +02:00
Carles Fernandez
c94a0dcd61 Added __VOLK_ASM and __VOLK_VOLATILE 2017-10-13 11:27:15 +02:00
Carles Fernandez
9b1ae85904 Fix identical code for different branches 2017-10-13 11:26:39 +02:00
Carles Fernandez
bda1f15594 Fix compilation problem with Xcode 9
The following error appeared when working with the latest macOS Xcode 9
SDK:

error: unknown type name 'mach_port_t' mach_port_t
__libcpp_thread_get_port();

Added:

#ifdef __APPLE__
#define _DARWIN_C_SOURCE
#endif

(solution found at https://github.com/arvidn/libtorrent/issues/2364 )
2017-10-13 11:18:19 +02:00
Carles Fernandez
8a43414933 Merge branch 'glonass_dec' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_dec 2017-10-11 18:22:56 +02:00
Damian Miralles
93640ffd46 GLONASS bugfix: Fixes settings with rtklib obs_t and nav_t members
Adds settings in rtklib code to parse GLONASS measurements in `obs_t`
and 'nav_t' structures. It also adds the time of day field in gnav eph
to keep track as of when ephemeris are reported.
2017-10-11 08:22:45 -06:00
Damian Miralles
ea675b4baa bugfix: Fixes signal identifier for GLONASS GNAV
Signal identifier for GLONASS L1 C/A was changed internally to be `1G`
instead of the '1C' originally conceived from the navigation software.
Also, forces PRN number update from decoding interface
2017-10-10 08:40:05 -06:00
Carles Fernandez
00ba4ff96e Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-09-16 01:45:53 +02:00
Carles Fernandez
94dfef74c1 Add cpu_multicorrelator_real_codes_test
and minor cosmetics
2017-09-16 01:14:15 +02:00
Cillian O'Driscoll
e87522880e Added ability to generate real valued codes
Only done for GPS L1 C/A and Galileo E1 OS for now. Also added a
cpu_multicorrelator_real_codes class that performs code correlation
using real-valued local codes
2017-09-11 15:21:05 +01:00
Cillian O'Driscoll
676c1506da Updated volk_gnsssdr_module for real codes
Added 16i and 32f resamplers and 32fc_32f and 16ic_16i rotator dot product to
enable use of real (rather than complex) local code replicas
2017-09-11 15:15:27 +01:00
Damian Miralles
0caa7fff15 Fixes ineficiencies in the code, remove unused variables 2017-08-31 09:57:30 -06:00
Damian Miralles
3f87223f35 bugfix: Fix compile errors, code style and documentation
Fixes compilation errors after the RTCM package addition in the PVT
block. It also adds a series of class members documentation in the code
using the Doxygen standard while fixing code style errors
2017-08-31 09:55:35 -06:00
Damian Miralles
e58cd5450d Adding RTCM Data Fields for GLONASS processing
Adds GLONASS related data fields (DFxxx) for RTCM messages including
MS1020, MS1087 and general MSM message types
2017-08-31 09:55:35 -06:00
Damian Miralles
d34ec96ad2 bugfix: Fixing bugs with RINEX support
Fixes compilation errors. Modifies GLONASS GNAV Ephemeris object to
contain fields relative to GPS time using the boost posix time object.
Adds unit tests to check existent and recently added code
2017-08-31 09:55:35 -06:00
Damian Miralles
2d40780689 Adding RINEX support for GLONASS GNAV processing
Adds RINEX v2 and v3 support for GLONASS satellites processing including
observation and navigation data records. Also adds conversion of
ephemeris records in GNSS-SDR format to RTKLib format
2017-08-31 09:55:35 -06:00
Carles Fernandez
7ae4a794f6 Avoid signed overflow 2017-08-31 09:55:35 -06:00
Carles Fernandez
fa8cb9dd5c Fix building when compilers have a C++ standard below C++11 2017-08-31 09:55:35 -06:00
Carles Fernandez
47e41d5b28 Avoid signed overflow 2017-08-26 10:07:18 +02:00
Carles Fernandez
16a65a4e2b Fix building when compilers have a C++ standard below C++11 2017-08-23 19:04:11 +02:00
Gastd
b0a6483254 Add chip shift to glonass ca code 2017-08-23 13:15:42 -03:00
Gastd
fc40e1bdc7 Add code for C/A signal generation for glonass 2017-08-23 13:15:42 -03:00
Gastd
41306ee044 Add code for C/A signal generation for glonass 2017-08-23 13:11:17 -03:00
Gastd
cd8527d99e Add chip delay in Glonass L1 CA Code 2017-08-23 13:09:28 -03:00
Gastd
c281ae769a Add chip shift to glonass ca code 2017-08-23 13:08:46 -03:00
Gastd
4fe9f37578 Add code for C/A signal generation for glonass 2017-08-23 13:08:46 -03:00
Gastd
2369c98e12 fix ifndef include 2017-08-23 13:00:54 -03:00
Gastd
e78f80d459 Add chip shift to glonass ca code 2017-08-23 13:00:54 -03:00
Gastd
a399e2b0d0 Add code for C/A signal generation for glonass 2017-08-23 13:00:54 -03:00
Carles Fernandez
265caeda33 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2017-08-21 12:06:03 +02:00
Damian Miralles
f4c221609c avx2: Adds support for AVX2 intrinsic to some kernels
Adds AVX2 intrinsic to several kernels ranging from multiply and add to
more detailed operations such as convert. New peotokernels also may take
advantage of the fused multiply add (fma)
2017-08-21 12:05:39 +02:00
Carles Fernandez
122ec19626 Make use of the inline keyword where appropriate 2017-08-21 11:45:12 +02:00
Carles Fernandez
64ab909a0d Replace C-style casts by C++ casts 2017-08-19 12:10:47 +02:00
Carles Fernandez
e7246d4565 Replace C-style casts by C++ casts 2017-08-19 11:27:22 +02:00
Carles Fernandez
61f8df3586 Replace some C-style cast by static_cast<>()
See https://stackoverflow.com/questions/1609163/what-is-the-difference-between-static-cast-and-c-style-casting
2017-08-18 12:45:47 +02:00
Carles Fernandez
87baa04ef9 Remove unrequired headers 2017-08-15 14:21:05 +02:00
Carles Fernandez
99f5c69afc Catch all exceptions 2017-08-15 12:47:58 +02:00
Carles Fernandez
f8c7f1422b Remove unrequired includes 2017-08-15 03:21:43 +02:00
Carles Fernandez
209c554896 Remove unrequired and redundant includes 2017-08-15 03:16:41 +02:00
Carles Fernandez
8a2d21cc40 Use random library instead of rand() 2017-08-15 02:50:11 +02:00
Carles Fernandez
77eb09c2a7 Remove uneeded stdio.h 2017-08-13 10:01:10 +02:00
Carles Fernandez
59164c33bd Remove unneded cstdlib include 2017-08-12 15:52:23 +02:00
Carles Fernandez
18cd7daa09 Eliminate ctime library. Replaced by chrono or boost::date_time 2017-08-11 05:18:38 +02:00
Carles Fernandez
ed5191fc54 Clean headers. C++ libraries preferred over C libraries 2017-08-10 15:34:38 +02:00
Carles Fernandez
3dd3c2f444 Enable building with Clang in Linux 2017-08-07 11:08:05 +02:00
Carles Fernandez
7bb3581f4b Improve buffer handling. Remove warnings raised by gcc 7.1 2017-08-06 10:32:12 +02:00
Carles Fernandez
a7fbde50e6 Improve buffer handling. Remove warnings raised by gcc 7.1 2017-08-06 10:26:56 +02:00
Carles Fernandez
727f4d7d0d Remove gcc warning and apply coding style 2017-08-05 12:47:52 +02:00
Carles Fernandez
1dda344e46 Fix -Wmisleading-indentation warning 2017-07-23 23:40:40 +02:00
Carles Fernandez
9bfef0e05a Fix CMake scripts to use Ninja https://ninja-build.org/
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -GNinja .. && ninja
2017-06-21 08:54:47 +02:00
mmajoral
9a7bd7ffb4 adopted code style + did some code refactoring 2017-06-08 17:29:45 +02:00
Carles Fernandez
ed041c00b8 Fix out-of-bound read 2017-06-07 20:12:49 +02:00
Carles Fernandez
25508cf833 Fix null pointer dereference 2017-06-07 19:42:38 +02:00
Carles Fernandez
dfa11ab364 Fix out-of-bound access 2017-06-07 19:41:32 +02:00
Carles Fernandez
ac9ceb7c53 Fix random generator usage 2017-06-07 17:51:16 +02:00
Carles Fernandez
21bf5291f9 Fix defects detected by coverity scan 2017-06-07 16:39:27 +02:00
Carles Fernandez
e1c0227bb9 Avoid the use of rand() 2017-06-07 16:37:47 +02:00
Carles Fernandez
0b2b0fceac Fix defects detected by coverity scan 2017-06-07 15:02:14 +02:00
Carles Fernandez
2253b29bf1 Fix defects detected by coverity scan 2017-06-07 14:51:26 +02:00
Carles Fernandez
efc6082722 Fix defects detected by coverity scan 2017-06-07 12:11:16 +02:00
Carles Fernandez
0047595373 Fix defects detected by coverity scan 2017-06-06 18:27:54 +02:00
Carles Fernandez
5231c9e94b Fix some defects detected by coverity scan 2017-06-06 17:49:40 +02:00
Carles Fernandez
caaaebc420 Sort input files 2017-06-06 12:32:24 +02:00
Carles Fernandez
44bca3cb6f Print matrices in logs (using the flag --v=5 ) 2017-05-19 10:59:51 +02:00
Carles Fernandez
4c7a176d96 Avoid name clashing 2017-05-15 18:13:26 +02:00
Carles Fernandez
96f3599a29 Stylishing code 2017-05-13 21:08:42 +02:00
Carles Fernandez
84c13a5e2a Fix more warnings in gcc 2017-05-13 20:52:48 +02:00
Carles Fernandez
1b25d14b4c Work on initializations 2017-05-13 20:25:38 +02:00
Carles Fernandez
1b4cfad57d Activate compilation of RTCM decoding functions 2017-05-13 20:01:08 +02:00
Carles Fernandez
495813c969 Fix more warnings 2017-05-13 19:35:20 +02:00
Carles Fernandez
cc392fdde2 Fix more warnings 2017-05-13 19:17:09 +02:00
Carles Fernandez
2d273ba131 Fix more warnings in gcc 2017-05-13 13:13:11 +02:00
Carles Fernandez
30e634d408 Fix more warnings 2017-05-13 12:07:16 +02:00
Carles Fernandez
8f9aba298f Remove warnings in gcc 2017-05-13 10:41:35 +02:00
Carles Fernandez
44ba718de4 Fix compilation in gcc 2017-05-12 19:40:51 +02:00
Carles Fernandez
c804fb8d6f Add work on rtklib functions 2017-05-12 19:22:57 +02:00
Carles Fernandez
9da436ec87 add more work on rtklib functions 2017-05-12 17:47:09 +02:00
Carles Fernandez
5d9ba16293 Merge branch 'rtklib_rtcm' of https://github.com/carlesfernandez/gnss-sdr into common_solver 2017-05-12 12:19:10 +02:00
Carles Fernandez
833192e183 Add more work on rtklib files 2017-05-12 12:17:42 +02:00
Carles Fernandez
f0c8fc7089 Add RTCM decoding functions 2017-05-12 08:55:59 +02:00
Carles Fernandez
314b80e8ac Fix compilation in macOS 2017-05-11 06:11:38 +02:00
Carles Fernandez
e61b65760a Remove unrequired linking to armadillo 2017-05-10 15:57:31 +02:00
Carles Fernandez
facd63f423 Connect RTKLIB trace to Glog verbose logging system
A given logging level can now be activated with the flag --v=level
2017-05-10 10:58:35 +02:00
Carles Fernandez
de4ae22ab0 Remove warnings for unused parameters 2017-05-06 14:02:09 +02:00
Carles Fernandez
3731aed3ed Make code more readable 2017-05-06 13:51:32 +02:00
Carles Fernandez
a52617d5b4 Make code more readable 2017-05-06 13:29:43 +02:00
Carles Fernandez
9ee11b691d Make code more readable 2017-05-06 13:17:27 +02:00
Carles Fernandez
3f88fae88f Remove unnecessary include 2017-05-06 13:02:58 +02:00
Carles Fernandez
847db9ea10 Make code more readable 2017-05-06 13:00:13 +02:00
Carles Fernandez
f49e5ae3b0 Make code more readable 2017-05-06 12:34:09 +02:00
Carles Fernandez
4f6ba053ef Get PPP working 2017-05-06 10:01:54 +02:00
Carles Fernandez
459abd29a7 Merge branch 'common_solver' of https://github.com/gnss-sdr/gnss-sdr into rtklib_2.4.2 2017-05-05 13:51:50 +02:00
Carles Fernandez
182fb02e7f Some required changes to use 2.4.2 ppp funcitions 2017-05-05 13:51:42 +02:00
Javier Arribas
e5e48be76d RTKLIB solver now works with Galileo E1 standalone and GPS L1 + Galileo E1 2017-05-05 11:05:25 +02:00
Javier Arribas
1e390a7baa Adding the correct offset to the satellites PRN to enable multiple constellation in RTKLIB solver 2017-05-04 18:18:11 +02:00
Javier Arribas
654ba2c103 Enabling Galileo in RTKLIB 2017-05-04 17:32:40 +02:00
Carles Fernandez
0a4f6cf499 Avoid crashing when PPP is invoked 2017-05-04 09:19:57 +02:00
Carles Fernandez
7b7a130957 Remove some warnings 2017-05-02 20:01:21 +02:00
Carles Fernandez
902da19194 Use rtkpos instead of pntpos in rtklib_solver
so more positioning modes are available
2017-05-02 19:31:51 +02:00
Javier Arribas
c3c3266fad Adding an improved receiver time reporting system 2017-05-02 12:01:18 +02:00
Carles Fernandez
5581b2f888 Expose more RTKLIB parameters 2017-05-02 07:28:54 +02:00
Carles Fernandez
b5d3f626f4 Fill SNR field in rtklib obs struct
Fix units in carrier phase
Pass structs and objects by reference instead of by value
const correctness
2017-04-30 12:32:04 +02:00
Carles Fernandez
c6ef71d82e Remove some warnings in ppp 2017-04-30 10:02:06 +02:00
Carles Fernandez
cd87e070a4 Remove some warnings in rtkpos and make it more readable 2017-04-30 09:08:19 +02:00
Carles Fernandez
319eff0e52 Fix some warnings, make code more readable 2017-04-29 23:08:04 +02:00
Carles Fernandez
dfeb41be50 Fix warnings with gcc 2017-04-25 19:21:12 +02:00
Carles Fernandez
bf0b5568f3 Fix warnings with gcc 2017-04-25 19:05:54 +02:00
Carles Fernandez
0496e55073 Fix warnings with gcc 2017-04-25 19:04:03 +02:00
Carles Fernandez
883b4072c7 Fix warnings with gcc 2017-04-25 18:27:23 +02:00
Carles Fernandez
5c79e8bc26 Fix problems with old gcc 2017-04-25 17:54:07 +02:00
Carles Fernandez
5c6acdf540 Fix problems with old gcc 2017-04-25 17:50:25 +02:00
Carles Fernandez
8cd83d9ef5 Fix problems with old gcc 2017-04-25 17:37:11 +02:00
Carles Fernandez
28672c39e9 Fix problems with old gcc 2017-04-25 17:13:48 +02:00
Carles Fernandez
07484e094c Fix problems with old gcc 2017-04-25 17:04:13 +02:00
Carles Fernandez
52f3eaa373 Add rtkpos and its dependencies 2017-04-25 00:48:13 +02:00
Carles Fernandez
ce8869c5c5 Add rtkpos 2017-04-24 17:01:35 +02:00
Carles Fernandez
981d0579d6 Arrange headers 2017-04-23 21:10:32 +02:00
Javier Arribas
0fba8e7c20 Adding double frequency GPS L1 and L2 observables and ephemeris to rtklib solver 2017-04-23 12:53:05 +02:00
Carles Fernandez
619c9f1f98 Add more code cleaning 2017-04-23 01:34:18 +02:00
Carles Fernandez
7f6075172b Remove last warning 2017-04-23 01:10:11 +02:00
Carles Fernandez
c28a9c5711 Remove more warnings 2017-04-23 01:04:48 +02:00
Carles Fernandez
7a1097a12d Convert unigned int to int to avoid warning in signed/unsigned integer 2017-04-23 00:53:19 +02:00
Carles Fernandez
c6349eccd1 Minor fixes 2017-04-23 00:36:57 +02:00
Carles Fernandez
fb1a058db7 Fix execution in macOS 2017-04-22 23:47:51 +02:00
Carles Fernandez
f4dac04285 merging next 2017-04-22 18:31:57 +02:00
Carles Fernandez
b362afca5b Add more cleaning of RTKLIB code 2017-04-22 18:27:11 +02:00
Carles Fernandez
03d5015390 Fix pow usage 2017-04-22 12:50:04 +02:00
Carles Fernandez
417dc1daf1 Store work 2017-04-21 16:14:46 +02:00
Carles Fernandez
9c6ff1df9b Small fixes 2017-04-21 13:31:29 +02:00
Carles Fernandez
a2d2aa016e Add more constant refactoring 2017-04-21 11:57:27 +02:00
Carles Fernandez
27ab390944 Refactor of constants, remove defines
and start adapting rtklib code to our coding style
2017-04-21 11:34:23 +02:00
Javier Arribas
e90a9aa2bf Migration of the internal LS PVT solver to RTKLIB solver in progress. First working version for GPS L1. Removing SBAS duplicated code. 2017-04-20 16:10:12 +02:00
Carles Fernandez
4b00d74d1a Allow large files in 32 bit builds
try to fix
https://lintian.debian.org/tags/binary-file-built-without-LFS-support.html
2017-04-14 10:28:57 +02:00
Carles Fernandez
1ed4b506df Fix typo 2017-04-12 08:09:51 +02:00
Carles Fernandez
dc2ed129e2 Fix the list of requirements 2017-04-12 08:06:34 +02:00
Carles Fernandez
c994d04a5b Removed git from the list of requirements 2017-04-11 19:19:14 +02:00
Carles Fernandez
2da64e0685 More required manual changes 2017-04-11 19:15:38 +02:00
Carles Fernandez
f68c4d091f Manual changes of things broken by automatic conversion 2017-04-11 19:09:28 +02:00
Carles Fernandez
1191161aef Set a column width of 72 to make the file more readable in plain text
Done with http://www.formatit.com/
2017-04-11 18:59:12 +02:00
Carles Fernandez
d8fa3ff14f Replace 255 by 0xFF to apease the clang compiler
This avoids hundreds of warnings of type:

warning: implicit conversion from 'int' to 'char' changes value from 255
to -1 [-Wconstant-conversion]
mask_imag = _mm_set_epi8(255, 255, 0, 0, 255, 255, 0, 0, 255...
            ~~~~~~~~~~~~ ^~~
2017-04-01 11:34:46 +02:00
Carles Fernandez
4c5980d3a2 Avoind name clashing in modtool and other minor fixes
Version bump to 0.0.9git, fixed link in README
2017-03-25 17:53:02 +01:00
Carles Fernandez
24fb4d75f1 Bump version to 0.0.9 2017-02-05 20:47:57 +01:00
Carles Fernandez
0362476864 Merging gnss-sdr/rinex_fix branch
This commit rewrites the way pseudoranges are computed, now accounting for the receiver clock offset. It also adds more work in the QA code. If extra tests are activated by -DENABLE_UNIT_TESTING_EXTRA=ON or -DENABLE_SYSTEM_TESTING_EXTRA=ON, additional raw data files, a software-defined signal generator and GPSTk 2.9 are downloaded. Many fixes and code refactoring in tracking blocks.
2017-02-03 14:04:13 +01:00
Carles Fernandez
15ff1627bc Provide open access link for the ION GNSS+ 2016 paper 2017-02-03 13:54:31 +01:00
Carles Fernandez
663fb27da8 MSVC build updates
cmake: removed stdint, inttypes, stdbool compat headers
These files are present in MSVC 2013 and up.
Presumably we do not build with versions lower.
2017-01-20 20:54:53 +01:00
Carles Fernandez
cc6b89a3b8 python3: prefer set instead of list to match existing code 2017-01-20 01:36:17 +01:00
Carles Fernandez
d9a315fd52 Make it work with python3 2017-01-16 20:03:06 +01:00
Carles Fernandez
54fecdfa7f Add page numbers in reference 2017-01-10 18:40:40 +01:00
Carles Fernandez
c3fd3ab581 Fix build with static libs 2016-12-26 14:05:25 +01:00