@Override(Experiment.Experiment)
    @caller_check(ServerType.Laboratory)
    @logged('info')
    def do_start_experiment(self, client_initial_data, server_initial_data, *args, **kwargs):
        deserialized_client_request = json.loads(client_initial_data)
        exercise = deserialized_client_request.get('exercise', 'bcd')
        self.current_labels = self.exercises.get(exercise, ['Exercise', exercise, 'not found'])

        self._clear()

        initial_configuration = {}
        webcam = self._cfg_manager.get_value('webcam', None)
        if webcam is not None:
            initial_configuration['webcam']  = webcam
#        initial_configuration['mjpeg']       = 'https://cams.weblab.deusto.es/webcam/robot0/video.mjpeg'
#        initial_configuration['mjpegHeight'] = 240
#        initial_configuration['mjpegWidth']  = 320
        initial_configuration['labels']      = self.current_labels
        return json.dumps({ 'initial_configuration' : json.dumps(initial_configuration), 'batch' : False })
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/experiments/binary/server.py/BinaryExperiment.do_start_experiment/original