Skip to content

Tools

Motion·

head, antennas, body, wake — clamped

  • tool authors · prompt writers
  • 1 min
  • 116 words
  • from the code

In 10 seconds

  • 5 tools in tools/reachy_motion.py — head, antennas, body, wake — clamped.

reachy_look·

reachy_look(
    x: float = 0.0,
    y: float = 0.0,
    z: float = 0.0,
    roll: float = 0.0,
    pitch: float = 0.0,
    yaw: float = 0.0,
    body_yaw: Optional[float] = 0.0,
    antennas: Optional[List[float]] = None,
    duration: float = 0.8,
    method: str = 'minjerk',
) -> dict

Move TINY's head to a pose (smooth interpolation).

argument envelope
x, y, z head translation in mm (~[-20,20]).
roll, pitch, yaw degrees. Negative pitch looks up, positive yaw turns left. pitch/roll clamped to [-40,40], yaw to [-180,180].
body_yaw body rotation in DEGREES ([-160,160]); None = keep current.
reachy_look(pitch=-15, yaw=-20)            # look up-and-right

source ↗

reachy_antennas·

reachy_antennas(right: float = 0.0, left: float = 0.0, duration: float = 0.5) -> dict

Move just the two antennas (TINY's 'ears'), in DEGREES.

reachy_antennas(45, 45)     # both up — alert / happy

source ↗

reachy_body_turn·

reachy_body_turn(yaw: float = 0.0, duration: float = 1.0) -> dict

Rotate TINY's body (yaw), in DEGREES ([-160,160]).

source ↗

reachy_home·

reachy_home(duration: float = 1.0) -> dict

Return TINY to the neutral pose (head centered, antennas rest).

source ↗

reachy_wake·

reachy_wake(sleep: bool = False) -> dict

Wake TINY up (init pose + wake emote + sound) or put it to sleep.

source ↗