summaryrefslogtreecommitdiff
path: root/include/unused/actuationPlan.hpp
blob: 8d1ef26af71608a242442696fe7cb6dfe8d3ce75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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);
};