1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-06-02 06:34:08 +00:00

516 Commits

Author SHA1 Message Date
Leonardo Tonetto
0fbea1a25c Cleaning for safety
To avoid memory leaks, make sure the supl_ctx_t data structure is
initialized and cleaned as well as the connection is closed with
the server.

Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2014-05-14 01:32:38 +02:00
Carles Fernandez
872ed26527 Fixes ugly exit when the ephemeris map from SUPL is empty 2014-05-10 02:20:53 +02:00
Javier Arribas
a161d15366 Bug fixes and GPS to Galileo delta_t debug test implentation 2014-05-09 19:05:50 +02:00
Javier Arribas
75598c07d4 Adding GPS to Galileo time conversion parameters in Galileo almanac.
Adding Galileo almanac push to Galileo almanac queues
2014-05-09 13:04:05 +02:00
Carles Fernandez
825a4fc440 Correction of some misspelling 2014-05-07 23:35:44 +02:00
Leonardo Tonetto
7fc58001ec Avoid memory leak
According to the best practices for boost, the shared_ptr constructor
should not be called inside a function call (return in this case).

Ref: http://www.boost.org/doc/libs/1_55_0/libs/smart_ptr/shared_ptr.htm

Signed-off-by: Javier Arribas <jarribas@cttc.es>
2014-05-06 12:46:42 +02:00
Leonardo Tonetto
20121dcc73 Re-organizing assistance data input and output
Now we are reading the assistance data from xml files if the correct
configuration option is set; defined the name for the xml files as
const inside control_thread.h; and finally moved the manipulation
of these files to the gnss_sdr_supl_client class, not anymore inside
the control_thread.

Signed-off-by: Javier Arribas <jarribas@cttc.es>
2014-05-06 12:19:26 +02:00
Javier Arribas
eac73b5baa Fixed a bug that prevented the update of all shared map structures
(ephemeris, iono parameters, etc...)
2014-05-06 11:59:48 +02:00
Carles Fernandez
5b5ab106c6 Merge branch 'modern_factory' into next 2014-04-26 20:01:19 +02:00
Carles Fernandez
949c9fa972 Merge remote-tracking branch 'origin/modern_factory' into next
Conflicts:
	src/core/receiver/control_thread.h
