GNU Radio Radar Toolbox
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
26namespace gr {
27namespace radar {
28
30{
31private:
32 // Nothing to declare in this block.
33
34public:
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 constexpr static float c_light = 3e8;
50};
51
52} // namespace radar
53} // namespace gr
54
55#endif /* INCLUDED_RADAR_ESTIMATOR_CW_IMPL_H */
Definition estimator_cw_impl.h:30
pmt::pmt_t d_pfreq
Definition estimator_cw_impl.h:43
static constexpr 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_port_id_out
Definition estimator_cw_impl.h:40
void handle_msg(pmt::pmt_t msg)
pmt::pmt_t d_value
Definition estimator_cw_impl.h:46
std::vector< float > d_freq
Definition estimator_cw_impl.h:42
pmt::pmt_t d_time_key
Definition estimator_cw_impl.h:47
float d_center_freq
Definition estimator_cw_impl.h:39
pmt::pmt_t d_vel_key
Definition estimator_cw_impl.h:46
pmt::pmt_t d_vel_value
Definition estimator_cw_impl.h:46
pmt::pmt_t d_port_id_in
Definition estimator_cw_impl.h:40
pmt::pmt_t d_ptimestamp
Definition estimator_cw_impl.h:43
std::vector< float > d_vel
Definition estimator_cw_impl.h:45
estimator_cw_impl(float center_freq)
pmt::pmt_t d_time_pack
Definition estimator_cw_impl.h:47
pmt::pmt_t d_vel_pack
Definition estimator_cw_impl.h:46
This block estimates the velocity from given peaks of a CW spectrum. The estimator looks for a f32vec...
Definition estimator_cw.h:42
Definition crop_matrix_vcvc.h:28