Closed luis-camero closed 1 year ago
Do you think its possible to have separate files for each platform?
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.
PlatformConfig
, DecorationsConfig
, PACSConfig
)BaseDecorationsConfig
, Bumper
, TopPlate
, etc.)FullRiser
, RowRiser
, and Brackets
)A200DecorationsConfig(DecorationsConfig)
and A200PACSConfig(PACSConfig)
) Where DecorationsConfig
would still return the model config (e.g. A200DecorationsConfig
depending on the model)
System.py
remote
hostsPlatform.py and Common.py
__new__
to avoid having to manually swap between platformsParser.py
__new__
mirroring Platform.py to generate a ClearpathConfig.pyClearpathConfig.py