Revision 5f29f640 src/server/eye_motion_generator.cpp
src/server/eye_motion_generator.cpp | ||
---|---|---|
80 | 80 |
//tilt: |
81 | 81 |
float eye_tilt_target = requested_gaze_state.tilt - (neck_tilt_now); |
82 | 82 |
|
83 |
if (0){ |
|
84 |
eye_pan_r_target = 0.0; |
|
85 |
eye_pan_l_target = 0.0; |
|
86 |
eye_tilt_target = 0.0; |
|
87 |
} |
|
88 |
|
|
83 | 89 |
//fetch current angles: |
84 | 90 |
float eye_pan_l_now = get_current_position(JointInterface::ID_EYES_LEFT_LR); |
85 | 91 |
float eye_pan_r_now = get_current_position(JointInterface::ID_EYES_RIGHT_LR); |
Also available in: Unified diff