Revision dad2c768
| server/src/EmotionConfig.cpp | ||
|---|---|---|
| 91 | 91 | 
    gaze_override.eyeblink_request_right = 0;  | 
| 92 | 92 | 
     | 
| 93 | 93 | 
    //mouth:  | 
| 94 | 
        mouth_override.position_left   = 5.0;
   | 
|
| 95 | 
        mouth_override.opening_left    = 5.0;
   | 
|
| 96 | 
        mouth_override.position_center = 10.0;
   | 
|
| 97 | 
        mouth_override.opening_center  = 5.0;
   | 
|
| 98 | 
        mouth_override.position_right  = 5.0;
   | 
|
| 99 | 
        mouth_override.opening_right   = 5.0;
   | 
|
| 94 | 
        mouth_override.position_left   = 0.0;
   | 
|
| 95 | 
        mouth_override.opening_left    = 3.0;
   | 
|
| 96 | 
        mouth_override.position_center = 40.0;
   | 
|
| 97 | 
        mouth_override.opening_center  = 3.0;
   | 
|
| 98 | 
        mouth_override.position_right  = 0.0;
   | 
|
| 99 | 
        mouth_override.opening_right   = 3.0;
   | 
|
| 100 | 100 | 
     | 
| 101 | 101 | 
    }  | 
| 102 | 102 | 
     | 
| ... | ... | |
| 138 | 138 | 
    //right opening: 12.6  | 
| 139 | 139 | 
     | 
| 140 | 140 | 
     | 
| 141 | 
        mouth_override.position_left   = 5.0;
   | 
|
| 142 | 
        mouth_override.opening_left    = 5.0;
   | 
|
| 143 | 
        mouth_override.position_center = 40.0;
   | 
|
| 144 | 
        mouth_override.opening_center  = 15.0;
   | 
|
| 145 | 
        mouth_override.position_right  = 5.0;
   | 
|
| 146 | 
        mouth_override.opening_right   = 5.0;
   | 
|
| 141 | 
        mouth_override.position_left   = 0.0;
   | 
|
| 142 | 
        mouth_override.opening_left    = 3.0;
   | 
|
| 143 | 
        mouth_override.position_center = 60.0;
   | 
|
| 144 | 
        mouth_override.opening_center  = 3.0;
   | 
|
| 145 | 
        mouth_override.position_right  = 0.0;
   | 
|
| 146 | 
        mouth_override.opening_right   = 3.0;
   | 
|
| 147 | 147 | 
     | 
| 148 | 148 | 
    }  | 
| 149 | 149 | 
     | 
| ... | ... | |
| 168 | 168 | 
    gaze_override.eyeblink_request_right = 3 * humotion::GazeState::EYEBLINK_TIME_DEFAULT;  | 
| 169 | 169 | 
     | 
| 170 | 170 | 
    //mouth:  | 
| 171 | 
        mouth_override.position_left   = 5.0;
   | 
|
| 172 | 
        mouth_override.opening_left    = 5.0;
   | 
|
| 173 | 
        mouth_override.position_center = 60.0;
   | 
|
| 174 | 
        mouth_override.opening_center  = 15.0;
   | 
|
| 175 | 
        mouth_override.position_right  = 5.0;
   | 
|
| 176 | 
        mouth_override.opening_right   = 5.0;
   | 
|
| 171 | 
        mouth_override.position_left   = 0.0;
   | 
|
| 172 | 
        mouth_override.opening_left    = 3.0;
   | 
|
| 173 | 
        mouth_override.position_center = 90.0;
   | 
|
| 174 | 
        mouth_override.opening_center  = 3.0;
   | 
|
| 175 | 
        mouth_override.position_right  = 0.0;
   | 
|
| 176 | 
        mouth_override.opening_right   = 3.0;
   | 
|
| 177 | 177 | 
    }  | 
| 178 | 178 | 
     | 
| 179 | 179 | 
    void EmotionConfig::init_angry(){
   | 
| ... | ... | |
| 198 | 198 | 
     | 
| 199 | 199 | 
    //mouth:  | 
| 200 | 200 | 
    mouth_override.position_left = 0.0;  | 
| 201 | 
        mouth_override.opening_left    = 5.0;
   | 
|
| 202 | 
        mouth_override.position_center = 10.0;
   | 
|
| 203 | 
    mouth_override.opening_center = 5.0;  | 
|
| 201 | 
        mouth_override.opening_left    = 3.0;
   | 
|
| 202 | 
        mouth_override.position_center = 40.0;
   | 
|
| 203 | 
        mouth_override.opening_center  = 15.0;
   | 
|
| 204 | 204 | 
    mouth_override.position_right = 0.0;  | 
| 205 | 
        mouth_override.opening_right   = 5.0;
   | 
|
| 205 | 
        mouth_override.opening_right   = 3.0;
   | 
|
| 206 | 206 | 
    }  | 
| 207 | 207 | 
     | 
| 208 | 208 | 
    void EmotionConfig::init_surprised(){
   | 
| ... | ... | |
| 228 | 228 | 
     | 
| 229 | 229 | 
    //mouth:  | 
| 230 | 230 | 
    mouth_override.position_left = 0.0;  | 
| 231 | 
        mouth_override.opening_left    = 5.0;
   | 
|
| 231 | 
        mouth_override.opening_left    = 3.0;
   | 
|
| 232 | 232 | 
    mouth_override.position_center = 40.0;  | 
| 233 | 
        mouth_override.opening_center  = 15.0;
   | 
|
| 233 | 
        mouth_override.opening_center  = 30.0;
   | 
|
| 234 | 234 | 
    mouth_override.position_right = 0.0;  | 
| 235 | 
        mouth_override.opening_right   = 5.0;
   | 
|
| 235 | 
        mouth_override.opening_right   = 3.0;
   | 
|
| 236 | 236 | 
    }  | 
| 237 | 237 | 
     | 
| 238 | 238 | 
    void EmotionConfig::init_fear(){
   | 
| ... | ... | |
| 258 | 258 | 
     | 
| 259 | 259 | 
    //mouth:  | 
| 260 | 260 | 
    mouth_override.position_left = 0.0;  | 
| 261 | 
        mouth_override.opening_left    = 5.0;
   | 
|
| 262 | 
        mouth_override.position_center = 60.0;
   | 
|
| 263 | 
        mouth_override.opening_center  = 15.0;
   | 
|
| 261 | 
        mouth_override.opening_left    = 3.0;
   | 
|
| 262 | 
        mouth_override.position_center = 40.0;
   | 
|
| 263 | 
        mouth_override.opening_center  = 90.0;
   | 
|
| 264 | 264 | 
    mouth_override.position_right = 0.0;  | 
| 265 | 
        mouth_override.opening_right   = 5.0;
   | 
|
| 265 | 
        mouth_override.opening_right   = 3.0;
   | 
|
| 266 | 266 | 
    }  | 
Also available in: Unified diff