Browse Source

define the wind data

Sven Czarnian 3 years ago
parent
commit
155a035a9c
2 changed files with 25 additions and 0 deletions
  1. 24 0
      include/aman/types/AltitudeWindData.h
  2. 1 0
      src/CMakeLists.txt

+ 24 - 0
include/aman/types/AltitudeWindData.h

@@ -0,0 +1,24 @@
+/*
+ * @brief Defines the wind data
+ * @file aman/types/WindData.h
+ * @author Sven Czarnian <devel@svcz.de>
+ * @copyright Copyright 2021 Sven Czarnian
+ * @license This project is published under the GNU General Public License v3 (GPLv3)
+ */
+
+#pragma once
+
+#include <aman/types/Quantity.hpp>
+
+namespace aman {
+    struct AltitudeWindData {
+        Length   altitude;
+        Angle    direction;
+        Velocity speed;
+
+        AltitudeWindData() :
+                altitude(),
+                direction(),
+                speed() { }
+    };
+}

+ 1 - 0
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