From 47c752c141ba95bb3c25c424c7d6f5c4c8ea1e5b Mon Sep 17 00:00:00 2001 From: Antonio Ramos Date: Wed, 3 Jan 2018 12:44:58 +0100 Subject: [PATCH] More debug lines --- src/algorithms/channel/adapters/channel.cc | 1 + src/algorithms/channel/libs/channel_fsm.cc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/algorithms/channel/adapters/channel.cc b/src/algorithms/channel/adapters/channel.cc index f66353f7e..ed8832c3f 100644 --- a/src/algorithms/channel/adapters/channel.cc +++ b/src/algorithms/channel/adapters/channel.cc @@ -202,5 +202,6 @@ void Channel::set_signal(const Gnss_Signal& gnss_signal) void Channel::start_acquisition() { channel_fsm_.Event_start_acquisition(); + LOG(INFO) << "Channel start_acquisition()"; } diff --git a/src/algorithms/channel/libs/channel_fsm.cc b/src/algorithms/channel/libs/channel_fsm.cc index daef2f9ad..0d5a1606e 100644 --- a/src/algorithms/channel/libs/channel_fsm.cc +++ b/src/algorithms/channel/libs/channel_fsm.cc @@ -140,6 +140,7 @@ ChannelFsm::ChannelFsm(std::shared_ptr acquisition) : void ChannelFsm::Event_start_acquisition() { this->process_event(Ev_channel_start_acquisition()); + LOG(INFO) << "FSM Event_start_acquisition" DLOG(INFO) << "CH = " << channel_ << ". Ev start acquisition"; } @@ -198,6 +199,7 @@ void ChannelFsm::set_channel(unsigned int channel) void ChannelFsm::start_acquisition() { acq_->reset(); + LOG(INFO) << "FSM. start_acquisition()"; } void ChannelFsm::start_tracking()