changed gesture loader, it has tai chi and gangnam style now and the ability to load choregraphe gestures

This commit is contained in:
Lucca Pirovano
2026-07-23 17:36:45 -04:00
parent 76087efc09
commit 17a469b921
21 changed files with 3421 additions and 109 deletions
+23
View File
@@ -0,0 +1,23 @@
NAME = "Cena"
def run(motion, tts):
tts.say("You can't see me")
motion.setStiffnesses("RArm", 1.0)
names = ["RShoulderPitch", "RShoulderRoll", "RElbowYaw", "RElbowRoll", "RWristYaw", "RHand"]
# Setup for tight, face-level sweep
tight_setup = [-0.4, -0.2, 0.0, 1.2, 1.5, 1.0]
motion.angleInterpolation(names, tight_setup, [0.5]*6, True)
# The horizontal "backhand" sweep
motion.angleInterpolation(["RElbowYaw"], [0.8], 0.4, True)
motion.angleInterpolation(["RElbowYaw"], [-0.8], 0.6, True)
motion.angleInterpolation(["RElbowYaw"], [0.0], 0.4, True)
# Return to neutral
neutral = [1.5, -0.15, 1.2, 0.5, 0.0, 0.0]
motion.angleInterpolationWithSpeed(names, neutral, 0.3)
# Relaxed stiffness after completion
motion.setStiffnesses("RArm", 0.3)