Revision 7ed40bef src/server/eyebrow_motion_generator.cpp

View differences:

src/server/eyebrow_motion_generator.cpp
28 28

  
29 29
//! publish targets to motor boards:
30 30
void EyebrowMotionGenerator::publish_targets(){
31
   //publish values if there is an active gaze input within the last timerange
32
   if (gaze_target_input_active()){
33
    joint_interface->publish_target_position(JointInterface::ID_EYES_LEFT_BROW);
34
    joint_interface->publish_target_position(JointInterface::ID_EYES_RIGHT_BROW);
35
   }
31
    //publish values if there is an active gaze input within the last timerange
32
    if (gaze_target_input_active()){
33
        joint_interface->publish_target_position(JointInterface::ID_EYES_LEFT_BROW);
34
        joint_interface->publish_target_position(JointInterface::ID_EYES_RIGHT_BROW);
35
    }
36 36
}

Also available in: Unified diff