Revision 0d2003bb src/server/motion_generator.cpp

View differences:

src/server/motion_generator.cpp
76 76
//! was there incoming gaze data the last second?
77 77
//! \return true if there was data incoming in the last second, false otherwise
78 78
bool MotionGenerator::gaze_target_input_active(){
79
    if (last_gaze_target_update + posix_time::milliseconds(1000) > get_system_time() ){
79
    if (last_gaze_target_update  + posix_time::milliseconds(1000) > get_system_time() ){
80 80
        //incoming data -> if gaze is disabled, enable it!
81 81
        joint_interface->enable_gaze_joints();
82 82
        return true;

Also available in: Unified diff