clearpathrobotics / clearpath_config

Clearpath Configuration YAML Parser
https://docs.clearpathrobotics.com/
BSD 3-Clause "New" or "Revised" License
9 stars 9 forks source link

Added Platform and Updated Parser #2

Closed luis-camero closed 1 year ago

luis-camero commented 1 year ago

System.py

Platform.py and Common.py

Parser.py

ClearpathConfig.py

roni-kreinin commented 1 year ago

Do you think its possible to have separate files for each platform?

luis-camero commented 1 year ago

I was thinking about creating a directory: platform under which we could have platform.py, pacs.py, decorations.py, and all of the robots in their respective folders, i.e. a200.py, j100.py etc. or husky.py, jackal.py, etc.

Where DecorationsConfig would still return the model config (e.g. A200DecorationsConfig depending on the model)