From e0bf8e35cfe78127bb96b3590ba4a4c77701c825 Mon Sep 17 00:00:00 2001 From: Jonas Date: Fri, 22 Jun 2018 20:23:00 +0200 Subject: [PATCH] add short description to fancy kick --- pykick/movements.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pykick/movements.py b/pykick/movements.py index fe867a9..7d1e3d2 100644 --- a/pykick/movements.py +++ b/pykick/movements.py @@ -6,24 +6,31 @@ from naoqi import ALProxy class NaoMover(object): + # fancy kick KICK_SEQUENCE = [ # base_or_kicking, unsymmetric, joint, angle, speed + # lift the arm [[(0, 1, 'ShoulderRoll', -70, 0.4)], 1], + # lean to the side using the ankle joints [[(0, 1, 'AnkleRoll', -9, 0.2), (1, 1, 'AnkleRoll', -9, 0.2)], 1], + # lift the feed using the knee joint and the ankle joint [[(1, 0, 'KneePitch', 90, 0.3), (1, 0, 'AnklePitch', -40, 0.4)], 1.5,], + # move feed back using hip, knee and ankle joint [[(1, 0, 'HipPitch', -45, 0.05), (1, 0, 'KneePitch', 10, 0.8), (1, 0, 'AnklePitch', 20, 0.7)], 1], + # move feed forward using knee and ankle joint + # perform the kick [[(1, 0, 'KneePitch', 40, 0.25), (1, 0, 'AnklePitch', 10, 0.25)], 1,],