undirbúningur falla fyrir can samskipti og prófun með lyklaborði

This commit is contained in:
2026-10-16 15:12:07 +00:00
parent 6fdf57cca7
commit 0ee6879f99
21 changed files with 426 additions and 117 deletions
+5 -1
View File
@@ -1,6 +1,8 @@
#ifndef STATE_H
#define STATE_H
#include "node_types.h"
class MotorController;
class State
@@ -22,9 +24,11 @@ public:
virtual void update() = 0; // run motor controller
virtual void command(char c) = 0; // Listen for reset
// virtual void command(char c) = 0; // Listen for reset
virtual void exit() = 0; // Stop motor
virtual NodeState id() const = 0; //
};
#endif