add short description to fancy kick
This commit is contained in:
@@ -6,24 +6,31 @@ from naoqi import ALProxy
|
|||||||
|
|
||||||
class NaoMover(object):
|
class NaoMover(object):
|
||||||
|
|
||||||
|
# fancy kick
|
||||||
KICK_SEQUENCE = [
|
KICK_SEQUENCE = [
|
||||||
# base_or_kicking, unsymmetric, joint, angle, speed
|
# base_or_kicking, unsymmetric, joint, angle, speed
|
||||||
|
|
||||||
|
# lift the arm
|
||||||
[[(0, 1, 'ShoulderRoll', -70, 0.4)], 1],
|
[[(0, 1, 'ShoulderRoll', -70, 0.4)], 1],
|
||||||
|
|
||||||
|
# lean to the side using the ankle joints
|
||||||
[[(0, 1, 'AnkleRoll', -9, 0.2),
|
[[(0, 1, 'AnkleRoll', -9, 0.2),
|
||||||
(1, 1, 'AnkleRoll', -9, 0.2)],
|
(1, 1, 'AnkleRoll', -9, 0.2)],
|
||||||
1],
|
1],
|
||||||
|
|
||||||
|
# lift the feed using the knee joint and the ankle joint
|
||||||
[[(1, 0, 'KneePitch', 90, 0.3),
|
[[(1, 0, 'KneePitch', 90, 0.3),
|
||||||
(1, 0, 'AnklePitch', -40, 0.4)],
|
(1, 0, 'AnklePitch', -40, 0.4)],
|
||||||
1.5,],
|
1.5,],
|
||||||
|
|
||||||
|
# move feed back using hip, knee and ankle joint
|
||||||
[[(1, 0, 'HipPitch', -45, 0.05),
|
[[(1, 0, 'HipPitch', -45, 0.05),
|
||||||
(1, 0, 'KneePitch', 10, 0.8),
|
(1, 0, 'KneePitch', 10, 0.8),
|
||||||
(1, 0, 'AnklePitch', 20, 0.7)],
|
(1, 0, 'AnklePitch', 20, 0.7)],
|
||||||
1],
|
1],
|
||||||
|
|
||||||
|
# move feed forward using knee and ankle joint
|
||||||
|
# perform the kick
|
||||||
[[(1, 0, 'KneePitch', 40, 0.25),
|
[[(1, 0, 'KneePitch', 40, 0.25),
|
||||||
(1, 0, 'AnklePitch', 10, 0.25)],
|
(1, 0, 'AnklePitch', 10, 0.25)],
|
||||||
1,],
|
1,],
|
||||||
|
|||||||
Reference in New Issue
Block a user