From now on use NaoMover from motion.py

Also use `read_config` from `utils.py`
This commit is contained in:
2018-06-03 16:08:39 +02:00
parent cb649daa15
commit 5bd50de06e
13 changed files with 229 additions and 644 deletions

7
scripts/utils.py Normal file
View File

@@ -0,0 +1,7 @@
import json
def read_config():
with open('nao_defaults.json') as f:
cfg = json.load(f)
return cfg