estimator_fsk_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_FSK_IMPL_H
#define INCLUDED_RADAR_ESTIMATOR_FSK_IMPL_H
#include <radar/estimator_fsk.h>
namespace gr {
namespace radar {
class estimator_fsk_impl : public estimator_fsk
{
private:
// Nothing to declare in this block.
public:
estimator_fsk_impl(float center_freq, float delta_freq, bool push_power);
~estimator_fsk_impl();
void handle_msg(pmt::pmt_t msg);
float d_center_freq, d_delta_freq;
bool d_push_power;
pmt::pmt_t d_port_id_in, d_port_id_out;
std::vector<float> d_freq, d_phase;
pmt::pmt_t d_ptimestamp, d_pfreq, d_pphase, d_ppower;
std::vector<float> d_vel;
pmt::pmt_t d_value;
pmt::pmt_t d_vel_key, d_vel_value, d_vel_pack;
std::vector<float> d_range;
pmt::pmt_t d_range_key, d_range_value, d_range_pack;
constexpr static float c_light = 3e8;
};
} // namespace radar
} // namespace gr
#endif /* INCLUDED_RADAR_ESTIMATOR_FSK_IMPL_H */
gr::radar::estimator_fsk_impl::d_port_id_out
pmt::pmt_t d_port_id_out
Definition estimator_fsk_impl.h:41
gr::radar::estimator_fsk_impl::estimator_fsk_impl
estimator_fsk_impl(float center_freq, float delta_freq, bool push_power)
gr::radar::estimator_fsk_impl::d_delta_freq
float d_delta_freq
Definition estimator_fsk_impl.h:39
gr::radar::estimator_fsk_impl::d_port_id_in
pmt::pmt_t d_port_id_in
Definition estimator_fsk_impl.h:41
gr::radar::estimator_fsk_impl::~estimator_fsk_impl
~estimator_fsk_impl()
gr::radar::estimator_fsk_impl::d_range
std::vector< float > d_range
Definition estimator_fsk_impl.h:49
gr::radar::estimator_fsk_impl::d_phase
std::vector< float > d_phase
Definition estimator_fsk_impl.h:43
gr::radar::estimator_fsk_impl::d_vel_key
pmt::pmt_t d_vel_key
Definition estimator_fsk_impl.h:48
gr::radar::estimator_fsk_impl::d_range_key
pmt::pmt_t d_range_key
Definition estimator_fsk_impl.h:50
gr::radar::estimator_fsk_impl::d_value
pmt::pmt_t d_value
Definition estimator_fsk_impl.h:47
gr::radar::estimator_fsk_impl::d_push_power
bool d_push_power
Definition estimator_fsk_impl.h:40
gr::radar::estimator_fsk_impl::d_pphase
pmt::pmt_t d_pphase
Definition estimator_fsk_impl.h:44
gr::radar::estimator_fsk_impl::d_vel
std::vector< float > d_vel
Definition estimator_fsk_impl.h:46
gr::radar::estimator_fsk_impl::d_center_freq
float d_center_freq
Definition estimator_fsk_impl.h:39
gr::radar::estimator_fsk_impl::d_ptimestamp
pmt::pmt_t d_ptimestamp
Definition estimator_fsk_impl.h:44
gr::radar::estimator_fsk_impl::handle_msg
void handle_msg(pmt::pmt_t msg)
gr::radar::estimator_fsk_impl::c_light
static constexpr float c_light
Definition estimator_fsk_impl.h:52
gr::radar::estimator_fsk_impl::d_vel_value
pmt::pmt_t d_vel_value
Definition estimator_fsk_impl.h:48
gr::radar::estimator_fsk_impl::d_range_value
pmt::pmt_t d_range_value
Definition estimator_fsk_impl.h:50
gr::radar::estimator_fsk_impl::d_range_pack
pmt::pmt_t d_range_pack
Definition estimator_fsk_impl.h:50
gr::radar::estimator_fsk_impl::d_freq
std::vector< float > d_freq
Definition estimator_fsk_impl.h:43
gr::radar::estimator_fsk_impl::d_vel_pack
pmt::pmt_t d_vel_pack
Definition estimator_fsk_impl.h:48
gr::radar::estimator_fsk_impl::d_ppower
pmt::pmt_t d_ppower
Definition estimator_fsk_impl.h:44
gr::radar::estimator_fsk_impl::d_pfreq
pmt::pmt_t d_pfreq
Definition estimator_fsk_impl.h:44
gr::radar::estimator_fsk
This block estimates the range with peaks given from a FSK spectrum. Needed identifiers (symbols) are...
Definition estimator_fsk.h:46
estimator_fsk.h
gr::radar
Definition crop_matrix_vcvc.h:29
gr
Definition crop_matrix_vcvc.h:28