mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-08 16:30:35 +00:00
Code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@275 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
parent
8174c91b52
commit
0edaeb028e
@ -55,26 +55,18 @@ GpsL1CaObservables::GpsL1CaObservables(ConfigurationInterface* configuration,
|
|||||||
{
|
{
|
||||||
int output_rate_ms;
|
int output_rate_ms;
|
||||||
output_rate_ms = configuration->property(role + ".output_rate_ms", 500);
|
output_rate_ms = configuration->property(role + ".output_rate_ms", 500);
|
||||||
|
|
||||||
std::string default_dump_filename = "./observables.dat";
|
std::string default_dump_filename = "./observables.dat";
|
||||||
|
|
||||||
DLOG(INFO) << "role " << role;
|
DLOG(INFO) << "role " << role;
|
||||||
|
|
||||||
bool flag_averaging;
|
bool flag_averaging;
|
||||||
flag_averaging = configuration->property(role + ".flag_averaging", false);
|
flag_averaging = configuration->property(role + ".flag_averaging", false);
|
||||||
|
|
||||||
dump_ = configuration->property(role + ".dump", false);
|
dump_ = configuration->property(role + ".dump", false);
|
||||||
dump_filename_ = configuration->property(role + ".dump_filename", default_dump_filename);
|
dump_filename_ = configuration->property(role + ".dump_filename", default_dump_filename);
|
||||||
fs_in_ = configuration->property("GNSS-SDR.internal_fs_hz", 2048000);
|
fs_in_ = configuration->property("GNSS-SDR.internal_fs_hz", 2048000);
|
||||||
|
|
||||||
observables_ = gps_l1_ca_make_observables_cc(in_streams_, queue_, dump_, dump_filename_, output_rate_ms, flag_averaging);
|
observables_ = gps_l1_ca_make_observables_cc(in_streams_, queue_, dump_, dump_filename_, output_rate_ms, flag_averaging);
|
||||||
observables_->set_fs_in(fs_in_);
|
observables_->set_fs_in(fs_in_);
|
||||||
|
|
||||||
DLOG(INFO) << "pseudorange(" << observables_->unique_id() << ")";
|
DLOG(INFO) << "pseudorange(" << observables_->unique_id() << ")";
|
||||||
// set the navigation msg queue;
|
// set the navigation msg queue;
|
||||||
|
|
||||||
observables_->set_navigation_queue(&global_gps_nav_msg_queue);
|
observables_->set_navigation_queue(&global_gps_nav_msg_queue);
|
||||||
|
|
||||||
DLOG(INFO) << "global navigation message queue assigned to observables ("<< observables_->unique_id() << ")";
|
DLOG(INFO) << "global navigation message queue assigned to observables ("<< observables_->unique_id() << ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user