10 #ifndef PLEN2_INTERPRETER_H
11 #define PLEN2_INTERPRETER_H
19 class MotionController;
96 uint8_t m_queue_begin;
101 #endif // PLEN2_INTERPRETER_H
Definition: AccelerationGyroSensor.h:16
bool popCode()
Run a code in heading of the queue.
Interpreter(MotionController &motion_ctrl)
Constructor.
uint8_t loop_count
Loop count. (Using 255 as infinity.)
Definition: Interpreter.h:38
uint8_t slot
Slot number of a motion.
Definition: Interpreter.h:37
Definition: Interpreter.h:47
bool pushCode(const Code &code)
Reserve to run a code.
void reset()
Reset the interpreter.
Management class of a motion.
Definition: MotionController.h:36
Management class of interpreter.
Definition: Interpreter.h:29
Code struct.
Definition: Interpreter.h:35
bool ready()
Decide if there are codes which are reserved to run.