summaryrefslogtreecommitdiff
path: root/include/unused/motor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/unused/motor.hpp')
-rw-r--r--include/unused/motor.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/unused/motor.hpp b/include/unused/motor.hpp
new file mode 100644
index 0000000..cb95b6a
--- /dev/null
+++ b/include/unused/motor.hpp
@@ -0,0 +1,36 @@
+#pragma once
+#include "actuator.hpp"
+#include "logger.hpp"
+#include "rocketUtils.hpp"
+
+class Motor : public Actuator {
+
+ private:
+
+
+ public:
+
+ /**
+ * @brief Construct a new Motor object
+ *
+ */
+ Motor();
+
+ /**
+ * @brief Initialize the motor.
+ *
+ * @param data Data for initializing the motor
+ * @return true Initialization Success
+ * @return false Initialization Failure
+ */
+ virtual bool init(void* data) override;
+
+ /**
+ * @brief Write data to the motor.
+ *
+ * @param data Data to be writen to the motor
+ * @return true Motor write Success
+ * @return false Motor write Failure
+ */
+ virtual bool writeData(void* data) override;
+}; \ No newline at end of file