Agrarsense
WheeledVehicleParameters.h
Go to the documentation of this file.
1// Copyright (c) 2025 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 "UObject/ObjectMacros.h"
10
11#include "WheeledVehicleParameters.generated.h"
12
13UENUM(BlueprintType)
14enum class ForwarderCargoLoad : uint8
15{
16 Empty UMETA(DisplayName = "Empty"),
17 Half UMETA(DisplayName = "Half"),
18 Full UMETA(DisplayName = "Full")
19};
20
21USTRUCT(Blueprintable)
22struct AGRARSENSE_API FWheeledVehicleParameters
23{
24 GENERATED_BODY()
25
26 /*
27 * Vehicle mass in kg.
28 */
29 UPROPERTY(EditAnywhere, BlueprintReadWrite)
30 float Mass = 10500.0f;
31
32 /*
33 * When the vehicle overlaps an ISM tree instance,
34 * convert it back to its original actor if enabled.
35 */
36 UPROPERTY(EditAnywhere, BlueprintReadWrite)
37 bool TreeInstanceToActorOnOverlap = false;
38
39 /*
40 * Should this Forwarder/Harvester have boom arm.
41 */
42 UPROPERTY(EditAnywhere, BlueprintReadWrite)
43 bool HasBoomArm = true;
44
45 /*
46 * Allow Forwarder/Harvester boom to move at all.
47 */
48 UPROPERTY(EditAnywhere, BlueprintReadWrite)
49 bool AllowBoomMovement = true;
50
51 /*
52 * Forwarder and harvester overlap radius in meters. Default 50m.
53 */
54 UPROPERTY(EditAnywhere, BlueprintReadWrite)
55 float OverlapRadiusMeters = 50.0f;
56
57 /*
58 * Should visualize forwarder and harvester overlap. Default false.
59 */
60 UPROPERTY(EditAnywhere, BlueprintReadWrite)
61 bool VisualizeOverlap = false;
62
63 UPROPERTY(EditAnywhere, BlueprintReadWrite)
65};