Agrarsense
Unreal
Agrarsense
Source
Agrarsense
Sensor
Lidar
LidarNoiseModel.h
Go to the documentation of this file.
1
// Copyright(c) 2022 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 "CoreMinimal.h"
9
#include "Engine/HitResult.h"
10
11
struct
FWeatherParameters
;
12
29
class
AGRARSENSE_API
LidarNoiseModel
30
{
31
32
public
:
33
43
static
bool
CheckSnowflakeHit(FHitResult& HitInfo,
const
FVector EndTrace,
const
FVector LidarLocation,
const
FWeatherParameters
& WeatherParameters);
44
45
private
:
46
51
static
bool
CheckSnowflakeHitWinterSim(FHitResult& HitInfo,
const
float
PrecipitationAmount,
const
float
ParticleSize,
const
FVector EndTrace,
const
FVector LidarLocation);
52
59
static
float
CalculatePrecipitationClass(
const
float
PrecipitationAmount,
float
ParticleSize);
60
};
LidarNoiseModel
Definition:
LidarNoiseModel.h:30
FWeatherParameters
Definition:
WeatherParameters.h:12
Generated by
1.9.4