GNU Radio Radar Toolbox
estimator_fsk_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2014 Communications Engineering Lab, KIT.
4  *
5  * This is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 3, or (at your option)
8  * any later version.
9  *
10  * This software is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this software; see the file COPYING. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef INCLUDED_RADAR_ESTIMATOR_FSK_IMPL_H
22 #define INCLUDED_RADAR_ESTIMATOR_FSK_IMPL_H
23 
24 #include <radar/estimator_fsk.h>
25 
26 namespace gr {
27 namespace radar {
28 
30 {
31 private:
32  // Nothing to declare in this block.
33 
34 public:
35  estimator_fsk_impl(float center_freq, float delta_freq, bool push_power);
37  void handle_msg(pmt::pmt_t msg);
38 
42 
43  std::vector<float> d_freq, d_phase;
45 
46  std::vector<float> d_vel;
47  pmt::pmt_t d_value;
49  std::vector<float> d_range;
51 
52  constexpr static float c_light = 3e8;
53 };
54 
55 } // namespace radar
56 } // namespace gr
57 
58 #endif /* INCLUDED_RADAR_ESTIMATOR_FSK_IMPL_H */
gr::radar::estimator_fsk_impl::d_ppower
pmt::pmt_t d_ppower
Definition: estimator_fsk_impl.h:44
estimator_fsk.h
gr::radar::estimator_fsk_impl::d_phase
std::vector< float > d_phase
Definition: estimator_fsk_impl.h:43
gr::radar::estimator_fsk_impl::d_port_id_in
pmt::pmt_t d_port_id_in
Definition: estimator_fsk_impl.h:41
gr::radar::estimator_fsk_impl::d_ptimestamp
pmt::pmt_t d_ptimestamp
Definition: estimator_fsk_impl.h:44
gr::radar::estimator_fsk_impl::d_range_value
pmt::pmt_t d_range_value
Definition: estimator_fsk_impl.h:50
gr::radar::estimator_fsk_impl::d_center_freq
float d_center_freq
Definition: estimator_fsk_impl.h:39
gr::radar::estimator_fsk_impl::d_vel_value
pmt::pmt_t d_vel_value
Definition: estimator_fsk_impl.h:48
gr::radar::estimator_fsk_impl::d_push_power
bool d_push_power
Definition: estimator_fsk_impl.h:40
gr::radar::estimator_fsk_impl::d_freq
std::vector< float > d_freq
Definition: estimator_fsk_impl.h:43
gr::radar::estimator_fsk_impl::d_value
pmt::pmt_t d_value
Definition: estimator_fsk_impl.h:47
gr::radar::estimator_fsk_impl::estimator_fsk_impl
estimator_fsk_impl(float center_freq, float delta_freq, bool push_power)
gr::radar::estimator_fsk_impl::d_range_pack
pmt::pmt_t d_range_pack
Definition: estimator_fsk_impl.h:50
gr::radar::estimator_fsk_impl::d_vel_key
pmt::pmt_t d_vel_key
Definition: estimator_fsk_impl.h:48
gr::radar::estimator_fsk_impl
Definition: estimator_fsk_impl.h:29
gr::radar::estimator_fsk_impl::d_port_id_out
pmt::pmt_t d_port_id_out
Definition: estimator_fsk_impl.h:41
gr::radar::estimator_fsk_impl::d_vel_pack
pmt::pmt_t d_vel_pack
Definition: estimator_fsk_impl.h:48
gr::radar::estimator_fsk_impl::handle_msg
void handle_msg(pmt::pmt_t msg)
gr::radar::estimator_fsk
This block estimates the range with peaks given from a FSK spectrum. Needed identifiers (symbols) are...
Definition: estimator_fsk.h:45
gr::radar::estimator_fsk_impl::d_pphase
pmt::pmt_t d_pphase
Definition: estimator_fsk_impl.h:44
gr
Definition: crop_matrix_vcvc.h:28
gr::radar::estimator_fsk_impl::d_range
std::vector< float > d_range
Definition: estimator_fsk_impl.h:49
gr::radar::estimator_fsk_impl::d_pfreq
pmt::pmt_t d_pfreq
Definition: estimator_fsk_impl.h:44
gr::radar::estimator_fsk_impl::d_delta_freq
float d_delta_freq
Definition: estimator_fsk_impl.h:39
gr::radar::estimator_fsk_impl::d_vel
std::vector< float > d_vel
Definition: estimator_fsk_impl.h:46
gr::radar::estimator_fsk_impl::d_range_key
pmt::pmt_t d_range_key
Definition: estimator_fsk_impl.h:50
gr::radar::estimator_fsk_impl::~estimator_fsk_impl
~estimator_fsk_impl()
gr::radar::estimator_fsk_impl::c_light
constexpr static float c_light
Definition: estimator_fsk_impl.h:52