Revision efbcb710 server/src/EmotionConfig.cpp
| server/src/EmotionConfig.cpp | ||
|---|---|---|
| 55 | 55 |
} |
| 56 | 56 |
|
| 57 | 57 |
void EmotionConfig::select_config(EmotionType e){
|
| 58 |
// default overblend time |
|
| 59 |
overblend_time_ms = 500; |
|
| 60 |
|
|
| 58 | 61 |
switch((int) e){
|
| 59 | 62 |
default: |
| 60 | 63 |
case(NEUTRAL): init_neutral(); break; |
| ... | ... | |
| 130 | 133 |
|
| 131 | 134 |
void EmotionConfig::init_sad(){
|
| 132 | 135 |
gaze_override.pan_offset = 0.0; |
| 133 |
gaze_override.tilt_offset = -3.0; |
|
| 136 |
gaze_override.tilt_offset = -13.0;
|
|
| 134 | 137 |
gaze_override.roll_offset = -3.0; |
| 135 | 138 |
gaze_override.gaze_type = humotion::GazeState::GAZETYPE_ABSOLUTE; //GAZETYPE_OVERRIDE; |
| 136 | 139 |
|
Also available in: Unified diff