Skip to content

r2_behavior: configuration-node parameters

Source defaults below are not proof of installed runtime values. Secret-like parameter defaults are omitted. Runtime-only flags and edit-method expressions are preserved where declared.

src/r2_behavior/config_nodes.py

Source: head-ros-nodes/ros/r2_behavior/src/r2_behavior/config_nodes.py

SituationsConfig.init

Name Description Constructor default Min Max Options expression Runtime-only Source line
'current_situation' 'Current Situation' current None None self.enum(situations) False 37
'distance_threshold' 'Distance to filter out people as closeby' 2.0 0.5 6.0 `` False 38
'people_alpha' 'People low-pass filter alpha' 0.05 0.01 0.5 `` False 39
'webui_situations' 'Situation buttons to show in WebUI' 'idle,presenting,med_freechat' None None `` False 40
### BehaviorSupervisorConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
'active_backend' 'Active behavior backend' current None None self.enum({'States': 'states', 'Behavior Manager': 'behavior_manager'}) False 49
### StateConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
'disable_attention' 'Disable attention control' False None None `` False 63
'disable_animations' 'Disable animations' False None None `` False 64
'disable_blinking' 'Disable blinking' False None None `` False 65
'disable_saccades' 'Disable Sacades' False None None `` False 66
'disable_keepalive' 'Disable keep alive head movement' False None None `` False 67
'chat_enabled' 'Chatbot is enabled while in this state' True None None `` False 68
'performances_by_keyword' 'Enable performances triggered by keyword' True None None `` False 69
'orchestrator_prompt' 'Orchestration prompt' '' None None `` False 70
### StatesConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
'init_state' 'Initial state on startup' 'interacting' None None self.enum(main_state_enum) False 86
'thinking_operator' 'Think while answer is generated' True None None `` False 89
'thinking_time' 'Thinking timeout (go back to listening, if no response)' 5 1 10 `` False 90
'pt__timeout_state' 'Picture-taking timeout (go back to interacting if no new triggers) [s]' 5 1 10 `` False 93
'pt__timeout_rank' 'Time to raise picture-taking trigger rank after an event [s]' 3 1 10 `` False 94
'pt__objects' 'Classes of objects to raise picture taking trigger rank [RegEx]' 'cell phone, remote, camera, video camera' None None `` False 95
'pt__selfie_objects' 'Classes of objects that contribute to triggering selfie taking [RegEx]' 'cell phone screen' None None `` False 96
'pt__keywords' 'Keywords to raise picture taking trigger rank [RegEx]' 'selfie, picture, pic, photo, cheese, pose' None None `` False 97
'pt__selfie_keywords' 'Keywords that contribute to triggering selfie taking [RegEx]' 'selfie' None None `` False 98
'pt__sentences' 'Sentences to force trigger picture taking [RegEx]' '.* take .* picture, .* take .* selfie, .* take .* photo, say cheese, pose .* .* picture, look .* .* camera, look .* .* phone, smile .* .* camera, smile .* .* picture, smile .* .* photo' None None `` False 99
'pt__selfie_sentences' 'Sentences that force trigger selfie taking [RegEx]' '.* take .* selfie' None None `` False 100
'pt__objects_rank' 'Rank raised per object' 0.5 0 1 `` False 101
'pt__objects_max_rank' 'Max rank for objects' 0.6 0 1 `` False 102
'pt__keywords_rank' 'Rank raised per keyword' 0.4 0 1 `` False 103
'pt__keywords_max_rank' 'Max rank for keywords' 0.5 0 1 `` False 104
'pt__selfie_distance' 'Max distance to detect selfie [m]' 0.8 0 2 `` False 105
'pt__selfie_conditions' 'Number of conditions to trigger selfie state' 1 1 5 `` False 106
### AnimationConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
'enable_flag' 'Enable animations' True None None `` False 117
'enable_gestures' 'Enable Gestures' True None None `` False 118
'run_performance_on_start' 'Run performance on start' '' None None `` False 119
'gesture_magnitude' 'Magnitude multiplier' 1.0 0.0 2.0 `` False 122
'gesture_speed' 'Speed multiplier' 1.0 0.0 2.0 `` False 123
'time_between_gestures_min' 'Min interval between gestures' 1.0 0.0 15.0 `` False 124
'time_between_gestures_max' 'Max interval between gestures' 5.0 0.5 15.0 `` False 125
'trigger_gesture_on_update' 'Trigger Gesture on update' False None None `` False 126
'stop_running_gesture_on_update' 'Rampout running gesture on update' False None None `` False 127
'gestures' 'Gestures' '{}' None None `` False 128
'enable_arm_animations' 'Enable Arm Animations' True None None `` False 131
'arm_animation_magnitude' 'Magnitude multiplier for arm animations' 1.0 0.0 2.0 `` False 132
'arm_animation_speed' 'Speed multiplier for arm animations' 1.0 0.0 2.0 `` False 133
'time_between_arm_animations_min' 'Min interval between arm animations' 1.0 0.0 15.0 `` False 134
'time_between_arm_animations_max' 'Max interval between arm animations' 5.0 0.5 15.0 `` False 135
'trigger_arm_animation_on_update' 'Trigger Arm Animation on update' False None None `` False 136
'stop_running_arm_animation_on_update' 'Rampout running arm animation on update' False None None `` False 137
'arm_animations' 'Arm Animations' '{}' None None `` False 138
'enable_expressions' 'Enable Expressions' True None None `` False 141
'expression_magnitude' 'Expression multiplier' 1.0 0.0 2.0 `` False 142
'expression_duration' 'Duration multiplier' 1.0 0.0 2.0 `` False 143
'time_between_expressions_min' 'Min interval between expressions' 5.0 1.0 15.0 `` False 144
'time_between_expressions_max' 'Max interval between expressions' 8.0 1.0 15.0 `` False 145
'expressions' 'Expressions' '{}' None None `` False 146
'node_schema' '' schema_json None None `` False 149
### AttentionConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
'enable_flag' 'enable tracking' True None None `` False 161
'head_speed' 'Head speed' 1.0 0.1 2.0 `` False 164
'head_yaw_movement' 'Tracking with head yaw proportion' 0.6 0.0 1.0 `` False 165
'head_pitch_movement' 'Tracking with head pitch proportion' 0.6 0.0 1.0 `` False 166
'head_full_attention' 'Turn to full proportion after' 1.0 0.0 5.0 `` False 167
'bored_looking_around' 'Look around while idle' True None None `` False 170
'bored_interval_min' 'Time to change target min' 10.0 1.0 30.0 `` False 171
'bored_interval_max' 'Time to change target max' 10.0 1.0 30.0 `` False 172
'bored_head_speed' 'Bored head speed' 1.0 0.2 5.0 `` False 173
'bored_range_x' 'Horizontal range limit' 1.0 0.1 3.0 `` False 174
'bored_range_y' 'Vertical range limit' 0.1 0.1 3.0 `` False 175
'bored_change_x' 'Max movement horizontaly' 0.5 0.1 5.0 `` False 176
'bored_change_y' 'Max movement vertically' 0.1 0.1 5.0 `` False 177
'bored_eyes_x' 'Use eyes left/right to get look around' 0.2 0.0 1.0 `` False 178
'bored_eyes_y' 'Use eyes up/down to get look around' 0.0 0.0 1.0 `` False 179
'manual_look_at_time' 'CMD: Time [s] to keep tracking a person/object/location when clicked in WebUI' 10.0 1.0 120.0 `` False 182
'look_at_id' 'CMD: Specify face/body id(s) to look_at' '' None None `` False 183
'look_at_time' 'CMD: Specify face id to look_at' 5.0 1.0 30.0 `` False 184
'look_at_inverse' 'CMD: Avoid looking at the specificied face' False None None `` False 185
'look_at_start' 'Apply CMD, and start looking for specified time' False None None `` False 186
'attention_profile' 'Attention tuning profile' DEFAULT_CONFIG_VALUES['attention_profile'] None None self.enum({name.title(): name for name in PROFILE_NAMES}) False 189
'people_priority' 'ATTN: global people priority multiplier' 1.0 0.0 3.0 `` False 195
'object_priority' 'ATTN: global object priority multiplier' 1.0 0.0 3.0 `` False 196
'switch_threshold' 'ATTN: switch only if the new score beats active score by' 0.05 0.0 1.0 `` False 197
'stickiness' 'ATTN: higher values keep the current target longer' 1.0 0.1 5.0 `` False 198
'distance_sensitivity' 'ATTN: distance penalty multiplier' 1.0 0.0 5.0 `` False 199
'fov_sensitivity' 'ATTN: FOV angle penalty multiplier' 1.0 0.0 5.0 `` False 200
'action_sensitivity' 'ATTN: action bonus multiplier' 1.0 0.0 5.0 `` False 201
'speaker_bonus' 'ATTN: score bonus when sound localization matches a person' 0.8 0.0 5.0 `` False 202
'object_near_person_bonus' 'ATTN: object score bonus near people' 0.25 0.0 5.0 `` False 203
'object_near_person_radius_m' 'ATTN: distance for object-near-person bonus [m]' 1.0 0.0 10.0 `` False 204
'keep_tracked_for' 'ATTN: If tracker disappears keep object for some time [s]' 2.0 0.1 5.0 `` False 205
'focus_during_tts' 'ATTN: looking at same face while speaking' False None None `` False 206
'actions_timeout' '[actions timeout] [s] how long to keep action bonuses' 5.0 0.0 10.0 `` False 207
'keywords_timeout' '[keywords timeout] [s] how long to keep keyword bonuses' 5.0 0.0 10.0 `` False 208
'secondary_attention_enabled' 'ATTN2: enable short secondary glances' True None None `` False 211
'secondary_attention_preset' 'ATTN2: glance preset' DEFAULT_CONFIG_VALUES['secondary_attention_preset'] None None self.enum({name.replace('_', ' ').title(): name for name in SECONDARY_PRESET_NAMES}) False 212
'secondary_interval_min_sec' 'ATTN2: minimum time between glances [s]' 4.0 0.2 60.0 `` False 218
'secondary_interval_max_sec' 'ATTN2: maximum time between glances [s]' 9.0 0.2 90.0 `` False 219
'secondary_duration_min_sec' 'ATTN2: minimum glance duration [s]' 0.35 0.05 5.0 `` False 220
'secondary_duration_max_sec' 'ATTN2: maximum glance duration [s]' 0.75 0.05 5.0 `` False 221
'secondary_cooldown_sec' 'ATTN2: per-target cooldown after a glance [s]' 8.0 0.0 60.0 `` False 222
'secondary_head_yaw_bias' 'ATTN2: small head bias toward glance yaw' 0.08 0.0 1.0 `` False 223
'secondary_head_pitch_bias' 'ATTN2: small head bias toward glance pitch' 0.18 0.0 1.0 `` False 224
'secondary_max_head_yaw_deg' 'ATTN2: max secondary head yaw offset [deg]' 4.0 0.0 30.0 `` False 225
'secondary_max_head_pitch_deg' 'ATTN2: max secondary head pitch offset [deg]' 7.0 0.0 30.0 `` False 226
'classes' 'Classes JSON' ATTENTION_CLASSES_DEFAULT None None `` False 230
'actions' 'Actions JSON' ATTENTION_ACTIONS_DEFAULT None None `` False 231
'keywords' 'Keywords JSON' ATTENTION_KEYWORDS_DEFAULT None None `` False 232
'node_schema' 'UI schema for attention JSON' schema_json None None `` False 233
### MirroringConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
'enabled' 'Enable Mirroring' False None None `` False 245
'mirror_head_roll' 'Head Roll (intensity)' 0.4 0 5 `` False 248
'mirror_head_roll_smooth' 'Head Roll (smoothing factor)' 0.025 0 1 `` False 249
'mirror_head_roll_threshold' 'Head Roll (threshold)' 0 0 5 `` False 250
'mirror_head_roll_delay' 'Head Roll (delay)' 0 0 5 `` False 251
'mirror_head_roll_reverse' 'Reverse Head Roll' False None None `` False 252
'mirror_head_pitch' 'Head Pitch (intensity)' 0.3 0 5 `` False 254
'mirror_head_pitch_smooth' 'Head Pitch (smoothing factor)' 0.05 0 1 `` False 255
'mirror_head_pitch_threshold' 'Head Pitch (threshold)' 0 0 5 `` False 256
'mirror_head_pitch_delay' 'Head Pitch (delay)' 0 0 5 `` False 257
'mirror_head_yaw' 'Head Yaw (intensity)' 0.4 0 5 `` False 259
'mirror_head_yaw_smooth' 'Head Yaw (smoothing factor)' 0.02 0 1 `` False 260
'mirror_head_yaw_threshold' 'Head Yaw (threshold)' 0 0 5 `` False 261
'mirror_head_yaw_delay' 'Head Yaw (delay)' 0 0 5 `` False 262
'mirror_brows' 'Brows (intensity)' 4 0 5 `` False 265
'mirror_brows_smooth' 'Brows (smoothing factor)' 0.1 0 1 `` False 266
'mirror_brows_threshold' 'Brows (threshold)' 0.1 0 5 `` False 267
'mirror_brows_delay' 'Brows (delay)' 0 0 5 `` False 268
'mirror_upper_lid_raiser' 'Upper Lid Raiser (intensity)' 0 0 5 `` False 270
'mirror_upper_lid_raiser_smooth' 'Upper Lid Raiser (smoothing factor)' 0.5 0 1 `` False 271
'mirror_upper_lid_raiser_threshold' 'Upper Lid Raiser (threshold)' 0 0 5 `` False 272
'mirror_upper_lid_raiser_delay' 'Upper Lid Raiser (delay)' 0 0 5 `` False 273
'mirror_cheek_raiser' 'Cheek Raiser (intensity)' 5 0 5 `` False 275
'mirror_cheek_raiser_smooth' 'Cheek Raiser (smoothing factor)' 0.5 0 1 `` False 276
'mirror_cheek_raiser_threshold' 'Cheek Raiser (threshold)' 0 0 5 `` False 277
'mirror_cheek_raiser_delay' 'Cheek Raiser (delay)' 0 0 5 `` False 278
'mirror_lid_tightener' 'Lid Tightener (intensity)' 0 0 5 `` False 280
'mirror_lid_tightener_smooth' 'Lid Tightener (smoothing factor)' 0.5 0 1 `` False 281
'mirror_lid_tightener_threshold' 'Lid Tightener (threshold)' 0 0 5 `` False 282
'mirror_lid_tightener_delay' 'Lid Tightener (delay)' 0 0 5 `` False 283
'mirror_upper_lip_raiser' 'Upper Lip Raiser (intensity)' 0 0 5 `` False 285
'mirror_upper_lip_raiser_smooth' 'Upper Lip Raiser (smoothing factor)' 0.5 0 1 `` False 286
'mirror_upper_lip_raiser_threshold' 'Upper Lip Raiser (threshold)' 0 0 5 `` False 287
'mirror_upper_lip_raiser_delay' 'Upper Lip Raiser (delay)' 0 0 5 `` False 288
'mirror_lip_corner_puller' 'Lip Corner Puller (intensity)' 3 0 5 `` False 290
'mirror_lip_corner_puller_smooth' 'Lip Corner Puller (smoothing factor)' 0.25 0 1 `` False 291
'mirror_lip_corner_puller_threshold' 'Lip Corner Puller (threshold)' 0 0 5 `` False 292
'mirror_lip_corner_puller_delay' 'Lip Corner Puller (delay)' 0 0 5 `` False 293
'mirror_lip_corner_depressor' 'Lip Corner Depressor (intensity)' 2 0 5 `` False 295
'mirror_lip_corner_depressor_smooth' 'Lip Corner Depressor (smoothing factor)' 0.1 0 1 `` False 296
'mirror_lip_corner_depressor_threshold' 'Lip Corner Depressor (threshold)' 0 0 5 `` False 297
'mirror_lip_corner_depressor_delay' 'Lip Corner Depressor (delay)' 0 0 5 `` False 298
'mirror_chin_raiser' 'Chin Raiser (intensity)' 0 0 5 `` False 300
'mirror_chin_raiser_smooth' 'Chin Raiser (smoothing factor)' 0.5 0 1 `` False 301
'mirror_chin_raiser_threshold' 'Chin Raiser (threshold)' 0 0 5 `` False 302
'mirror_chin_raiser_delay' 'Chin Raiser (delay)' 0 0 5 `` False 303
'mirror_lip_stretcher' 'Lip Stretcher (intensity)' 5 0 5 `` False 305
'mirror_lip_stretcher_smooth' 'Lip Stretcher (smoothing factor)' 0.05 0 1 `` False 306
'mirror_lip_stretcher_threshold' 'Lip Stretcher (threshold)' 0 0 5 `` False 307
'mirror_lip_stretcher_delay' 'Lip Stretcher (delay)' 0 0 5 `` False 308
'mirror_lip_tightener' 'Lip Tightener (intensity)' 5 0 5 `` False 310
'mirror_lip_tightener_smooth' 'Lip Tightener (smoothing factor)' 0.05 0 1 `` False 311
'mirror_lip_tightener_threshold' 'Lip Tightener (threshold)' 0 0 5 `` False 312
'mirror_lip_tightener_delay' 'Lip Tightener (delay)' 0 0 5 `` False 313
'mirror_lips_part' 'Lips Part (intensity)' 0 0 5 `` False 315
'mirror_lips_part_smooth' 'Lips Part (smoothing factor)' 0.5 0 1 `` False 316
'mirror_lips_part_threshold' 'Lips Part (threshold)' 0 0 5 `` False 317
'mirror_lips_part_delay' 'Lips Part (delay)' 0 0 5 `` False 318
'mirror_jaw_drop' 'Jaw Drop (intensity)' 0.5 0 5 `` False 320
'mirror_jaw_drop_smooth' 'Jaw Drop (smoothing factor)' 0.05 0 1 `` False 321
'mirror_jaw_drop_threshold' 'Jaw Drop (threshold)' 0.75 0 5 `` False 322
'mirror_jaw_drop_delay' 'Jaw Drop (delay)' 0 0 5 `` False 323
'mirror_blink' 'Blink (0 = off, 1 = on)' 1 0 1 `` False 326
'mirror_blink_delay' 'Blink (delay)' 0 0 5 `` False 327
'blink_anim' 'Blink Animation' 'eyes_Blink' None None `` False 328
'mirror_anger' 'Anger (intensity)' 0 0 5 `` False 331
'mirror_anger_smooth' 'Anger (smoothing factor)' 0.5 0 1 `` False 332
'mirror_anger_threshold' 'Anger (threshold)' 0 0 5 `` False 333
'mirror_anger_delay' 'Anger (delay)' 0 0 5 `` False 334
'anger_exp' 'Anger Expression' 'fearSuprise' None None `` False 335
'mirror_disgust' 'Disgust (intensity)' 0 0 5 `` False 337
'mirror_disgust_smooth' 'Disgust (smoothing factor)' 0.5 0 1 `` False 338
'mirror_disgust_threshold' 'Disgust (threshold)' 0 0 5 `` False 339
'mirror_disgust_delay' 'Disgust (delay)' 0 0 5 `` False 340
'disgust_exp' 'Disgust Expression' 'disgust' None None `` False 341
'mirror_fear' 'Fear (intensity)' 0 0 5 `` False 343
'mirror_fear_smooth' 'Fear (smoothing factor)' 0.5 0 1 `` False 344
'mirror_fear_threshold' 'Fear (threshold)' 0 0 5 `` False 345
'mirror_fear_delay' 'Fear (delay)' 0 0 5 `` False 346
'fear_exp' 'Fear Expression' 'fear' None None `` False 347
'mirror_happiness' 'Happiness (intensity)' 1.5 0 5 `` False 349
'mirror_happiness_smooth' 'Happiness (smoothing factor)' 0.5 0 1 `` False 350
'mirror_happiness_threshold' 'Happiness (threshold)' 0 0 5 `` False 351
'mirror_happiness_delay' 'Happiness (delay)' 0 0 5 `` False 352
'happiness_exp' 'Happiness Expression' 'happy.003' None None `` False 353
'mirror_sadness' 'Sadness (intensity)' 0 0 5 `` False 355
'mirror_sadness_smooth' 'Sadness (smoothing factor)' 0.5 0 1 `` False 356
'mirror_sadness_threshold' 'Sadness (threshold)' 0 0 5 `` False 357
'mirror_sadness_delay' 'Sadness (delay)' 0 0 5 `` False 358
'sadness_exp' 'Sadness Expression' 'sad' None None `` False 359
'mirror_surprise' 'Surprise (intensity)' 0.2 0 5 `` False 361
'mirror_surprise_smooth' 'Surprise (smoothing factor)' 0.05 0 1 `` False 362
'mirror_surprise_threshold' 'Surprise (threshold)' 2.5 0 5 `` False 363
'mirror_surprise_delay' 'Surprise (delay)' 0 0 5 `` False 364
'surprise_exp' 'Surprise Expression' 'surprised' None None `` False 365