|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Struct to hold simulation parameters. More...
#include "parameters.h"
Public Member Functions | |
| void | reset () noexcept |
| Resets the parameters to their default-constructed state. | |
Public Attributes | |
| RealType | c = DEFAULT_C |
| Speed of light (modifiable) | |
| RealType | boltzmann_k = DEFAULT_BOLTZMANN_K |
| Boltzmann constant. | |
| RealType | start = 0 |
| Start time for the simulation. | |
| RealType | end = 0 |
| End time for the simulation. | |
| RealType | sim_sampling_rate = 1000 |
| Temporal sampling rate (Hz) that determines time-step resolution for radar pulse simulation. | |
| double | origin_latitude = -33.957652 |
| Geodetic origin latitude. | |
| double | origin_longitude = 18.4611991 |
| Geodetic origin longitude. | |
| double | origin_altitude = 111.01 |
| Geodetic origin altitude (in meters) | |
| CoordinateFrame | coordinate_frame = CoordinateFrame::ENU |
| Scenario coordinate frame. | |
| int | utm_zone = 0 |
| UTM zone (1-60), if applicable. | |
| bool | utm_north_hemisphere = true |
| UTM hemisphere, if applicable. | |
| RealType | rate = 0 |
| Rendering sample rate. | |
| std::optional< unsigned > | random_seed |
| Random seed for simulation. | |
| unsigned | adc_bits = 0 |
| ADC quantization bits. | |
| unsigned | filter_length = 33 |
| Default render filter length. | |
| unsigned | render_threads = 1 |
| Number of worker threads to use for parallel tasks. | |
| std::string | simulation_name |
| The name of the simulation, from the XML. | |
| unsigned | oversample_ratio = 1 |
| Oversampling ratio. | |
Static Public Attributes | |
| static constexpr RealType | DEFAULT_C = 299792458.0 |
| Speed of light (m/s) | |
| static constexpr RealType | DEFAULT_BOLTZMANN_K = 1.3806503e-23 |
| Boltzmann constant. | |
Struct to hold simulation parameters.
Definition at line 39 of file parameters.h.
|
noexcept |
Resets the parameters to their default-constructed state.
This ensures all members are restored to the values specified by their default member initializers.
Definition at line 70 of file parameters.h.
Referenced by serial::parseSimulation(), and serial::parseSimulationFromString().
Here is the caller graph for this function:| unsigned params::Parameters::adc_bits = 0 |
ADC quantization bits.
Definition at line 59 of file parameters.h.
Referenced by params::from_json().
| RealType params::Parameters::boltzmann_k = DEFAULT_BOLTZMANN_K |
Boltzmann constant.
Definition at line 44 of file parameters.h.
Speed of light (modifiable)
Definition at line 43 of file parameters.h.
Referenced by params::from_json().
| CoordinateFrame params::Parameters::coordinate_frame = CoordinateFrame::ENU |
Scenario coordinate frame.
Definition at line 54 of file parameters.h.
Referenced by params::from_json().
|
staticconstexpr |
Boltzmann constant.
Definition at line 42 of file parameters.h.
|
staticconstexpr |
| RealType params::Parameters::end = 0 |
End time for the simulation.
Definition at line 46 of file parameters.h.
Referenced by params::from_json().
| unsigned params::Parameters::filter_length = 33 |
Default render filter length.
Definition at line 60 of file parameters.h.
| double params::Parameters::origin_altitude = 111.01 |
Geodetic origin altitude (in meters)
Definition at line 53 of file parameters.h.
Referenced by params::from_json().
| double params::Parameters::origin_latitude = -33.957652 |
Geodetic origin latitude.
Definition at line 51 of file parameters.h.
Referenced by params::from_json().
| double params::Parameters::origin_longitude = 18.4611991 |
Geodetic origin longitude.
Definition at line 52 of file parameters.h.
Referenced by params::from_json().
| unsigned params::Parameters::oversample_ratio = 1 |
| std::optional<unsigned> params::Parameters::random_seed |
Random seed for simulation.
Definition at line 58 of file parameters.h.
Referenced by fers_load_scenario_from_xml_file(), fers_load_scenario_from_xml_string(), params::from_json(), and serial::json_to_world().
| RealType params::Parameters::rate = 0 |
Rendering sample rate.
Definition at line 57 of file parameters.h.
Referenced by params::from_json().
| unsigned params::Parameters::render_threads = 1 |
Number of worker threads to use for parallel tasks.
Definition at line 61 of file parameters.h.
| RealType params::Parameters::sim_sampling_rate = 1000 |
Temporal sampling rate (Hz) that determines time-step resolution for radar pulse simulation.
Definition at line 47 of file parameters.h.
Referenced by params::from_json().
| std::string params::Parameters::simulation_name |
The name of the simulation, from the XML.
Definition at line 62 of file parameters.h.
Referenced by serial::json_to_world(), and serial::world_to_json().
| RealType params::Parameters::start = 0 |
Start time for the simulation.
Definition at line 45 of file parameters.h.
Referenced by params::from_json().
| bool params::Parameters::utm_north_hemisphere = true |
UTM hemisphere, if applicable.
Definition at line 56 of file parameters.h.
Referenced by params::from_json().
| int params::Parameters::utm_zone = 0 |
UTM zone (1-60), if applicable.
Definition at line 55 of file parameters.h.
Referenced by params::from_json().