    

 ## On this page

  

 

 # vss::simulation::RadarSimulation Struct Reference

 Last update: 14.01.2025 

Describes the simulation parameters for a radar and, optionally, the type of batching method. [More...](structvss_1_1simulation_1_1_radar_simulation.xhtml#details)

Collaboration diagram for vss::simulation::RadarSimulation:

![Collaboration graph](/sites/default/files/migrate-content/avxcelerate_sensors_simulator_api_2025_r1/structvss_1_1simulation_1_1_radar_simulation__coll__graph.png)

\[[legend](graph_legend.xhtml)\]

## <a name="pub-attribs"></a>Public Attributes

int32 [number\_of\_ray\_reflections](structvss_1_1simulation_1_1_radar_simulation.xhtml#a70073a61105bdd142ad080800ac22625) = 1 int32 [number\_of\_ray\_transmissions](structvss_1_1simulation_1_1_radar_simulation.xhtml#a36d61fdafa9f1f35f7613a8d7290c9b4) = 2 double [ray\_density](structvss_1_1simulation_1_1_radar_simulation.xhtml#aa85ed56a33c422d630d42f3b6c5d5cca) = 3 \[deprecated = true\] [RadarGridSampling](structvss_1_1simulation_1_1_radar_grid_sampling.xhtml) [grid\_sampling](structvss_1_1simulation_1_1_radar_simulation.xhtml#a5d6301d6658eaa586d3468a8bc021e2d) = 11 [ManualBatching](structvss_1_1simulation_1_1_manual_batching.xhtml) [manual\_batching](structvss_1_1simulation_1_1_radar_simulation.xhtml#a2eeb1e2e236b79be60d591c578973864) = 4 [AutomaticBatching](structvss_1_1simulation_1_1_automatic_batching.xhtml) [automatic\_batching](structvss_1_1simulation_1_1_radar_simulation.xhtml#a493be82dc35cd6e183f3395941a9d955) = 5 bool [tx\_waveform\_report](structvss_1_1simulation_1_1_radar_simulation.xhtml#a4b751460978e88e3350d1be39554c309) = 6 bool [ego\_vehicle\_emission\_blockage](structvss_1_1simulation_1_1_radar_simulation.xhtml#a9a4f85187d9b041d2ef055ee1df35997) = 7 [RadarDebugViewParameters](structvss_1_1simulation_1_1_radar_debug_view_parameters.xhtml) [debug\_view\_parameters](structvss_1_1simulation_1_1_radar_simulation.xhtml#aa6929e4d8cb4ad1f48a2994bb8cbcb68) = 8 map&lt; int32, double &gt; [max\_ray\_path\_length\_by\_mode](structvss_1_1simulation_1_1_radar_simulation.xhtml#aee51321ccb1dca97c3ce81d6a7328ff5) = 9 map&lt; int32, double &gt; [max\_velocity\_by\_mode](structvss_1_1simulation_1_1_radar_simulation.xhtml#af4271c72db93ad6fd70f2d60bc3bb043) = 10 <a id="details" name="details"></a>## Detailed Description

Describes the simulation parameters for a radar and, optionally, the type of batching method.



## Member Data Documentation

<a id="a70073a61105bdd142ad080800ac22625"></a>## [◆ ](#a70073a61105bdd142ad080800ac22625)number\_of\_ray\_reflections

 int32 vss::simulation::RadarSimulation::number\_of\_ray\_reflections = 1

The maximum number of ray bounces (reflections) on the scene's objects before the ray is forced to return to the sensor.

NoteThe limit applies to each individual ray. 



<a id="a36d61fdafa9f1f35f7613a8d7290c9b4"></a>## [◆ ](#a36d61fdafa9f1f35f7613a8d7290c9b4)number\_of\_ray\_transmissions

 int32 vss::simulation::RadarSimulation::number\_of\_ray\_transmissions = 2

The maximum number of transmissions on the scene's objects before the ray is forced to return to the sensor.

NoteThe limit applies to each individual ray. 



<a id="aa85ed56a33c422d630d42f3b6c5d5cca"></a>## [◆ ](#aa85ed56a33c422d630d42f3b6c5d5cca)ray\_density

 double vss::simulation::RadarSimulation::ray\_density = 3 \[deprecated = true\]

The linear ray density per radar wavelength (at max distance of 100 m).

WarningThis field is marked deprecated and might be removed in later versions. Consider using grid\_sampling instead. 



<a id="a5d6301d6658eaa586d3468a8bc021e2d"></a>## [◆ ](#a5d6301d6658eaa586d3468a8bc021e2d)grid\_sampling

 [RadarGridSampling](structvss_1_1simulation_1_1_radar_grid_sampling.xhtml) vss::simulation::RadarSimulation::grid\_sampling = 11

The sampling of the grid.





<a id="a2eeb1e2e236b79be60d591c578973864"></a>## [◆ ](#a2eeb1e2e236b79be60d591c578973864)manual\_batching

 [ManualBatching](structvss_1_1simulation_1_1_manual_batching.xhtml) vss::simulation::RadarSimulation::manual\_batching = 4

ONEOF(batching) The configuration of the manual batching.

NoteOptional field. By default, the sensor execution is not batched. 



<a id="a493be82dc35cd6e183f3395941a9d955"></a>## [◆ ](#a493be82dc35cd6e183f3395941a9d955)automatic\_batching

 [AutomaticBatching](structvss_1_1simulation_1_1_automatic_batching.xhtml) vss::simulation::RadarSimulation::automatic\_batching = 5

ONEOF(batching) The configuration of the automatic batching.

NoteOptional field. By default, the sensor execution is not batched. 



<a id="a4b751460978e88e3350d1be39554c309"></a>## [◆ ](#a4b751460978e88e3350d1be39554c309)tx\_waveform\_report

 bool vss::simulation::RadarSimulation::tx\_waveform\_report = 6

Activation of the tx waveform output generation by the radar.

Default value: false





<a id="a9a4f85187d9b041d2ef055ee1df35997"></a>## [◆ ](#a9a4f85187d9b041d2ef055ee1df35997)ego\_vehicle\_emission\_blockage

 bool vss::simulation::RadarSimulation::ego\_vehicle\_emission\_blockage = 7

Indicates whether or not the Ego vehicle geometry will be considered in calculations upon the emission of the ray's first bounce.

When this parameter is set to true, the ego vehicle geometry is considered in calculations upon the emission of the ray's first bounce.

When this parameter is set to false (which is the default value), the ego vehicle geometry is not considered in calculations upon the emission of the ray's first bounce.

Default value: false





<a id="aa6929e4d8cb4ad1f48a2994bb8cbcb68"></a>## [◆ ](#aa6929e4d8cb4ad1f48a2994bb8cbcb68)debug\_view\_parameters

 [RadarDebugViewParameters](structvss_1_1simulation_1_1_radar_debug_view_parameters.xhtml) vss::simulation::RadarSimulation::debug\_view\_parameters = 8

Parameters for the debug view.

Optional field. If not set, the debug view is disabled.





<a id="aee51321ccb1dca97c3ce81d6a7328ff5"></a>## [◆ ](#aee51321ccb1dca97c3ce81d6a7328ff5)max\_ray\_path\_length\_by\_mode

 map&lt;int32, double&gt; vss::simulation::RadarSimulation::max\_ray\_path\_length\_by\_mode = 9

The maximal length for the ray path per radar mode.

Key \[int32\]: The mode id.

Value \[double\]: The maximal length for the ray path.

Unit: meters (m)

Range: \] 0, 2\* max\_path\_length \[

Default value: 200

NoteFeatures with total path length greater than twice the max ray path length, including the path back to the radar, will be excluded.This parameter only applies to radars with arbitrary waveform.Arbitrary waveform is delivered as a beta feature in the current release. 



<a id="af4271c72db93ad6fd70f2d60bc3bb043"></a>## [◆ ](#af4271c72db93ad6fd70f2d60bc3bb043)max\_velocity\_by\_mode

 map&lt;int32, double&gt; vss::simulation::RadarSimulation::max\_velocity\_by\_mode = 10

The maximal velocity for each radar mode.

Key \[int32\]: The mode id.

Value \[double\]: The maximal velocity.

Unit: meters per second (m/s)

Range: \] 0, double max\[

Default value: 75

NoteFeatures with (absolute value of) relative velocity greater than the maximal velocity will be excluded.This parameter only applies to radars with arbitrary waveform.Arbitrary waveform is delivered as a beta feature in the current release. 



---

The documentation for this struct was generated from the following file:- simulation\_parameters.proto