This block simulates the backscattering of a given signal on point targets. TX signal is given on the input and is tuned in the simulation on the given center frequency. Target parameters are given as f32vectors and each index refers to a target. The vectors range, velocity, rcs, and azimuth must have the same length. Velocity adds the doppler shift on the input signal and range adds a timeshift. Azimuth adds a second timeshift which refers to the distance between TX and RX antenna. All antennas are set on a straight line. The TX antenna takes place on the zero point as reference. The RX antennas are set on the straight line in a distance of position_rx to the TX antenna. The azimuth is measured from the vertical of this line. rndm_phaseshift adds on every target RX signal a random phase. self_coupling toggles the self coupling of the TX signal on the RX signal with self_coupling_db power.
More...
#include <static_target_simulator_cc.h>
|
virtual void | setup_targets (std::vector< float > range, std::vector< float > velocity, std::vector< float > rcs, std::vector< float > azimuth, std::vector< float > position_rx, int samp_rate, float center_freq, float self_coupling_db, bool rndm_phaseshift, bool self_coupling)=0 |
|
|
static sptr | make (std::vector< float > range, std::vector< float > velocity, std::vector< float > rcs, std::vector< float > azimuth, std::vector< float > position_rx, int samp_rate, float center_freq, float self_coupling_db, bool rndm_phaseshift=true, bool self_coupling=true, const std::string &len_key="packet_len") |
| Return a shared_ptr to a new instance of radar::static_target_simulator_cc. More...
|
|
This block simulates the backscattering of a given signal on point targets. TX signal is given on the input and is tuned in the simulation on the given center frequency. Target parameters are given as f32vectors and each index refers to a target. The vectors range, velocity, rcs, and azimuth must have the same length. Velocity adds the doppler shift on the input signal and range adds a timeshift. Azimuth adds a second timeshift which refers to the distance between TX and RX antenna. All antennas are set on a straight line. The TX antenna takes place on the zero point as reference. The RX antennas are set on the straight line in a distance of position_rx to the TX antenna. The azimuth is measured from the vertical of this line. rndm_phaseshift adds on every target RX signal a random phase. self_coupling toggles the self coupling of the TX signal on the RX signal with self_coupling_db power.
- Parameters
-
range | Target ranges as vector |
velocity | Target velocities as vector |
rcs | Target RCS as vector |
azimuth | Target azimuth as vector |
position_rx | Position RX antennas |
samp_rate | Sample rate |
center_freq | Center frequency |
self_coupling_db | Self coupling in dB |
rndm_phaseshift | Toggle random phaseshift on targets |
self_coupling | Toggle self coupling |
packet_len | Packet length key for tagged stream |
static sptr gr::radar::static_target_simulator_cc::make |
( |
std::vector< float > |
range, |
|
|
std::vector< float > |
velocity, |
|
|
std::vector< float > |
rcs, |
|
|
std::vector< float > |
azimuth, |
|
|
std::vector< float > |
position_rx, |
|
|
int |
samp_rate, |
|
|
float |
center_freq, |
|
|
float |
self_coupling_db, |
|
|
bool |
rndm_phaseshift = true , |
|
|
bool |
self_coupling = true , |
|
|
const std::string & |
len_key = "packet_len" |
|
) |
| |
|
static |
virtual void gr::radar::static_target_simulator_cc::setup_targets |
( |
std::vector< float > |
range, |
|
|
std::vector< float > |
velocity, |
|
|
std::vector< float > |
rcs, |
|
|
std::vector< float > |
azimuth, |
|
|
std::vector< float > |
position_rx, |
|
|
int |
samp_rate, |
|
|
float |
center_freq, |
|
|
float |
self_coupling_db, |
|
|
bool |
rndm_phaseshift, |
|
|
bool |
self_coupling |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: