From 155a035a9c4cc688591ef00829b93e11589b1d88 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Mon, 22 Nov 2021 16:18:29 +0100 Subject: [PATCH] define the wind data --- include/aman/types/AltitudeWindData.h | 24 ++++++++++++++++++++++++ src/CMakeLists.txt | 1 + 2 files changed, 25 insertions(+) create mode 100644 include/aman/types/AltitudeWindData.h diff --git a/include/aman/types/AltitudeWindData.h b/include/aman/types/AltitudeWindData.h new file mode 100644 index 0000000..67c60a8 --- /dev/null +++ b/include/aman/types/AltitudeWindData.h @@ -0,0 +1,24 @@ +/* + * @brief Defines the wind data + * @file aman/types/WindData.h + * @author Sven Czarnian + * @copyright Copyright 2021 Sven Czarnian + * @license This project is published under the GNU General Public License v3 (GPLv3) + */ + +#pragma once + +#include + +namespace aman { + struct AltitudeWindData { + Length altitude; + Angle direction; + Velocity speed; + + AltitudeWindData() : + altitude(), + direction(), + speed() { } + }; +} diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7a3e0a5..a8c3ee0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -72,6 +72,7 @@ SET(INCLUDE_HELPER_FILES ) SET(INCLUDE_TYPES_FILES + ${CMAKE_SOURCE_DIR}/include/aman/types/AltitudeWindData.h ${CMAKE_SOURCE_DIR}/include/aman/types/Communication.h ${CMAKE_SOURCE_DIR}/include/aman/types/GeoCoordinate.h ${CMAKE_SOURCE_DIR}/include/aman/types/Quantity.hpp