Agrarsense
DroneParameters.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 "CoreMinimal.h"
9#include "UObject/ObjectMacros.h"
10
11#include "DroneAction.h"
12#include "DroneEndAction.h"
13
14#include "DroneParameters.generated.h"
15
16UENUM(BlueprintType)
17enum class EFlightMode : uint8
18{
19 Manual = 0 UMETA(DisplayName = "Manual"),
20 Roaming = 1 UMETA(DisplayName = "Roaming")
21};
22
23USTRUCT(Blueprintable)
24struct AGRARSENSE_API FDroneParameters
25{
26 GENERATED_BODY()
27
28 /*
29 * What is this Drone's Action type
30 */
31 UPROPERTY(EditAnywhere, BlueprintReadWrite)
32 EDroneAction DroneAction = EDroneAction::Stationary;
33
34 /*
35 * What is this Drone's Action when reached end point (does not apply to Roaming drone)
36 */
37 UPROPERTY(EditAnywhere, BlueprintReadWrite)
38 EDroneEndAction DroneEndAction = EDroneEndAction::Stop;
39
40 /*
41 * Drone roaming points
42 */
43 UPROPERTY(EditAnywhere, BlueprintReadWrite)
44 TArray<FTransform> Points;
45
46};
EDroneAction
Definition: DroneAction.h:15
EDroneEndAction
EFlightMode