diff --git a/pykick/imagereaders.py b/pykick/imagereaders.py index f907e89..d602d61 100644 --- a/pykick/imagereaders.py +++ b/pykick/imagereaders.py @@ -24,6 +24,7 @@ class NaoImageReader(object): self.fps = fps self.vd = ALProxy('ALVideoDevice', ip, port) streamer_name = '_'.join(['lower' if cam_id else 'upper', str(res)]) + print(streamer_name) self.sub = self.vd.subscribeCamera( streamer_name, cam_id, res, 13, fps ) diff --git a/pykick/movements.py b/pykick/movements.py index cdca026..9407ac0 100644 --- a/pykick/movements.py +++ b/pykick/movements.py @@ -37,7 +37,7 @@ class NaoMover(object): # lift the foot using the knee joint and the ankle joint [[(1, 0, 'KneePitch', 90), (1, 0, 'AnklePitch', -40)], - 0.7,], + 0.7], # kick-it! [[(1, 0, 'HipPitch', -45), @@ -48,7 +48,7 @@ class NaoMover(object): # prepare to return into standing position [[(1, 0, 'KneePitch', 40), (1, 0, 'AnklePitch', 10)], - 0.5,], + 0.5], ] diff --git a/pykick/nao_defaults.json b/pykick/nao_defaults.json index cd70528..a73bd64 100644 --- a/pykick/nao_defaults.json +++ b/pykick/nao_defaults.json @@ -23,7 +23,7 @@ 255 ] ], - "fps": 30, + "fps": 10, "res": 2, "ball_min_radius": 0.01, "field": [ @@ -41,4 +41,4 @@ "cam": 1, "ip": "192.168.0.11", "port": 9559 -} \ No newline at end of file +}