Revision 95dd1012 src/server/eyelid_motion_generator.cpp

View differences:

src/server/eyelid_motion_generator.cpp
41 41
    EyeMotionGenerator(j, cfg) {
42 42
    saccade_blink_active_ = false;
43 43
    saccade_blink_requested_ = false;
44
    eyelid_closed_[LEFT] = false;
45
    eyelid_closed_[RIGHT] = false;
44

  
45
    for (int i = 0; i < 2; i++) {
46
        eyelid_closed_[i] = false;
47
        eyeblink_active_[i] = false;
48
        eyeblink_timeout_[i] = boost::get_system_time();
49
    }
46 50

  
47 51
    eyeblink_blocked_timeout_ = boost::get_system_time();
48 52
}

Also available in: Unified diff