10 #ifndef PLEN2_MOTION_CONTROLLER_H
11 #define PLEN2_MOTION_CONTROLLER_H
26 #ifdef PLEN2_INTERPRETER_H
30 class MotionController;
38 #ifdef PLEN2_INTERPRETER_H
83 void play(uint8_t slot);
127 void dump(uint8_t slot);
130 enum { FRAMEBUFFER_LENGTH = 2 };
132 void m_setupFrame(uint8_t index);
133 void m_bufferingFrame();
138 uint8_t m_transition_count;
150 #endif // PLEN2_MOTION_CONTROLLER_H
Definition: AccelerationGyroSensor.h:16
void dump(uint8_t slot)
Dump a motion with JSON format.
MotionController(JointController &joint_ctrl)
Constructor.
bool playing()
Decide if a motion is playing.
Summation of the servos controllable.
Definition: JointController.h:56
void loadNextFrame()
Load next frame.
void playFrameDirectly(const Motion::Frame &frame)
Play a frame directly.
Management class of a motion.
Definition: MotionController.h:36
bool nextFrameLoadable()
Decide if there is a loadable frame at the next time.
Management class of interpreter.
Definition: Interpreter.h:29
Management class of joints.
bool updatingFinished()
Decide that updating a frame has finished.
Management class of joints.
Definition: JointController.h:29
void willStop()
Will stop playing a motion.
void play(uint8_t slot)
Play a motion.
Class of a motion frame.
Definition: Motion.h:123
bool frameUpdatable()
Decide if a motion frame is updatable.
void stop()
Stop playing a motion.