Revision 21444915 src/server/mouth_motion_generator.cpp

View differences:

src/server/mouth_motion_generator.cpp
92 92
    }
93 93

  
94 94
    //tell the joint about the new values:
95
    joint_interface->set_target_position(upper_id, unsafe_target_upper);
96
    joint_interface->set_target_position(lower_id, unsafe_target_lower);
95
    joint_interface->set_target_position(upper_id, unsafe_target_upper, 0.0);
96
    joint_interface->set_target_position(lower_id, unsafe_target_lower, 0.0);
97 97

  
98 98
    //printf("> update_mouth_target(u=%d, l=%d) -> upper = %4.2f, lower = %4.2f\n",upper_id, lower_id,unsafe_target_upper,unsafe_target_lower);
99 99
}

Also available in: Unified diff