def __init__(self, simulator=[]):
        self.__dict__ = self._shared_state

        # If this is our first instance.
        if not hasattr(self, 'config') or self.config is None:

            self._check_environment()

            # Config
            self.config = self._check_config(load_config())

            # Simulator
            if 'all' in simulator:
                simulator = ['camera', 'mount', 'weather']
            self.config.setdefault('simulator', simulator)

            # Logger
            self.logger = get_root_logger()
            self.logger.info('*' * 80)
            self.logger.info('Initializing PANOPTES unit')

            self.name = self.config.get('name', 'Generic PANOPTES Unit')
            self.logger.info('Welcome {}!'.format(self.name))

        else:
            self.logger.info('Creating another instance of {}:'.format(self.name))
dataset/ETHPy150Open panoptes/POCS/panoptes/core.py/PanBase.__init__/original