estimator_cw_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2014 Communications Engineering Lab, KIT.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_RADAR_ESTIMATOR_CW_IMPL_H
#define INCLUDED_RADAR_ESTIMATOR_CW_IMPL_H
#include <radar/estimator_cw.h>
namespace gr {
namespace radar {
class estimator_cw_impl : public estimator_cw
{
private:
// Nothing to declare in this block.
public:
estimator_cw_impl(float center_freq);
~estimator_cw_impl();
void handle_msg(pmt::pmt_t msg);
float d_center_freq;
pmt::pmt_t d_port_id_in, d_port_id_out;
std::vector<float> d_freq;
pmt::pmt_t d_ptimestamp, d_pfreq;
std::vector<float> d_vel;
pmt::pmt_t d_vel_key, d_vel_value, d_vel_pack, d_value;
pmt::pmt_t d_time_key, d_time_value, d_time_pack;
constexpr static float c_light = 3e8;
};
} // namespace radar
} // namespace gr
#endif /* INCLUDED_RADAR_ESTIMATOR_CW_IMPL_H */
gr::radar::estimator_cw_impl::d_pfreq
pmt::pmt_t d_pfreq
Definition estimator_cw_impl.h:43
gr::radar::estimator_cw_impl::c_light
static constexpr float c_light
Definition estimator_cw_impl.h:49
gr::radar::estimator_cw_impl::d_time_value
pmt::pmt_t d_time_value
Definition estimator_cw_impl.h:47
gr::radar::estimator_cw_impl::d_port_id_out
pmt::pmt_t d_port_id_out
Definition estimator_cw_impl.h:40
gr::radar::estimator_cw_impl::handle_msg
void handle_msg(pmt::pmt_t msg)
gr::radar::estimator_cw_impl::d_value
pmt::pmt_t d_value
Definition estimator_cw_impl.h:46
gr::radar::estimator_cw_impl::d_freq
std::vector< float > d_freq
Definition estimator_cw_impl.h:42
gr::radar::estimator_cw_impl::d_time_key
pmt::pmt_t d_time_key
Definition estimator_cw_impl.h:47
gr::radar::estimator_cw_impl::d_center_freq
float d_center_freq
Definition estimator_cw_impl.h:39
gr::radar::estimator_cw_impl::d_vel_key
pmt::pmt_t d_vel_key
Definition estimator_cw_impl.h:46
gr::radar::estimator_cw_impl::~estimator_cw_impl
~estimator_cw_impl()
gr::radar::estimator_cw_impl::d_vel_value
pmt::pmt_t d_vel_value
Definition estimator_cw_impl.h:46
gr::radar::estimator_cw_impl::d_port_id_in
pmt::pmt_t d_port_id_in
Definition estimator_cw_impl.h:40
gr::radar::estimator_cw_impl::d_ptimestamp
pmt::pmt_t d_ptimestamp
Definition estimator_cw_impl.h:43
gr::radar::estimator_cw_impl::d_vel
std::vector< float > d_vel
Definition estimator_cw_impl.h:45
gr::radar::estimator_cw_impl::estimator_cw_impl
estimator_cw_impl(float center_freq)
gr::radar::estimator_cw_impl::d_time_pack
pmt::pmt_t d_time_pack
Definition estimator_cw_impl.h:47
gr::radar::estimator_cw_impl::d_vel_pack
pmt::pmt_t d_vel_pack
Definition estimator_cw_impl.h:46
gr::radar::estimator_cw
This block estimates the velocity from given peaks of a CW spectrum. The estimator looks for a f32vec...
Definition estimator_cw.h:42
estimator_cw.h
gr::radar
Definition crop_matrix_vcvc.h:29
gr
Definition crop_matrix_vcvc.h:28