summaryrefslogtreecommitdiff
path: root/include/actuationPlan.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/actuationPlan.hpp')
-rw-r--r--include/actuationPlan.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/actuationPlan.hpp b/include/actuationPlan.hpp
new file mode 100644
index 0000000..8d1ef26
--- /dev/null
+++ b/include/actuationPlan.hpp
@@ -0,0 +1,36 @@
+#pragma once
+#include <algorithm>
+#include <ctime>
+#include "surfaceFitModel.hpp"
+#include "rocketUtils.hpp"
+#include "sensorIMU.hpp"
+#include "sensorAltimeter.hpp"
+
+class ActuationPlan {
+
+ private:
+ SurfaceFitModel sFitModel;
+
+ public:
+
+ /**
+ * @brief Construct a new Actuation Plan object
+ *
+ */
+ ActuationPlan();
+
+ /**
+ * @brief Construct a new Actuation Plan object
+ *
+ * @param sFitModel
+ */
+ ActuationPlan(SurfaceFitModel sFitModel);
+
+ /**
+ * @brief Run the Fin Actuation Plan.
+ * Adjusts the fin angle values depending on the current vehicle state during the launch
+ *
+ * @param rocket Provides current rocket status and hold updated fin angle value.
+ */
+ void runPlan(Vehicle& rocket);
+}; \ No newline at end of file