2014-04-26 19:12:19 +02:00
Carles Fernandez
a8f85dbbfc replacing raw pointers by smart pointers 2014-04-26 00:01:33 +02:00
Carles Fernandez
8f16b0d095 adding two missing queues 2014-04-25 23:31:11 +02:00
Carles Fernandez
3a68888636 Recovering main 2014-04-25 22:00:09 +02:00
Carles Fernandez
f371823fc0 Applying patch by Leonardo Tonetto
0001-Saving-acquisition-assistance-data.patch
2014-04-25 21:48:52 +02:00
Carles Fernandez
656864b769 replacing some raw pointers by smart pointers 2014-04-24 22:39:13 +02:00
Carles Fernandez
c60a4e8996 Replacing some raw pointers by smart pointers 2014-04-24 20:39:19 +02:00
Carles Fernandez
aa7d6a0f20 working on the new factory and the tests 2014-04-24 01:53:55 +02:00
Carles Fernandez
15dd3f98bf Replacing some raw pointers by smart pointers 2014-04-24 01:02:53 +02:00
Carles Fernandez
6e20c9f8c6 Replacing some raw pointers by smart pointers 2014-04-24 00:52:11 +02:00
Carles Fernandez
7db1180d0a Fix wrong casting (thanks to Leonardo Tonetto for spotting this error) 2014-04-23 21:51:46 +02:00
Carles Fernandez
312ddfbce3 Applying patch by Leonardo Tonetto <tonetto.dev at gmail.com> fixing
wrong casting.
2014-04-23 21:36:22 +02:00
Carles Fernandez
75aee95bde Merge branch 'next' into modern_factory 2014-04-23 21:30:00 +02:00
Javier Arribas
de91bf6b23 Fixing memory problem in Magnitude square test 2014-04-23 12:31:10 +02:00
Carles Fernandez
e52206008a Adding documentation 2014-04-23 01:03:57 +02:00
Carles Fernandez
46fb0ea214 Replacing some raw pointers by smart pointers 2014-04-23 01:03:56 +02:00
Carles Fernandez
307ae28d50 Last retouches of the new factory and flowgraph. 2014-04-23 01:03:56 +02:00
Carles Fernandez
55da7e9716 replacing raw pointers by smart pointers in the control message factory 2014-04-23 01:03:56 +02:00
Carles Fernandez
a5af6ea889 Cleaning flowgraph 2014-04-23 01:03:55 +02:00
Carles Fernandez
5bde2595af cleaning flowgraph 2014-04-23 01:03:54 +02:00
Carles Fernandez
6b1c12f111 Rewriting flowgraph with smart pointers 2014-04-23 01:03:54 +02:00
Carles Fernandez
5a79a708a1 Soem advances in the flowgraph 2014-04-23 01:03:53 +02:00
Carles Fernandez
bb6da5f7b0 First attempt to design a smart ptr only factory. Compiles and passes
the thest but does not connect the flowgraph
2014-04-23 01:03:53 +02:00
Carles Fernandez
0744c27ea8 fixing documentation (a character was breaking latex compilation of the
pdf manual)
2014-04-11 00:13:28 +02:00
Carles Fernandez
860743a6e1 Adding version info in program output 2014-04-10 22:26:39 +02:00
Carles Fernandez
c762e921aa changing a log from fatal to warning 2014-04-10 20:38:50 +02:00
Javier Arribas
743af3398d Fixed GTEST_DIR env variable detector under MACOSX. Fixed small compatibility issue in armadilo norm for armadillo version < 4.100
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@503 64b25241-fba3-4117-9849-534c7e92360d
2014-04-07 16:20:09 +00:00
Carles Fernandez
4e714bf033 changing some raw pointers by smart pointers in the core receiver.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@502 64b25241-fba3-4117-9849-534c7e92360d
2014-04-03 21:59:14 +00:00
Carles Fernandez
1b8204bdb3 fixing memory leaks
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@501 64b25241-fba3-4117-9849-534c7e92360d
2014-03-29 21:53:56 +00:00
Carles Fernandez
95e123eef1 working on tests. Removing obsolete files
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@500 64b25241-fba3-4117-9849-534c7e92360d
2014-03-29 19:11:32 +00:00
Carles Fernandez
9f2f4335a0 improving test
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@499 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 22:30:20 +00:00
Carles Fernandez
f209dd9163 fixing tests when compiled with gcc
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@498 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 18:12:06 +00:00
Carles Fernandez
e3578d801c Some tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@497 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 17:52:51 +00:00
Javier Arribas
dbce333a3f Added missing gflags dependency to test_main.c to support DECLARE_string(log_dir)
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@496 64b25241-fba3-4117-9849-534c7e92360d
2014-03-23 10:47:19 +00:00
Carles Fernandez
daba798d8a Cleaning tests. Added test for the RTCM printer.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@495 64b25241-fba3-4117-9849-534c7e92360d
2014-03-23 09:45:03 +00:00
Carles Fernandez
7e752653b4 Introducing a hook for the RTCM printer
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@494 64b25241-fba3-4117-9849-534c7e92360d
2014-03-23 09:43:16 +00:00
Carles Fernandez
cda42d060f Better logging and minor code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@492 64b25241-fba3-4117-9849-534c7e92360d
2014-03-17 20:01:32 +00:00
Javier Arribas
885c5f364c Small bug fix and new configuration file ready to receive GPS signals in real-time with USRP devices and appropiate front-ends. Remember to tune the front-end gain (source section in config file) and, in some particular antenna and LNA setups, tune also the acquisition threshold (acquisition section). The configuration is tested on USRP v1 + DBSRX, USRP 2 + DBSRX and USRP B100 + WBX.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@491 64b25241-fba3-4117-9849-534c7e92360d
2014-03-17 19:41:14 +00:00
Carles Fernandez
a20c1559cf Fixes compilation problem of front_end_cal
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@490 64b25241-fba3-4117-9849-534c7e92360d
2014-03-17 19:19:08 +00:00
Carles Fernandez
43e94fe681 Cleaning the terminal output and dumping information to the log file.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@489 64b25241-fba3-4117-9849-534c7e92360d
2014-03-16 23:25:52 +00:00
Carles Fernandez
25ed311f22 Small fix for Mac OS X
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@488 64b25241-fba3-4117-9849-534c7e92360d
2014-03-16 20:21:21 +00:00