sankarlabs's picture
Create app.py
7fc5eea verified
raw
history blame contribute delete
451 Bytes
from reachy_mini import ReachyMini
import pyttsx3
import time
def run():
reachy = ReachyMini()
reachy.wake_up()
time.sleep(1)
neutral_pose = reachy.get_current_head_pose()
reachy.look_at_world(x=0.3, y=0.0, z=0.5)
time.sleep(0.1)
engine = pyttsx3.init()
engine.say("Hello, Good morning! I am Reachy Mini.")
engine.runAndWait()
reachy.set_target_head_pose(neutral_pose)
print("Returned to neutral ✅")