apirrone
commited on
Commit
·
9344bce
1
Parent(s):
4e01395
update
Browse files
red_light_green_light/main.py
CHANGED
|
@@ -6,7 +6,6 @@ import cv2
|
|
| 6 |
import numpy as np
|
| 7 |
from reachy_mini import ReachyMiniApp
|
| 8 |
|
| 9 |
-
# from reachy_mini.utils.camera import find_camera
|
| 10 |
from reachy_mini.reachy_mini import (
|
| 11 |
SLEEP_ANTENNAS_JOINT_POSITIONS,
|
| 12 |
SLEEP_HEAD_JOINT_POSITIONS,
|
|
@@ -179,7 +178,7 @@ class RedLightGreenLightApp(ReachyMiniApp):
|
|
| 179 |
yaw=-target_yaw,
|
| 180 |
)
|
| 181 |
reachy_mini.goto_target(
|
| 182 |
-
head=pose, antennas=[
|
| 183 |
)
|
| 184 |
reachy_mini.media.play_sound("impatient1.wav")
|
| 185 |
|
|
|
|
| 6 |
import numpy as np
|
| 7 |
from reachy_mini import ReachyMiniApp
|
| 8 |
|
|
|
|
| 9 |
from reachy_mini.reachy_mini import (
|
| 10 |
SLEEP_ANTENNAS_JOINT_POSITIONS,
|
| 11 |
SLEEP_HEAD_JOINT_POSITIONS,
|
|
|
|
| 178 |
yaw=-target_yaw,
|
| 179 |
)
|
| 180 |
reachy_mini.goto_target(
|
| 181 |
+
head=pose, antennas=[0.5, -0.5], duration=1.0
|
| 182 |
)
|
| 183 |
reachy_mini.media.play_sound("impatient1.wav")
|
| 184 |
|