The class which makes natural moving, for PLEN. More...
#include <Soul.h>
Public Member Functions | |
Soul (AccelerationGyroSensor &sensor, MotionController &motion_ctrl) | |
Constructor. More... | |
void | log () |
Log PLEN's state. More... | |
void | userActionInputed () |
Log a timing when a user action is input. More... | |
void | action () |
Apply appropriate motion based on logging state. More... | |
The class which makes natural moving, for PLEN.
PLEN2::Soul::Soul | ( | AccelerationGyroSensor & | sensor, |
MotionController & | motion_ctrl | ||
) |
Constructor.
[in,out] | sensor | An instance of the sensor class. |
[in,out] | motion_ctrl | An instance of the motion controller class. |
void PLEN2::Soul::action | ( | ) |
Apply appropriate motion based on logging state.
void PLEN2::Soul::log | ( | ) |
Log PLEN's state.
void PLEN2::Soul::userActionInputed | ( | ) |
Log a timing when a user action is input.
Please run the method at the all timings when user action is input.