28 _prf = 1 / (std::floor(rate /
mprf) / rate);
40 if (_schedule.empty())
45 for (
const auto&
period : _schedule)
FMCW linear chirp signal implementation.
const class FmcwChirpSignal * getFmcwChirpSignal() const noexcept
Gets the FMCW chirp implementation, if this signal owns one.
std::optional< RealType > getNextPulseTime(RealType time) const
Determines the valid simulation time for a pulse at or after the given time.
void setSchedule(std::vector< SchedulePeriod > schedule)
Sets the active schedule for the transmitter.
const fers_signal::FmcwChirpSignal * getFmcwSignal() const noexcept
Gets the FMCW chirp signal when this transmitter uses one.
void setPrf(RealType mprf) noexcept
Sets the pulse repetition frequency (PRF) of the transmitter.
double RealType
Type for real numbers.
RealType rate() noexcept
Get the rendering sample rate.
unsigned oversampleRatio() noexcept
Get the oversampling ratio.
Defines the Parameters struct and provides methods for managing simulation parameters.
Classes for handling radar waveforms and signals.
Header file for the Transmitter class in the radar namespace.