remove kick.py and motion_setter.py

This commit is contained in:
Jonas
2018-06-22 20:04:17 +02:00
parent ef5c38fad5
commit 129bd42af0
2 changed files with 0 additions and 40 deletions

View File

@@ -1,24 +0,0 @@
import argparse
from .utils import read_config
from .movements import NaoMover
if __name__ == "__main__":
parser = argparse.ArgumentParser(
epilog='When called without arguments specifying the video source, ' +
'will try to use the webcam'
)
parser.add_argument(
'-f', '--foot',
default='L',
choices=['R', 'L']
)
args = parser.parse_args()
cfg = read_config()
mover = NaoMover(cfg['ip'])
mover.stand_up()
mover.kick(foot=args.foot)
mover.rest()

View File

@@ -1,16 +0,0 @@
import argparse
from .movements import NaoMover
from .utils import read_config
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument('state', choices=('stand', 'rest'))
args = parser.parse_args()
cfg = read_config()
mover = NaoMover(cfg['ip'], cfg['port'])
if args.state == 'stand':
mover.stand_up()
elif args.state == 'rest':
mover.rest()