clearpath_config.platform.types.attachment module
- class clearpath_config.platform.types.attachment.BaseAttachment(name: str = 'generic.attachment', model: str = 'default', enabled: bool = True, parent: str = Ellipsis, xyz: List[float] = Ellipsis, rpy: List[float] = Ellipsis)
Bases:
Accessory
- ATTACHMENT_MODEL = 'generic.attachment'
- DEFAULT = 'default'
- ENABLED = True
- MODELS = ['default']
- PLATFORM = 'generic'
- from_dict(d: dict) None
- get_enabled() bool
- get_model() str
- set_enabled(enable: bool) None
- set_model(model: str) None
- to_dict() dict
- class clearpath_config.platform.types.attachment.PlatformAttachment(type: str)
Bases:
BaseAttachment
- PLATFORM = 'generic'
- TYPES = {}
- classmethod is_valid(type: str) bool