dont raise the arm. say funny stuff

This commit is contained in:
2018-07-10 11:43:45 +02:00
parent f89864c0e4
commit 24f9515565
2 changed files with 11 additions and 11 deletions

View File

@@ -19,11 +19,11 @@ if __name__ == '__main__':
ball_min_radius=cfg['ball_min_radius'], ball_min_radius=cfg['ball_min_radius'],
) )
# striker.speak('tiger') striker.speak('tiger')
# sleep(4.75) sleep(4.75)
striker.mover.stand_up(1.0) striker.mover.stand_up(1.0)
# sleep(9) sleep(9)
# print('Initialized') print('Initialized')
striker.speak('Initialized') striker.speak('Initialized')
state = 'init' state = 'init'
@@ -132,7 +132,7 @@ if __name__ == '__main__':
sleep(0.3) sleep(0.3)
if success: if success:
state = 'kick' state = 'kick'
# striker.speak('hasta') striker.speak('hasta')
except ValueError: except ValueError:
striker.ball_tracking() striker.ball_tracking()
@@ -164,9 +164,9 @@ if __name__ == '__main__':
striker.speak('I succeeded, presumably') striker.speak('I succeeded, presumably')
striker.mover.stand_up() striker.mover.stand_up()
sleep(0.5) sleep(0.5)
# striker.speak('Nice kick. Lets do the dance') striker.speak('Nice kick. Lets do the dance')
# sleep(2) sleep(2)
# striker.mover.dance() striker.mover.dance()
break break
finally: finally:
striker.close() striker.close()

View File

@@ -29,11 +29,11 @@ class NaoMover(object):
# base_or_kicking, unsymmetric, joint, angle # base_or_kicking, unsymmetric, joint, angle
# lift the arm # lift the arm
[[(0, 1, 'ShoulderRoll', -70)], 0.5], # [[(0, 1, 'ShoulderRoll', -70)], 0.5],
# lean to the side using the ankle joints # lean to the side using the ankle joints
[[(0, 1, 'AnkleRoll', -10), [[(0, 1, 'AnkleRoll', -11),
(1, 1, 'AnkleRoll', -10)], (1, 1, 'AnkleRoll', -11)],
1], 1],
# lift the foot using the knee joint and the ankle joint # lift the foot using the knee joint and the ankle joint