GNU Radio Radar Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Macros
estimator_cw_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_CW_IMPL_H
22 #define INCLUDED_RADAR_ESTIMATOR_CW_IMPL_H
23 
24 #include <radar/estimator_cw.h>
25 
26 namespace gr {
27  namespace radar {
28 
30  {
31  private:
32  // Nothing to declare in this block.
33 
34  public:
35  estimator_cw_impl(float center_freq);
37  void handle_msg(pmt::pmt_t msg);
38 
41 
42  std::vector<float> d_freq;
43  pmt::pmt_t d_ptimestamp, d_pfreq;
44 
45  std::vector<float> d_vel;
48 
49  const static float c_light = 3e8;
50  };
51 
52  } // namespace radar
53 } // namespace gr
54 
55 #endif /* INCLUDED_RADAR_ESTIMATOR_CW_IMPL_H */
56 
Definition: estimator_cw_impl.h:29
std::vector< float > d_vel
Definition: estimator_cw_impl.h:45
pmt::pmt_t d_port_id_in
Definition: estimator_cw_impl.h:40
static const float c_light
Definition: estimator_cw_impl.h:49
pmt::pmt_t d_time_value
Definition: estimator_cw_impl.h:47
pmt::pmt_t d_time_pack
Definition: estimator_cw_impl.h:47
pmt::pmt_t d_ptimestamp
Definition: estimator_cw_impl.h:43
pmt::pmt_t d_pfreq
Definition: estimator_cw_impl.h:43
pmt::pmt_t d_value
Definition: estimator_cw_impl.h:46
pmt::pmt_t d_port_id_out
Definition: estimator_cw_impl.h:40
This block estimates the velocity from given peaks of a CW spectrum. The estimator looks for a f32vec...
Definition: estimator_cw.h:38
std::vector< float > d_freq
Definition: estimator_cw_impl.h:42
pmt::pmt_t d_vel_value
Definition: estimator_cw_impl.h:46
void handle_msg(pmt::pmt_t msg)
pmt::pmt_t d_vel_pack
Definition: estimator_cw_impl.h:46
estimator_cw_impl(float center_freq)
float d_center_freq
Definition: estimator_cw_impl.h:39
pmt::pmt_t d_time_key
Definition: estimator_cw_impl.h:47
pmt::pmt_t d_vel_key
Definition: estimator_cw_impl.h:46