18 class AccelerationGyroSensor;
19 class MotionController;
31 enum { SLOT_GETUP_FACE_UP = 88 };
34 enum { SLOT_GETUP_FACE_DOWN = 89 };
37 enum { MOTIONS_SLOT_BEGIN = 83 };
40 enum { MOTIONS_SLOT_END = 88 };
43 enum { BASE_INTERVAL_MSEC = 15000 };
46 enum { RANDOM_INTERVAL_MSEC = 10000 };
49 enum { GETUP_WAIT_MSEC = 1000 };
52 enum { SAMPLING_INTERVAL_MSEC = 100 };
55 enum { GRAVITY_AXIS_THRESHOLD = 13000 };
60 uint32_t m_before_user_action_msec;
61 uint32_t m_next_sampling_msec;
63 uint32_t m_action_interval;
99 #endif // PLEN2_SOUL_H
Definition: AccelerationGyroSensor.h:16
void action()
Apply appropriate motion based on logging state.
The class which makes natural moving, for PLEN.
Definition: Soul.h:27
Soul(AccelerationGyroSensor &sensor, MotionController &motion_ctrl)
Constructor.
Management class of a motion.
Definition: MotionController.h:36
void userActionInputed()
Log a timing when a user action is input.
Management class of acceleration and gyro sensor.
Definition: AccelerationGyroSensor.h:24
void log()
Log PLEN's state.