This block generates a signal for FMCW radar in baseband. The modulation is structured in a CW part with constant frequency and a following up- and down-chirp. The chirp goes from CW frequency to CW frequency plus sweep frequency and back to the CW frequency. The CW part is first, up- and down-chirp is following. The packet length for subsequent tagged streams is calculated by the sum of the number of samples of the single modulations parts. More...
#include <signal_generator_fmcw_c.h>
Public Types | |
typedef boost::shared_ptr < signal_generator_fmcw_c > | sptr |
Static Public Member Functions | |
static sptr | make (int samp_rate, int samp_up, int samp_down, int samp_cw, float freq_cw, float freq_sweep, float amplitude, const std::string &len_key="packet_len") |
Return a shared_ptr to a new instance of radar::signal_generator_fmcw_c. More... | |
This block generates a signal for FMCW radar in baseband. The modulation is structured in a CW part with constant frequency and a following up- and down-chirp. The chirp goes from CW frequency to CW frequency plus sweep frequency and back to the CW frequency. The CW part is first, up- and down-chirp is following. The packet length for subsequent tagged streams is calculated by the sum of the number of samples of the single modulations parts.
samp_rate | Signal sample rate |
samp_up | Number samples of up-chirp part |
samp_down | Number samples of down-chirp part |
samp_cw | Number samples of CW part |
freq_cw | CW signal frequency in baseband |
freq_sweep | Sweep frequency of up- and down-chirp |
amplitude | Signal amplitude |
len_key | Packet length key for tagged stream |
typedef boost::shared_ptr<signal_generator_fmcw_c> gr::radar::signal_generator_fmcw_c::sptr |
|
static |
Return a shared_ptr to a new instance of radar::signal_generator_fmcw_c.
To avoid accidental use of raw pointers, radar::signal_generator_fmcw_c's constructor is in a private implementation class. radar::signal_generator_fmcw_c::make is the public interface for creating new instances.