zayfod / pycozmo

A pure-Python communication library, alternative SDK, and application for the Cozmo robot.
MIT License
178 stars 59 forks source link

Loading activity from json #28

Closed gimait closed 4 years ago

gimait commented 4 years ago

This is a first try on loading activity maps from JSON files.

I wanted to create the PR to ask for some feedback about the implementation, please let me know if I can do things in a nicer way.

Currently, no logic on the activities is done, only the mapping from JSON into different classes.

zayfod commented 4 years ago

Looks good. Merge as is?

gimait commented 4 years ago

Can be merged, yes, I'll move to another set of files.