    

 ## On this page

  

 

 # vss::simulation::SensorParameters Struct Reference

 Last update: 14.01.2025 

Contains the simulation parameters for a given sensor id. [More...](structvss_1_1simulation_1_1_sensor_parameters.xhtml#details)

Collaboration diagram for vss::simulation::SensorParameters:

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

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

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

string [identifier](structvss_1_1simulation_1_1_sensor_parameters.xhtml#a0992e8610dd365cf41269f4e2b2d3f60) = 1 [RecordingFormat](structvss_1_1simulation_1_1_recording_format.xhtml) [recording\_format](structvss_1_1simulation_1_1_sensor_parameters.xhtml#a038071eea4353930683fcaa95c8a8056) = 2 \[deprecated = true\] [DisplayInformation](structvss_1_1simulation_1_1_display_information.xhtml) [display](structvss_1_1simulation_1_1_sensor_parameters.xhtml#a24378052ec7597a81fd5a5f218e3f69f) = 3 [RadarSimulation](structvss_1_1simulation_1_1_radar_simulation.xhtml) [radar\_simulation](structvss_1_1simulation_1_1_sensor_parameters.xhtml#a451f5bcf0184d29d997f461a99c09656) = 4 [LidarSimulation](structvss_1_1simulation_1_1_lidar_simulation.xhtml) [lidar\_simulation](structvss_1_1simulation_1_1_sensor_parameters.xhtml#ae2641c8ac11ba1fb88b8eef2204e1bf1) = 5 [PbCameraSimulation](structvss_1_1simulation_1_1_pb_camera_simulation.xhtml) [pb\_cam\_simulation](structvss_1_1simulation_1_1_sensor_parameters.xhtml#a62887911f25b3b86dc9ee6ad40c35564) = 6 [ThermalCameraSimulation](structvss_1_1simulation_1_1_thermal_camera_simulation.xhtml) [thermal\_cam\_simulation](structvss_1_1simulation_1_1_sensor_parameters.xhtml#a4427be3505c07682546cc7bba2b4f767) = 7 [OutputSplitting](structvss_1_1simulation_1_1_output_splitting.xhtml) [output\_splitting](structvss_1_1simulation_1_1_sensor_parameters.xhtml#afb6970ba2c065b09ab2774fe0559a704) = 8 google::protobuf::BoolValue [serialize\_data](structvss_1_1simulation_1_1_sensor_parameters.xhtml#aaf5e1ebedbe438446020f280477cd4e9) = 9 string [deploy\_node\_id](structvss_1_1simulation_1_1_sensor_parameters.xhtml#a2b33511156f8590a64822cc74e17a1b9) = 10 [DataAccessSettings](structvss_1_1simulation_1_1_data_access_settings.xhtml) [data\_access\_settings](structvss_1_1simulation_1_1_sensor_parameters.xhtml#ab6ec565337ce1e4fc61520528ef3dee5) = 11 double [start\_offset](structvss_1_1simulation_1_1_sensor_parameters.xhtml#aee0d8eab260f222907803c052b4d1ef5) = 12 <a id="details" name="details"></a>## Detailed Description

Contains the simulation parameters for a given sensor id.

NoteIf the type of sensor is not consistent with the sensor configuration, it will cause an error. 

## Member Data Documentation

<a id="a0992e8610dd365cf41269f4e2b2d3f60"></a>## [◆ ](#a0992e8610dd365cf41269f4e2b2d3f60)identifier

 string vss::simulation::SensorParameters::identifier = 1

The unique identifier of the sensor as defined in the sensor configuration.





<a id="a038071eea4353930683fcaa95c8a8056"></a>## [◆ ](#a038071eea4353930683fcaa95c8a8056)recording\_format

 [RecordingFormat](structvss_1_1simulation_1_1_recording_format.xhtml) vss::simulation::SensorParameters::recording\_format = 2 \[deprecated = true\]

Indicates if the sensor must dump its outputs to disk.

NoteOptional field. If not set, no sensor data will be dumped to disk.WarningThis field is marked as deprecated and might be removed in later versions. Consider using DataAccess instead. 



<a id="a24378052ec7597a81fd5a5f218e3f69f"></a>## [◆ ](#a24378052ec7597a81fd5a5f218e3f69f)display

 [DisplayInformation](structvss_1_1simulation_1_1_display_information.xhtml) vss::simulation::SensorParameters::display = 3

Indicates if the camera output must be displayed on the screen in a dedicated rendering window.

The resolution of the rendering window is the one defined in the sensor configuration.

NoteOptional field. If not set, the camera outputs will not be displayed on the screen.Only applicable to camera sensors. Ignored for other sensors.If the output format is not supported for display, the rendering window will still appear, but will remain black. A warning message is written to the logs. The unsupported formats are Lens output without custom post-processing, or any output with custom post-processing that doesn't produce a Gray8 or RGB24 image.If there are multiple outputs created by the custom post-processing, only the first output will be considered. 



<a id="a451f5bcf0184d29d997f461a99c09656"></a>## [◆ ](#a451f5bcf0184d29d997f461a99c09656)radar\_simulation

 [RadarSimulation](structvss_1_1simulation_1_1_radar_simulation.xhtml) vss::simulation::SensorParameters::radar\_simulation = 4

ONEOF(sensor\_parameter) Specific parameters for a radar.





<a id="ae2641c8ac11ba1fb88b8eef2204e1bf1"></a>## [◆ ](#ae2641c8ac11ba1fb88b8eef2204e1bf1)lidar\_simulation

 [LidarSimulation](structvss_1_1simulation_1_1_lidar_simulation.xhtml) vss::simulation::SensorParameters::lidar\_simulation = 5

ONEOF(sensor\_parameter) Specific parameters for a lidar.





<a id="a62887911f25b3b86dc9ee6ad40c35564"></a>## [◆ ](#a62887911f25b3b86dc9ee6ad40c35564)pb\_cam\_simulation

 [PbCameraSimulation](structvss_1_1simulation_1_1_pb_camera_simulation.xhtml) vss::simulation::SensorParameters::pb\_cam\_simulation = 6

ONEOF(sensor\_parameter) Specific parameters for a physics-based camera.





<a id="a4427be3505c07682546cc7bba2b4f767"></a>## [◆ ](#a4427be3505c07682546cc7bba2b4f767)thermal\_cam\_simulation

 [ThermalCameraSimulation](structvss_1_1simulation_1_1_thermal_camera_simulation.xhtml) vss::simulation::SensorParameters::thermal\_cam\_simulation = 7

ONEOF(sensor\_parameter) Specific parameters for a thermal camera.





<a id="afb6970ba2c065b09ab2774fe0559a704"></a>## [◆ ](#afb6970ba2c065b09ab2774fe0559a704)output\_splitting

 [OutputSplitting](structvss_1_1simulation_1_1_output_splitting.xhtml) vss::simulation::SensorParameters::output\_splitting = 8

Defines how the sensor output must be split.

NoteOptional field. If not set, the output data is not split. 



<a id="aaf5e1ebedbe438446020f280477cd4e9"></a>## [◆ ](#aaf5e1ebedbe438446020f280477cd4e9)serialize\_data

 google::protobuf::BoolValue vss::simulation::SensorParameters::serialize\_data = 9

Indicates whether or not the data must be serialized during the simulation.

When this parameter is set to true (which is the default value), the data is serialized.

When this parameter is set to false, the data is unserialized.

Default value: true

NoteOnly Camera Output (Image) and Imager Output (Injection) data of physics-based camera sensors can be unserialized. Camera Lens Output (Light), thermal camera, lidar and radar output data are always serialized. 



<a id="a2b33511156f8590a64822cc74e17a1b9"></a>## [◆ ](#a2b33511156f8590a64822cc74e17a1b9)deploy\_node\_id

 string vss::simulation::SensorParameters::deploy\_node\_id = 10

The identifier of the deploy node on which the sensor will be spawned, as defined in the deploy configuration.

NoteOptional field. If not set, the sensor process is executed on the local host. 



<a id="ab6ec565337ce1e4fc61520528ef3dee5"></a>## [◆ ](#ab6ec565337ce1e4fc61520528ef3dee5)data\_access\_settings

 [DataAccessSettings](structvss_1_1simulation_1_1_data_access_settings.xhtml) vss::simulation::SensorParameters::data\_access\_settings = 11

Specifies the configuration for accessing and handling sensor data.





<a id="aee0d8eab260f222907803c052b4d1ef5"></a>## [◆ ](#aee0d8eab260f222907803c052b4d1ef5)start\_offset

 double vss::simulation::SensorParameters::start\_offset = 12

Specifies a delay between the start of the simulation and the sensor's frame cycle.

Unit: millisecond (ms)

Range: Positive





---

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