CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Sensor
LidarDescription.h
Go to the documentation of this file.
1
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#pragma once
8
9
#include "LidarDescription.generated.h"
10
11
USTRUCT()
12
struct CARLA_API
FLidarDescription
13
{
14
GENERATED_BODY()
15
16
/// Number of lasers.
17
UPROPERTY(EditAnywhere)
18
uint32
Channels
= 32u;
19
20
/// Measure distance in centimeters.
21
UPROPERTY(EditAnywhere)
22
float
Range
= 1000.0f;
23
24
/// Points generated by all lasers per second.
25
UPROPERTY(EditAnywhere)
26
uint32
PointsPerSecond
= 56000u;
27
28
/// Lidar rotation frequency.
29
UPROPERTY(EditAnywhere)
30
float
RotationFrequency
= 10.0f;
31
32
/// Upper laser angle, counts from horizontal, positive values means above
33
/// horizontal line.
34
UPROPERTY(EditAnywhere)
35
float
UpperFovLimit
= 10.0f;
36
37
/// Lower laser angle, counts from horizontal, negative values means under
38
/// horizontal line.
39
UPROPERTY(EditAnywhere)
40
float
LowerFovLimit
= -30.0f;
41
42
/// Horizontal field of view
43
UPROPERTY(EditAnywhere)
44
float
HorizontalFov
= 360.0f;
45
46
/// Attenuation Rate in the atmosphere in m^-1.
47
UPROPERTY(EditAnywhere)
48
float
AtmospAttenRate
= 0.004f;
49
50
/// Random seed for the noise/dropoff used by this sensor.
51
UPROPERTY(EditAnywhere)
52
int
RandomSeed
= 0;
53
54
/// General drop off rate.
55
UPROPERTY(EditAnywhere)
56
float
DropOffGenRate
= 0.45f;
57
58
/// General drop off rate.
59
UPROPERTY(EditAnywhere)
60
float
DropOffIntensityLimit
= 0.8f;
61
62
/// General drop off rate.
63
UPROPERTY(EditAnywhere)
64
float
DropOffAtZeroIntensity
= 0.4f;
65
66
/// Wether to show debug points of laser hits in simulator.
67
UPROPERTY(EditAnywhere)
68
bool
ShowDebugPoints
= false;
69
70
UPROPERTY(EditAnywhere)
71
float
NoiseStdDev
= 0.0f;
72
73
/// Horizontal resolution of the lidar, in degrees.
74
UPROPERTY(EditAnywhere)
75
float
HorizontalResolution
= 0.1f;
76
};
FLidarDescription
Definition
LidarDescription.h:13
FLidarDescription::NoiseStdDev
float NoiseStdDev
Definition
LidarDescription.h:71
FLidarDescription::DropOffAtZeroIntensity
float DropOffAtZeroIntensity
General drop off rate.
Definition
LidarDescription.h:64
FLidarDescription::HorizontalFov
float HorizontalFov
Horizontal field of view.
Definition
LidarDescription.h:44
FLidarDescription::RandomSeed
int RandomSeed
Random seed for the noise/dropoff used by this sensor.
Definition
LidarDescription.h:52
FLidarDescription::LowerFovLimit
float LowerFovLimit
Lower laser angle, counts from horizontal, negative values means under horizontal line.
Definition
LidarDescription.h:40
FLidarDescription::Range
float Range
Measure distance in centimeters.
Definition
LidarDescription.h:22
FLidarDescription::DropOffGenRate
float DropOffGenRate
General drop off rate.
Definition
LidarDescription.h:56
FLidarDescription::Channels
uint32 Channels
Number of lasers.
Definition
LidarDescription.h:18
FLidarDescription::DropOffIntensityLimit
float DropOffIntensityLimit
General drop off rate.
Definition
LidarDescription.h:60
FLidarDescription::PointsPerSecond
uint32 PointsPerSecond
Points generated by all lasers per second.
Definition
LidarDescription.h:26
FLidarDescription::RotationFrequency
float RotationFrequency
Lidar rotation frequency.
Definition
LidarDescription.h:30
FLidarDescription::AtmospAttenRate
float AtmospAttenRate
Attenuation Rate in the atmosphere in m^-1.
Definition
LidarDescription.h:48
FLidarDescription::HorizontalResolution
float HorizontalResolution
Horizontal resolution of the lidar, in degrees.
Definition
LidarDescription.h:75
FLidarDescription::ShowDebugPoints
bool ShowDebugPoints
Wether to show debug points of laser hits in simulator.
Definition
LidarDescription.h:68
FLidarDescription::UpperFovLimit
float UpperFovLimit
Upper laser angle, counts from horizontal, positive values means above horizontal line.
Definition
LidarDescription.h:35
Generated by
1.18.0