Agrarsense
Unreal
Agrarsense
Source
Agrarsense
Vehicle
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
16
UENUM(BlueprintType)
17
enum class
EFlightMode
: uint8
18
{
19
Manual
= 0
UMETA
(DisplayName =
"Manual"
),
20
Roaming
= 1
UMETA
(DisplayName =
"Roaming"
)
21
};
22
23
USTRUCT(Blueprintable)
24
struct 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
};
DroneAction.h
EDroneAction
EDroneAction
Definition:
DroneAction.h:15
EDroneAction::Roaming
@ Roaming
EDroneAction::Manual
@ Manual
DroneEndAction.h
EDroneEndAction
EDroneEndAction
Definition:
DroneEndAction.h:16
EFlightMode
EFlightMode
Definition:
DroneParameters.h:18
ETickType::UMETA
@ UMETA
FDroneParameters
Definition:
DroneParameters.h:25
Generated by
1.9.4