Skip to content

Commit 9cc2cde

Browse files
committed
Latest tuned configs
Copied from sophia_body
1 parent b12d83f commit 9cc2cde

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/ros_commo.py

+13-13
Original file line numberDiff line numberDiff line change
@@ -206,17 +206,17 @@ def explore_saccade(self):
206206
return
207207
# Switch to conversational (micro) saccade parameters
208208
msg = SaccadeCycle()
209-
msg.mean = 2.45 # saccade_explore_interval_mean
210-
msg.variation = 0.9 # saccade_explore_interval_var
211-
msg.paint_scale = 4 # saccade_explore_paint_scale
209+
msg.mean = 0.8 # saccade_explore_interval_mean
210+
msg.variation = 0.3 # saccade_explore_interval_var
211+
msg.paint_scale = 0.3 # saccade_explore_paint_scale
212212
# From study face, maybe better default should be defined for
213213
# explore
214214
msg.eye_size = 15 # saccade_study_face_eye_size
215215
msg.eye_distance = 100 # saccade_study_face_eye_distance
216216
msg.mouth_width = 90 # saccade_study_face_mouth_width
217217
msg.mouth_height = 27 # saccade_study_face_mouth_height
218-
msg.weight_eyes = 0.4 # saccade_study_face_weight_eyes
219-
msg.weight_mouth = 0.6 # saccade_study_face_weight_mouth
218+
msg.weight_eyes = 0.8 # saccade_study_face_weight_eyes
219+
msg.weight_mouth = 0.2 # saccade_study_face_weight_mouth
220220
self.saccade_pub.publish(msg)
221221

222222
# Used during conversation to study face being looked at.
@@ -226,15 +226,15 @@ def conversational_saccade(self):
226226
# Switch to conversational (micro) saccade parameters
227227
msg = SaccadeCycle()
228228
msg.mean = 0.8 # saccade_micro_interval_mean
229-
msg.variation = 0.8 # saccade_micro_interval_var
230-
msg.paint_scale = 3 # saccade_micro_paint_scale
229+
msg.variation = 0.5 # saccade_micro_interval_var
230+
msg.paint_scale = 0.3 # saccade_micro_paint_scale
231231
#
232232
msg.eye_size = 11.5 # saccade_study_face_eye_size
233233
msg.eye_distance = 100 # saccade_study_face_eye_distance
234234
msg.mouth_width = 90 # saccade_study_face_mouth_width
235235
msg.mouth_height = 5 # saccade_study_face_mouth_height
236-
msg.weight_eyes = 0.4 # saccade_study_face_weight_eyes
237-
msg.weight_mouth = 0.6 # saccade_study_face_weight_mouth
236+
msg.weight_eyes = 0.8 # saccade_study_face_weight_eyes
237+
msg.weight_mouth = 0.2 # saccade_study_face_weight_mouth
238238
self.saccade_pub.publish(msg)
239239

240240
# Used during conversation to study face being looked at.
@@ -243,16 +243,16 @@ def listening_saccade(self):
243243
return
244244
# Switch to conversational (micro) saccade parameters
245245
msg = SaccadeCycle()
246-
msg.mean = 2.2 # saccade_micro_interval_mean
246+
msg.mean = 1 # saccade_micro_interval_mean
247247
msg.variation = 0.6 # saccade_micro_interval_var
248-
msg.paint_scale = 1 # saccade_micro_paint_scale
248+
msg.paint_scale = 0.3 # saccade_micro_paint_scale
249249
#
250250
msg.eye_size = 11 # saccade_study_face_eye_size
251251
msg.eye_distance = 80 # saccade_study_face_eye_distance
252252
msg.mouth_width = 50 # saccade_study_face_mouth_width
253253
msg.mouth_height = 13.0 # saccade_study_face_mouth_height
254-
msg.weight_eyes = 0.5 # saccade_study_face_weight_eyes
255-
msg.weight_mouth = 0.5 # saccade_study_face_weight_mouth
254+
msg.weight_eyes = 0.8 # saccade_study_face_weight_eyes
255+
msg.weight_mouth = 0.2 # saccade_study_face_weight_mouth
256256
self.saccade_pub.publish(msg)
257257

258258

0 commit comments

Comments
 (0)