Esempio n. 1
0
    def __init__(self, *args, **kwargs):
        super(Ros3DdevControllerService, self).__init__(*args, **kwargs)

        self.logger.debug('loading controller configuration from %s',
                          self.options.config_file)
        self.config = ControllerConfigLoader(self.options.config_file)
        self.logger.debug('loading system configuration from %s',
                          self.options.system_config_file)
        self.system_config = SystemConfigLoader(self.options.system_config_file)

        self.controller = Controller()
        self.controller.set_snapshots_location(self.config.get_snapshots_location())