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