Agrarsense
LidarParameters.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
8#include "LidarNoiseModel.h"
9
10#include "LidarParameters.generated.h"
11
12USTRUCT(Blueprintable)
13struct AGRARSENSE_API FLidarParameters
14{
15 GENERATED_BODY()
16
17
20 UPROPERTY(EditAnywhere, BlueprintReadWrite)
21 int32 Channels = 32;
22
26 UPROPERTY(EditAnywhere, BlueprintReadWrite)
27 float Range = 120.0f;
28
32 UPROPERTY(EditAnywhere, BlueprintReadWrite)
33 int32 PointsPerSecond = 655360;
34
38 UPROPERTY(EditAnywhere, BlueprintReadWrite)
39 float RotationFrequency = 10.0f;
40
44 UPROPERTY(EditAnywhere, BlueprintReadWrite)
45 float UpperFovLimit = 22.5f;
46
50 UPROPERTY(EditAnywhere, BlueprintReadWrite)
51 float LowerFovLimit = -22.5f;
52
56 UPROPERTY(EditAnywhere, BlueprintReadWrite)
57 float HorizontalFov = 360.0f;
58
63 UPROPERTY(EditAnywhere, BlueprintReadWrite)
64 float DistanceNoiseStdDev = 0.0f;
65
71 UPROPERTY(EditAnywhere, BlueprintReadWrite)
72 float LateralNoiseStdDev = 0.0f;
73
78 UPROPERTY(EditAnywhere, BlueprintReadWrite)
79 bool Semantic = false;
80
85 UPROPERTY(EditAnywhere, BlueprintReadWrite)
86 bool UseComplexCollisionTrace = true;
87
92 UPROPERTY(EditAnywhere, BlueprintReadWrite)
93 bool UseTerrainSnowHitAdjustment = true;
94
99 UPROPERTY(EditAnywhere, BlueprintReadWrite)
100 bool SendDataAtRotationFrequency = true;
101
105 UPROPERTY(EditAnywhere, BlueprintReadWrite)
106 bool SendDataToCombinedROSTopic = true;
107
111 UPROPERTY(EditAnywhere, BlueprintReadWrite)
112 bool SaveDataToDisk = false;
113
117 UPROPERTY(EditAnywhere, BlueprintReadWrite)
118 bool SendDataToROS = true;
119
124 UPROPERTY(EditAnywhere, BlueprintReadWrite)
125 bool VisualizePointcloud = true;
126
131 UPROPERTY(EditAnywhere, BlueprintReadWrite)
132 bool UseLidarNoiseModel = false;
133
139 UPROPERTY(EditAnywhere, BlueprintReadWrite)
140 bool SavePointcloudWithoutNoiseModel = false;
141};