1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-13 19:50:34 +00:00

Cleaning the code.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@244 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
Luis Esteve 2012-09-05 14:15:23 +00:00
parent 90146d26bf
commit 2ef8d7de8a

View File

@ -347,7 +347,6 @@ void GNSSFlowgraph::wait()
void GNSSFlowgraph::apply_action(unsigned int who, unsigned int what)
{
DLOG(INFO) << "received " << what << " from " << who;
// Gnss_Signal aux_signal;
switch (what)
{
@ -358,7 +357,6 @@ void GNSSFlowgraph::apply_action(unsigned int who, unsigned int what)
available_GNSS_signals_.push_back(channel(who)->get_signal());
while (channel(who)->get_signal().get_satellite().get_system() != available_GNSS_signals_.front().get_satellite().get_system()){
std::cout << "Entra en el bucleeeeeeeeeeee" << std::endl;
available_GNSS_signals_.push_back(available_GNSS_signals_.front());
available_GNSS_signals_.pop_front();
}
@ -366,12 +364,6 @@ void GNSSFlowgraph::apply_action(unsigned int who, unsigned int what)
available_GNSS_signals_.pop_front();
channel(who)->start_acquisition();
// std::cout << "Signal queue: " << std::endl;
// for (std::list<Gnss_Signal>::iterator it = available_GNSS_signals_.begin(); it != available_GNSS_signals_.end(); it++) {
// aux_signal = *it;
// std::cout << aux_signal.get_satellite().get_system() << " " << aux_signal.get_signal() << " PRN " << aux_signal.get_satellite().get_PRN() << std::endl;
// }
break;
// TODO: Tracking messages