Revision 5cd4364c src/server/eye_motion_generator.cpp

View differences:

src/server/eye_motion_generator.cpp
85 85
    float neck_pan_now  = 0.0;
86 86
    float neck_tilt_now = 0.0;
87 87

  
88
    if (use_neck_target_instead_of_position_eye) {
88
    if (config->use_neck_target_instead_of_position_eye) {
89 89
        // position calc based on target
90 90
        neck_pan_now = joint_interface_->get_target_position(JointInterface::ID_NECK_PAN);
91 91
        neck_tilt_now = joint_interface_->get_target_position(JointInterface::ID_NECK_TILT);

Also available in: Unified diff