|
FERS 0.1.0
The Flexible Extensible Radar Simulator
|
Typedefs | |
| using | Thrower = std::function< void(const std::string &)> |
| Callback used by validators to report an error through the caller's mechanism. | |
Functions | |
| void | validateWaveform (const fers_signal::RadarSignal &wave, const std::string &owner, const Thrower &throw_error) |
| Validates that a waveform is compatible with FMCW streaming constraints. | |
| void | validateWaveformModeMatch (const fers_signal::RadarSignal &wave, radar::OperationMode mode, const std::string &owner, const Thrower &throw_error) |
| Validates that a waveform and radar operation mode are compatible. | |
| void | validateSchedule (const std::vector< radar::SchedulePeriod > &schedule, const fers_signal::FmcwChirpSignal &fmcw, const std::string &owner, const Thrower &throw_error) |
| Validates that an FMCW waveform schedule can emit complete chirps. | |
| void | validateSchedule (const std::vector< radar::SchedulePeriod > &schedule, const fers_signal::RadarSignal &wave, const std::string &owner, const Thrower &throw_error) |
| Validates that an FMCW waveform schedule can emit complete waveform periods. | |
| using serial::fmcw_validation::Thrower = typedef std::function<void(const std::string&)> |
Callback used by validators to report an error through the caller's mechanism.
Definition at line 27 of file fmcw_validation.h.
| void serial::fmcw_validation::validateSchedule | ( | const std::vector< radar::SchedulePeriod > & | schedule, |
| const fers_signal::FmcwChirpSignal & | fmcw, | ||
| const std::string & | owner, | ||
| const Thrower & | throw_error | ||
| ) |
Validates that an FMCW waveform schedule can emit complete chirps.
Definition at line 130 of file fmcw_validation.cpp.
References fers_signal::FmcwChirpSignal::getChirpDuration(), fers_signal::FmcwChirpSignal::getChirpPeriod(), LOG, max, and logging::WARNING.
Referenced by validateSchedule().
Here is the call graph for this function:
Here is the caller graph for this function:| void serial::fmcw_validation::validateSchedule | ( | const std::vector< radar::SchedulePeriod > & | schedule, |
| const fers_signal::RadarSignal & | wave, | ||
| const std::string & | owner, | ||
| const Thrower & | throw_error | ||
| ) |
Validates that an FMCW waveform schedule can emit complete waveform periods.
Definition at line 150 of file fmcw_validation.cpp.
References LOG, max, validateSchedule(), and logging::WARNING.
Here is the call graph for this function:| void serial::fmcw_validation::validateWaveform | ( | const fers_signal::RadarSignal & | wave, |
| const std::string & | owner, | ||
| const Thrower & | throw_error | ||
| ) |
Validates that a waveform is compatible with FMCW streaming constraints.
Definition at line 89 of file fmcw_validation.cpp.
References max.
| void serial::fmcw_validation::validateWaveformModeMatch | ( | const fers_signal::RadarSignal & | wave, |
| const radar::OperationMode | mode, | ||
| const std::string & | owner, | ||
| const Thrower & | throw_error | ||
| ) |
Validates that a waveform and radar operation mode are compatible.
Definition at line 117 of file fmcw_validation.cpp.
References radar::CW_MODE, radar::FMCW_MODE, max, and radar::PULSED_MODE.