    

 ## On this page

  

 

 # vss::feedback\_control::Lens Struct Reference

 Last update: 14.01.2025 

Camera Lens System Parameters. [More...](structvss_1_1feedback__control_1_1_lens.xhtml#details)

Collaboration diagram for vss::feedback_control::Lens:

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

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

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

[FisheyePolynomialDistortion](structvss_1_1feedback__control_1_1_fisheye_polynomial_distortion.xhtml) [fisheye\_polynomial\_distortion](structvss_1_1feedback__control_1_1_lens.xhtml#a50cbe047748fe3fab2c92cbe99b45946) = 1 [BrownDistortion](structvss_1_1feedback__control_1_1_brown_distortion.xhtml) [brown\_distortion](structvss_1_1feedback__control_1_1_lens.xhtml#a6dd75ecc3ccfbad272dbf6ca6159974d) = 2 google::protobuf::DoubleValue [focal\_length](structvss_1_1feedback__control_1_1_lens.xhtml#a4efa534244c04ceca668728f1c47b44a) = 3 \[deprecated = true\] [CircularAperture](structvss_1_1feedback__control_1_1_circular_aperture.xhtml) [circular](structvss_1_1feedback__control_1_1_lens.xhtml#af2d83ca54f5f501a1b79507420ffd8d6) = 4 [RegularConvexPolygonAperture](structvss_1_1feedback__control_1_1_regular_convex_polygon_aperture.xhtml) [regular\_convex](structvss_1_1feedback__control_1_1_lens.xhtml#aaff0148f5b8b073a91ef4069fd4c7674) = 5 [SimpleChromaticAberration](structvss_1_1feedback__control_1_1_simple_chromatic_aberration.xhtml) [simple\_chromatic\_aberration](structvss_1_1feedback__control_1_1_lens.xhtml#abe9d9733407a5fdacef85d38e5247075) = 6 [AdvancedChromaticAberration](structvss_1_1feedback__control_1_1_advanced_chromatic_aberration.xhtml) [advanced\_chromatic\_aberration](structvss_1_1feedback__control_1_1_lens.xhtml#a7e79c01d25853a9285d61bedc56efabe) = 7 <a id="details" name="details"></a>## Detailed Description

Camera Lens System Parameters.

Parameters of the camera lens system: focal length, distortion model, shape of the lens' aperture, and type of chromatic aberration.

NoteChanging the lens distortion model or the aperture shape during the simulation is not allowed. 

## Member Data Documentation

<a id="a50cbe047748fe3fab2c92cbe99b45946"></a>## [◆ ](#a50cbe047748fe3fab2c92cbe99b45946)fisheye\_polynomial\_distortion

 [FisheyePolynomialDistortion](structvss_1_1feedback__control_1_1_fisheye_polynomial_distortion.xhtml) vss::feedback\_control::Lens::fisheye\_polynomial\_distortion = 1

ONEOF(distortion) Polynomial distortion parameters (for fisheye cameras).





<a id="a6dd75ecc3ccfbad272dbf6ca6159974d"></a>## [◆ ](#a6dd75ecc3ccfbad272dbf6ca6159974d)brown\_distortion

 [BrownDistortion](structvss_1_1feedback__control_1_1_brown_distortion.xhtml) vss::feedback\_control::Lens::brown\_distortion = 2

ONEOF(distortion) Brown distortion parameters (for cameras with standard field of view).





<a id="a4efa534244c04ceca668728f1c47b44a"></a>## [◆ ](#a4efa534244c04ceca668728f1c47b44a)focal\_length

 google::protobuf::DoubleValue vss::feedback\_control::Lens::focal\_length = 3 \[deprecated = true\]

Focal length of the lens.

Unit: meters (m)

WarningThis field is marked deprecated and might be removed in later versions. Consider using one of the two possibilities of lens\_chromatic\_aberration instead: [SimpleChromaticAberration](structvss_1_1feedback__control_1_1_simple_chromatic_aberration.xhtml "Simple Chromatic Aberration Parameters.") or [AdvancedChromaticAberration](structvss_1_1feedback__control_1_1_advanced_chromatic_aberration.xhtml "Advanced Chromatic Aberration Parameters."). 



<a id="af2d83ca54f5f501a1b79507420ffd8d6"></a>## [◆ ](#af2d83ca54f5f501a1b79507420ffd8d6)circular

 [CircularAperture](structvss_1_1feedback__control_1_1_circular_aperture.xhtml) vss::feedback\_control::Lens::circular = 4

ONEOF(aperture\_shape) Circular aperture.





<a id="aaff0148f5b8b073a91ef4069fd4c7674"></a>## [◆ ](#aaff0148f5b8b073a91ef4069fd4c7674)regular\_convex

 [RegularConvexPolygonAperture](structvss_1_1feedback__control_1_1_regular_convex_polygon_aperture.xhtml) vss::feedback\_control::Lens::regular\_convex = 5

ONEOF(aperture\_shape) Regular convex polygon aperture.





<a id="abe9d9733407a5fdacef85d38e5247075"></a>## [◆ ](#abe9d9733407a5fdacef85d38e5247075)simple\_chromatic\_aberration

 [SimpleChromaticAberration](structvss_1_1feedback__control_1_1_simple_chromatic_aberration.xhtml) vss::feedback\_control::Lens::simple\_chromatic\_aberration = 6

ONEOF(lens\_chromatic\_aberration) `Simple` chromatic aberration.





<a id="a7e79c01d25853a9285d61bedc56efabe"></a>## [◆ ](#a7e79c01d25853a9285d61bedc56efabe)advanced\_chromatic\_aberration

 [AdvancedChromaticAberration](structvss_1_1feedback__control_1_1_advanced_chromatic_aberration.xhtml) vss::feedback\_control::Lens::advanced\_chromatic\_aberration = 7

ONEOF(lens\_chromatic\_aberration) `Advanced` chromatic aberration.





---

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