|
FERS 0.1.0
The Flexible Extensible Radar Simulator
|
Classes | |
| class | FileTarget |
| File-based radar target. More... | |
| class | IsoTarget |
| Isotropic radar target. More... | |
| class | Object |
| Represents a physical object in the radar system. More... | |
| class | Platform |
| Represents a simulation platform with motion and rotation paths. More... | |
| class | Radar |
| Represents a radar system on a platform. More... | |
| class | RcsChiSquare |
| Chi-square distributed RCS model. More... | |
| class | RcsConst |
| Constant RCS model. More... | |
| class | RcsModel |
| Base class for RCS fluctuation models. More... | |
| class | Receiver |
| Manages radar signal reception and response processing. More... | |
| struct | SchedulePeriod |
| Represents a time period during which the transmitter is active. More... | |
| class | Target |
| Base class for radar targets. More... | |
| class | Transmitter |
| Represents a radar transmitter system. More... | |
Enumerations | |
| enum class | OperationMode : std::uint8_t { PULSED_MODE , CW_MODE , FMCW_MODE } |
| Defines the operational mode of a radar component. More... | |
Functions | |
| std::string_view | dechirpModeToken (Receiver::DechirpMode mode) noexcept |
| Converts a dechirp mode to its scenario token. | |
| Receiver::DechirpMode | parseDechirpModeToken (std::string_view token) |
| Parses a dechirp mode scenario token. | |
| std::string_view | dechirpReferenceSourceToken (Receiver::DechirpReferenceSource source) noexcept |
| Converts a dechirp reference source to its scenario token. | |
| Receiver::DechirpReferenceSource | parseDechirpReferenceSourceToken (std::string_view token) |
| Parses a dechirp reference source scenario token. | |
| std::vector< SchedulePeriod > | processRawSchedule (const std::vector< SchedulePeriod > &periods, const std::string &ownerName, bool isPulsed, RealType pri) |
| Processes a raw list of schedule periods. | |
| std::unique_ptr< Target > | createIsoTarget (Platform *platform, std::string name, RealType rcs, unsigned seed, const SimId id=0) |
| Creates an isotropic target. | |
| std::unique_ptr< Target > | createFileTarget (Platform *platform, std::string name, const std::string &filename, unsigned seed, const SimId id=0) |
| Creates a file-based target. | |
| void | to_json (nlohmann::json &j, const SchedulePeriod &p) |
| void | from_json (const nlohmann::json &j, SchedulePeriod &p) |
| void | to_json (nlohmann::json &j, const Transmitter &t) |
| void | to_json (nlohmann::json &j, const Receiver &r) |
| void | to_json (nlohmann::json &j, const Target &t) |
| void | to_json (nlohmann::json &j, const Platform &p) |
|
strong |
Defines the operational mode of a radar component.
| Enumerator | |
|---|---|
| PULSED_MODE | The component operates in a pulsed mode. |
| CW_MODE | The component operates in a continuous-wave mode. |
| FMCW_MODE | The component operates in an FMCW streaming mode. |
Definition at line 38 of file radar_obj.h.
| std::unique_ptr< Target > radar::createFileTarget | ( | Platform * | platform, |
| std::string | name, | ||
| const std::string & | filename, | ||
| unsigned | seed, | ||
| const SimId | id = 0 |
||
| ) |
Creates a file-based target.
| platform | Pointer to the platform associated with the target. |
| name | The name of the target. |
| filename | The name of the file containing RCS data. |
| seed | The seed for the target's internal random number generator. |
Definition at line 297 of file target.h.
References max.
Referenced by serial::xml_parser_utils::createDefaultAssetLoaders(), and serial::update_target_from_json().
Here is the caller graph for this function:| std::unique_ptr< Target > radar::createIsoTarget | ( | Platform * | platform, |
| std::string | name, | ||
| RealType | rcs, | ||
| unsigned | seed, | ||
| const SimId | id = 0 |
||
| ) |
Creates an isotropic target.
| platform | Pointer to the platform associated with the target. |
| name | The name of the target. |
| rcs | The constant RCS value for the target. |
| seed | The seed for the target's internal random number generator. |
Definition at line 282 of file target.h.
References max.
Referenced by serial::xml_parser_utils::parseTarget(), and serial::update_target_from_json().
Here is the caller graph for this function:
|
noexcept |
Converts a dechirp mode to its scenario token.
Definition at line 45 of file receiver.cpp.
References radar::Receiver::Ideal, radar::Receiver::None, and radar::Receiver::Physical.
Referenced by serial::xml_serializer_utils::serializeReceiverFmcwMode().
Here is the caller graph for this function:
|
noexcept |
Converts a dechirp reference source to its scenario token.
Definition at line 76 of file receiver.cpp.
References radar::Receiver::Attached, radar::Receiver::Custom, radar::Receiver::None, and radar::Receiver::Transmitter.
Referenced by serial::xml_serializer_utils::serializeReceiverFmcwMode().
Here is the caller graph for this function:| void radar::from_json | ( | const nlohmann::json & | j, |
| SchedulePeriod & | p | ||
| ) |
| Receiver::DechirpMode radar::parseDechirpModeToken | ( | const std::string_view | token | ) |
Parses a dechirp mode scenario token.
Definition at line 59 of file receiver.cpp.
References radar::Receiver::Ideal, max, radar::Receiver::None, and radar::Receiver::Physical.
| Receiver::DechirpReferenceSource radar::parseDechirpReferenceSourceToken | ( | const std::string_view | token | ) |
Parses a dechirp reference source scenario token.
Definition at line 92 of file receiver.cpp.
References radar::Receiver::Attached, radar::Receiver::Custom, max, and radar::Receiver::Transmitter.
| std::vector< SchedulePeriod > radar::processRawSchedule | ( | const std::vector< SchedulePeriod > & | periods, |
| const std::string & | ownerName, | ||
| bool | isPulsed, | ||
| RealType | pri | ||
| ) |
Processes a raw list of schedule periods.
This function performs the following operations:
| periods | The raw vector of periods. |
| ownerName | The name of the object owning this schedule (for logging). |
| isPulsed | Whether the object is operating in pulsed mode. |
| pri | The Pulse Repetition Interval (only used if isPulsed is true). |
Definition at line 17 of file schedule_period.cpp.
References a, b, params::endTime(), LOG, max, params::startTime(), and logging::WARNING.
Referenced by serial::xml_parser_utils::parseSchedule(), serial::update_monostatic_schedule_from_json(), serial::update_receiver_schedule_from_json(), and serial::update_transmitter_schedule_from_json().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 937 of file json_serializer.cpp.
References math::RotationPath::INTERP_CONSTANT, and max.
Definition at line 874 of file json_serializer.cpp.
References radar::Receiver::FLAG_NODIRECT, radar::Receiver::FLAG_NOPROPLOSS, FMCW_MODE, max, and PULSED_MODE.
| void radar::to_json | ( | nlohmann::json & | j, |
| const SchedulePeriod & | p | ||
| ) |
Definition at line 903 of file json_serializer.cpp.
References radar::Target::getFluctuationModel(), radar::Target::getId(), radar::Object::getName(), and max.
Here is the call graph for this function:| void radar::to_json | ( | nlohmann::json & | j, |
| const Transmitter & | t | ||
| ) |
Definition at line 848 of file json_serializer.cpp.
References FMCW_MODE, radar::Radar::getAntenna(), antenna::Antenna::getId(), radar::Transmitter::getId(), fers_signal::RadarSignal::getId(), radar::Transmitter::getMode(), radar::Object::getName(), radar::Transmitter::getPrf(), radar::Transmitter::getSchedule(), radar::Transmitter::getSignal(), radar::Radar::getTiming(), max, and PULSED_MODE.
Here is the call graph for this function: