Revision 7531602c
src/server/config.cpp | ||
---|---|---|
57 | 57 |
// [Guitton87] "Gaze control in humans: eye-head coordination during orienting movements ..." |
58 | 58 |
// In order to allow better adaption to the robot capabilities humotion allows to |
59 | 59 |
// scale the calculated velocity, value is given in percent (NOTE: 1.0 = 100% human velocity) |
60 |
scale_velocity_neck = 0.5;
|
|
60 |
scale_velocity_neck = 0.4;
|
|
61 | 61 |
|
62 | 62 |
// scale acceleration |
63 | 63 |
scale_acceleration_neck = 0.7; |
src/server/middleware_ros.cpp | ||
---|---|---|
84 | 84 |
config->threshold_angle_neck_saccade = dyn_config.threshold_angle_neck_saccade; |
85 | 85 |
config->threshold_angle_omr_limit = dyn_config.threshold_angle_omr_limit; |
86 | 86 |
|
87 |
config->use_neck_target_instead_of_position_eye = dyn_config.use_neck_target_instead_of_position_eye; |
|
87 | 88 |
|
88 | 89 |
// neck motion generation configuration |
89 | 90 |
config->scale_velocity_neck = dyn_config.scale_velocity_neck; |
src/server/neck_motion_generator.cpp | ||
---|---|---|
174 | 174 |
joint_interface->get_ts_speed(JointInterface::ID_NECK_PAN).get_newest_value(), |
175 | 175 |
reflexxes_position_output->NewVelocityVector->VecData[0] |
176 | 176 |
);*/ |
177 |
|
|
178 |
/*printf("\n%f %f %f %f %f #GAZELOG\n", |
|
179 |
boost::get_system_time().time_of_day().total_milliseconds()/1000.0, |
|
180 |
requested_gaze_state_.pan + requested_gaze_state_.pan_offset, |
|
181 |
get_current_gaze().pan, |
|
182 |
(get_current_position(JointInterface::ID_EYES_LEFT_LR) + get_current_position(JointInterface::ID_EYES_RIGHT_LR))/2.0, |
|
183 |
get_current_position(JointInterface::ID_NECK_PAN));*/ |
|
177 | 184 |
} |
178 | 185 |
|
179 | 186 |
//! publish targets to motor boards: |
Also available in: Unified diff