GNU Radio Radar Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Macros
estimator_fmcw_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_FMCW_IMPL_H
22 #define INCLUDED_RADAR_ESTIMATOR_FMCW_IMPL_H
23 
24 #include <radar/estimator_fmcw.h>
25 
26 namespace gr {
27  namespace radar {
28 
30  {
31  private:
32  // Nothing to declare in this block.
33 
34  public:
35  estimator_fmcw_impl(int samp_rate, float center_freq, float sweep_freq, int samp_up, int samp_down, bool push_power);
37 
38  void handle_msg_cw(pmt::pmt_t msg);
39  void handle_msg_up(pmt::pmt_t msg);
40  void handle_msg_down(pmt::pmt_t msg);
41  void estimate();
42 
47 
49 
51 
54 
55  const static float c_light = 3e8;
56 
57  };
58 
59  } // namespace radar
60 } // namespace gr
61 
62 #endif /* INCLUDED_RADAR_ESTIMATOR_FMCW_IMPL_H */
63 
float d_sweep_freq
Definition: estimator_fmcw_impl.h:44
pmt::pmt_t d_port_id_out
Definition: estimator_fmcw_impl.h:52
float d_const_down
Definition: estimator_fmcw_impl.h:48
pmt::pmt_t d_msg_down
Definition: estimator_fmcw_impl.h:53
Definition: estimator_fmcw_impl.h:29
float d_const_doppler
Definition: estimator_fmcw_impl.h:48
bool d_msg_up_in
Definition: estimator_fmcw_impl.h:50
pmt::pmt_t d_port_id_in_up
Definition: estimator_fmcw_impl.h:52
void handle_msg_down(pmt::pmt_t msg)
int d_samp_rate
Definition: estimator_fmcw_impl.h:43
This block estimates range and veloicty from peaks of a FMCW spectrum. Input messages are data with t...
Definition: estimator_fmcw.h:43
float d_const_up
Definition: estimator_fmcw_impl.h:48
int d_samp_down
Definition: estimator_fmcw_impl.h:45
static const float c_light
Definition: estimator_fmcw_impl.h:55
pmt::pmt_t d_msg_cw
Definition: estimator_fmcw_impl.h:53
void handle_msg_up(pmt::pmt_t msg)
bool d_msg_down_in
Definition: estimator_fmcw_impl.h:50
bool d_msg_cw_in
Definition: estimator_fmcw_impl.h:50
pmt::pmt_t d_msg_up
Definition: estimator_fmcw_impl.h:53
int d_samp_up
Definition: estimator_fmcw_impl.h:45
estimator_fmcw_impl(int samp_rate, float center_freq, float sweep_freq, int samp_up, int samp_down, bool push_power)
bool d_push_power
Definition: estimator_fmcw_impl.h:46
pmt::pmt_t d_port_id_in_cw
Definition: estimator_fmcw_impl.h:52
pmt::pmt_t d_port_id_in_down
Definition: estimator_fmcw_impl.h:52
void handle_msg_cw(pmt::pmt_t msg)
float d_center_freq
Definition: estimator_fmcw_impl.h:44