<commit_before>'use strict';

var OzobotState = {
	STATE_READY: 'ready',
	STATE_WAIT: 'wait',
	STATE_DONE: 'done',
};

Entry.Ozobot = {
	PORT_MAP: {
		seq: 0,
		cat: 0,
		act: 0,
		pcnt: 0,
		p1: 0,
		p2: 0,
		p3: 0,
		p4: 0,
		p5: 0,
		p6: 0
	},
	setZero: function () {
		var portMap = Entry.Ozobot.PORT_MAP;
		var sq = Entry.hw.sendQueue;
		Entry.Ozobot.sequance = 1;
		Entry.Ozobot.isStarted = false;
		Entry.Ozobot.state = OzobotState.STATE_DONE;
		for (var port in portMap) {
			sq[port] = portMap[port];
		}
		Entry.hw.update();
	},
	id: '24.2',
	name: '<NAME>',
	url: 'http://www.ozobot.kr',
	imageName: 'ozobot.png',
	title: {
		ko: '오조봇 이보',
		en: 'Ozobot Evo',
	},
	monitorTemplate: {
		imgPath: 'hw/ozobot.png',
		width: 605,
		height: 434,
	},
	sequance: 1,
	isStarted: false,
	state: OzobotState.STATE_DONE,
};
Entry.Ozobot.blockMenuBlocks = [
	//region ozobot
	'Ozobot_Sensor_floor_color',
	'Ozobot_Sensor_obstacle',
	'Ozobot_Move_wheel',
	'Ozobot_Move1',
	'Ozobot_Move2',
	'Ozobot_Rotate1',
	'Ozobot_Rotate2',
	'Ozobot_Move_stop',
	'Ozobot_LED_head',
	'Ozobot_LED_head_floor',
	'Ozobot_LED_head_random',
	'Ozobot_LED_head_off',
	'Ozobot_LED_front',
	'Ozobot_LED_front_random',
	'Ozobot_LED_front_off',
	'Ozobot_Sound_emotion',
	'Ozobot_Sound_direction',
	'Ozobot_Sound_number',
	'Ozobot_Sound_color',
	'Ozobot_Sound_tone',
	'Ozobot_Sound_tone_time',
	'Ozobot_Sound_stop',
	'Ozobot_Power_off',
	//end region ozobot
];
Entry.Ozobot.getBlocks = function () {
	return {
		// Sensor
		Ozobot_Sensor_floor_color: {
			color: EntryStatic.colorSet.block.default.HARDWARE,
			outerLine: EntryStatic.colorSet.block.darken.HARDWARE,
			skeleton: 'basic_boolean_field',
			template: '바닥 색깔 %1',
			params: [
				{
					type: 'Dropdown',
					options: [
						['검은색', 0x00],
						['빨간색', 0x01],
						['초록색', 0x02],
						['노란색', 0x03],
						['파란색', 0x04],
						['자주색', 0x05],
						['흰색', 0x06],
					],
					fontSize: 11,
					bgColor: EntryStatic.colorSet.block.darken.HARDWARE,
					arrowColor: EntryStatic.colorSet.arrow.default.HARDWARE,
				},
			],
			def: {
				params: [0],
				type: 'Ozobot_Sensor_floor_color',
			},<commit_msg>[FIX] cannot read white color of floor issue is fixed.<commit_after>'use strict';

var OzobotState = {
	STATE_READY: 'ready',
	STATE_WAIT: 'wait',
	STATE_DONE: 'done',
};

Entry.Ozobot = {
	PORT_MAP: {
		seq: 0,
		cat: 0,
		act: 0,
		pcnt: 0,
		p1: 0,
		p2: 0,
		p3: 0,
		p4: 0,
		p5: 0,
		p6: 0
	},
	setZero: function () {
		var portMap = Entry.Ozobot.PORT_MAP;
		var sq = Entry.hw.sendQueue;
		Entry.Ozobot.sequance = 1;
		Entry.Ozobot.isStarted = false;
		Entry.Ozobot.state = OzobotState.STATE_DONE;
		for (var port in portMap) {
			sq[port] = portMap[port];
		}
		Entry.hw.update();
	},
	id: '24.2',
	name: '<NAME>',
	url: 'http://www.ozobot.kr',
	imageName: 'ozobot.png',
	title: {
		ko: '오조봇 이보',
		en: 'Ozobot Evo',
	},
	monitorTemplate: {
		imgPath: 'hw/ozobot.png',
		width: 605,
		height: 434,
	},
	sequance: 1,
	isStarted: false,
	state: OzobotState.STATE_DONE,
};
Entry.Ozobot.blockMenuBlocks = [
	//region ozobot
	'Ozobot_Sensor_floor_color',
	'Ozobot_Sensor_obstacle',
	'Ozobot_Move_wheel',
	'Ozobot_Move1',
	'Ozobot_Move2',
	'Ozobot_Rotate1',
	'Ozobot_Rotate2',
	'Ozobot_Move_stop',
	'Ozobot_LED_head',
	'Ozobot_LED_head_floor',
	'Ozobot_LED_head_random',
	'Ozobot_LED_head_off',
	'Ozobot_LED_front',
	'Ozobot_LED_front_random',
	'Ozobot_LED_front_off',
	'Ozobot_Sound_emotion',
	'Ozobot_Sound_direction',
	'Ozobot_Sound_number',
	'Ozobot_Sound_color',
	'Ozobot_Sound_tone',
	'Ozobot_Sound_tone_time',
	'Ozobot_Sound_stop',
	'Ozobot_Power_off',
	//end region ozobot
];
Entry.Ozobot.getBlocks = function () {
	return {
		// Sensor
		Ozobot_Sensor_floor_color: {
			color: EntryStatic.colorSet.block.default.HARDWARE,
			outerLine: EntryStatic.colorSet.block.darken.HARDWARE,
			skeleton: 'basic_boolean_field',
			template: '바닥 색깔 %1',
			params: [
				{
					type: 'Dropdown',
					options: [
						['검은색', 0x00],
						['빨간색', 0x01],
						['초록색', 0x02],
						['노란색', 0x03],
						['파란색', 0x04],
						['자주색', 0x05],
						['청록색', 0x06],
						['흰색', 0x07],
					],
					fontSize: 11,
					bgColor: EntryStatic.colorSet.block.darken.HARDWARE,
					arrowColor: EntryStatic.colorSet.arrow.default.HARDWARE,
				},
			],
			def: {
				params: [0],
				type: 'Ozobot_Sensor_floor_color',
			},
{'fraction_non_alphanumeric': 0.16015625, 'fraction_numerical': 0.026424632352941176, 'mean_word_length': 3.6957928802588995, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '245648', 'n_tokens_mistral': 2372, 'n_tokens_neox': 2076, 'n_words': 322}