+{"_default": {"2": {"stock": true, "default": true, "uiLang": null, "defaultView": null, "exec": {"camera": true, "log": true}, "name": "default", "drawerEnabled": true, "showName": true, "buttons": [{"action": "clearProgramDlg", "icon": "clear", "label": "message.activity_program_clear", "type": "text"}, {"action": "saveProgram", "icon": "save", "label": "message.activity_program_save", "type": "text"}, {"action": "toggleSaveAs", "icon": "edit", "label": "message.activity_program_save_as", "type": "text"}, {"action": "loadProgramList", "icon": "folder_open", "label": "message.activity_program_load", "type": "text"}, {"action": "runProgram", "icon": "play_arrow", "label": "message.activity_program_run", "type": "text"}, {"action": "getProgramCode", "icon": "code", "label": "message.activity_program_show_code", "type": "text"}, {"action": "exportProgram", "icon": "fa-file-export", "label": "message.activity_program_export", "type": "text"}, {"action": "pickFile", "icon": "fa-file-import", "label": "message.activity_program_import", "type": "text"}], "description": "", "fontSize": "Medio", "capsSwitch": true, "bodyFont": "Roboto", "codeFont": "ubuntumono", "maxBlocks": 0, "availableViews": [], "viewSource": null, "autoRecVideo": null, "toolbox": {"contents": [{"colour": "210", "contents": [{"kind": "block", "type": "controls_if"}, {"kind": "block", "type": "logic_compare"}, {"kind": "block", "type": "logic_operation"}, {"kind": "block", "type": "logic_negate"}, {"kind": "block", "type": "logic_boolean"}, {"kind": "block", "type": "logic_null"}, {"kind": "block", "type": "logic_ternary"}], "kind": "category", "name": "Logica"}, {"colour": "120", "contents": [{"kind": "block", "type": "controls_repeat_ext", "value": {"contents": {"field": {"#text": "10", "name": "NUM"}, "kind": "block", "type": "math_number"}, "name": "TIMES"}}, {"kind": "block", "type": "controls_whileUntil"}, {"kind": "block", "type": "controls_for", "value": [{"contents": {"field": {"#text": "1", "name": "NUM"}, "kind": "block", "type": "math_number"}, "name": "FROM"}, {"contents": {"field": {"#text": "10", "name": "NUM"}, "kind": "block", "type": "math_number"}, "name": "TO"}, {"contents": {"field": {"#text": "1", "name": "NUM"}, "kind": "block", "type": "math_number"}, "name": "BY"}]}, {"kind": "block", "type": "controls_forEach"}, {"kind": "block", "type": "controls_flow_statements"}], "kind": "category", "name": "Cicli"}, {"colour": "230", "contents": [{"kind": "block", "type": "math_number"}, {"kind": "block", "type": "math_arithmetic"}, {"kind": "block", "type": "math_single"}, {"kind": "block", "type": "math_trig"}, {"kind": "block", "type": "math_constant"}, {"kind": "block", "type": "math_number_property"}, {"kind": "block", "type": "math_change"}, {"kind": "block", "type": "math_round"}, {"kind": "block", "type": "math_on_list"}, {"kind": "block", "type": "math_modulo"}, {"kind": "block", "type": "math_constrain"}, {"kind": "block", "type": "math_random_int"}, {"kind": "block", "type": "math_random_float"}], "kind": "category", "name": "Matematica"}, {"colour": "160", "contents": [{"kind": "block", "type": "text_print"}, {"kind": "block", "type": "text"}, {"kind": "block", "type": "text_join"}, {"kind": "block", "type": "text_append"}, {"kind": "block", "type": "text_length"}, {"kind": "block", "type": "text_isEmpty"}, {"kind": "block", "type": "text_indexOf"}, {"kind": "block", "type": "text_charAt"}, {"kind": "block", "type": "text_getSubstring"}, {"kind": "block", "type": "text_changeCase"}, {"kind": "block", "type": "text_trim"}], "kind": "category", "name": "Testo"}, {"colour": "260", "contents": [{"kind": "block", "type": "lists_create_empty"}, {"kind": "block", "type": "lists_create_with"}, {"kind": "block", "type": "lists_repeat"}, {"kind": "block", "type": "lists_length"}, {"kind": "block", "type": "lists_isEmpty"}, {"kind": "block", "type": "lists_indexOf"}, {"kind": "block", "type": "lists_getIndex"}, {"kind": "block", "type": "lists_setIndex"}, {"kind": "block", "type": "lists_getSublist"}, {"kind": "block", "type": "hashmap_get_value"}, {"kind": "block", "type": "hashmap_get_keys"}], "kind": "category", "name": "Liste"}, {"colour": "330", "custom": "VARIABLE", "kind": "category", "name": "Variabili"}, {"colour": "290", "custom": "PROCEDURE", "kind": "category", "name": "Funzioni"}, {"colour": "15", "contents": [{"kind": "block", "type": "coderbot_event_generator", "value": {"contents": {"kind": "block", "type": "controls_if", "value": [{"contents": {"type": "logic_compare"}, "name": "IF0"}, {"contents": {"field": {"#text": "a_topic", "name": "event_topic"}, "kind": "block", "type": "coderbot_event_publisher", "value": {"contents": {"#text": "\n\t\t\t\t\t\t\t\t", "kind": "block", "type": "text"}, "name": "event_data"}}, "name": "DO0"}]}, "name": "generator_statements"}}, {"field": {"#text": "a_topic", "name": "event_topic"}, "kind": "block", "type": "coderbot_event_publisher", "value": {"contents": {"#text": "\n\t\t\t\t", "kind": "block", "type": "text"}, "name": "event_data"}}, {"field": {"#text": "a_topic", "name": "event_topic"}, "kind": "block", "type": "coderbot_event_listener", "value": {"contents": {"kind": "block", "type": "text_print", "value": {"contents": {"field": {"#text": "event_data", "name": "VAR"}, "kind": "block", "type": "variables_get"}, "name": "TEXT"}}, "name": "event_statements"}}, {"field": {"#text": "event_data", "name": "VAR"}, "kind": "block", "type": "variables_get"}], "kind": "category", "name": "Eventi"}, {"colour": "40", "contents": [{"kind": "block", "type": "coderbot_moveForward"}, {"kind": "block", "type": "coderbot_moveBackward"}, {"kind": "block", "type": "coderbot_turnLeft"}, {"kind": "block", "type": "coderbot_turnRight"}, {"kind": "block", "type": "coderbot_adv_stop"}], "kind": "category", "name": "Movimento"}, {"colour": "120", "contents": [{"kind": "block", "type": "coderbot_camera_photoTake"}, {"kind": "block", "type": "coderbot_camera_videoRec"}, {"kind": "block", "type": "coderbot_camera_videoStop"}], "kind": "category", "name": "Camera"}, {"colour": "250", "contents": [{"kind": "block", "type": "coderbot_cam_average"}, {"kind": "block", "type": "coderbot_adv_pathAhead"}, {"kind": "block", "type": "coderbot_adv_findLine"}, {"kind": "block", "type": "coderbot_adv_findSignal"}, {"kind": "block", "type": "coderbot_adv_findFace"}, {"kind": "block", "type": "coderbot_adv_findColor", "value": {"contents": {"#text": "\n\t\t\t\t", "kind": "block", "type": "colour_picker"}, "name": "COLOR"}}, {"kind": "block", "type": "coderbot_adv_findText", "value": {"contents": {"#text": "\n\t\t\t\t", "kind": "block", "type": "colour_picker"}, "name": "COLOR"}}, {"kind": "block", "type": "coderbot_adv_findQRCode"}, {"kind": "block", "type": "coderbot_adv_findARCode"}, {"kind": "block", "type": "coderbot_adv_cnn_classify"}, {"kind": "block", "type": "coderbot_adv_cnn_detect_objects"}], "kind": "category", "name": "Visione"}, {"colour": "240", "contents": [{"kind": "block", "type": "coderbot_sonar_get_distance"}, {"kind": "block", "type": "coderbot_mpu_get_gyro"}, {"kind": "block", "type": "coderbot_mpu_get_accel"}, {"kind": "block", "type": "coderbot_mpu_get_heading"}, {"kind": "block", "type": "coderbot_mpu_get_temp"}], "kind": "category", "name": "Sensori"}, {"colour": "220", "contents": [{"kind": "block", "type": "coderbot_audio_say"}, {"kind": "block", "type": "coderbot_audio_record"}, {"kind": "block", "type": "coderbot_audio_play"}, {"kind": "block", "type": "coderbot_audio_hear", "value": [{"contents": {"field": {"#text": "100", "name": "NUM"}, "kind": "block", "type": "math_number"}, "name": "LEVEL"}, {"contents": {"field": {"#text": "1.0", "name": "NUM"}, "kind": "block", "type": "math_number"}, "name": "ELAPSE"}]}, {"kind": "block", "type": "coderbot_audio_listen"}], "kind": "category", "name": "Suoni"}, {"colour": "240", "contents": [{"kind": "block", "type": "coderbot_atmega_get_input"}, {"kind": "block", "type": "coderbot_atmega_set_output"}, {"kind": "block", "type": "coderbot_atmega_set_led"}], "kind": "category", "name": "Estensioni I/O"}, {"colour": "345", "contents": [{"kind": "block", "type": "coderbot_music_note_adv"}, {"kind": "block", "type": "coderbot_music_instrument_adv"}, {"kind": "block", "type": "coderbot_music_animal_adv"}, {"kind": "block", "type": "coderbot_music_pause_adv"}], "kind": "category", "name": "Music"}], "kind": "categoryToolbox"}}, "3": {"stock": null, "default": null, "uiLang": null, "defaultView": "blocks", "exec": {"camera": true, "log": true}, "name": "Base", "drawerEnabled": true, "showName": true, "buttons": [{"action": "clearProgramDlg", "icon": "clear", "label": "message.activity_program_clear", "type": "text"}, {"action": "saveProgram", "icon": "save", "label": "message.activity_program_save", "type": "text"}, {"action": "toggleSaveAs", "icon": "edit", "label": "message.activity_program_save_as", "type": "text"}, {"action": "loadProgramList", "icon": "folder_open", "label": "message.activity_program_load", "type": "text"}, {"action": "runProgram", "icon": "play_arrow", "label": "message.activity_program_run", "type": "text"}, {"action": "getProgramCode", "icon": "code", "label": "message.activity_program_show_code", "type": "text"}, {"action": "exportProgram", "icon": "fa-file-export", "label": "message.activity_program_export", "type": "text"}, {"action": "pickFile", "icon": "fa-file-import", "label": "message.activity_program_import", "type": "text"}], "description": "Base", "fontSize": "Medio", "capsSwitch": true, "bodyFont": "Roboto", "codeFont": "ubuntumono", "maxBlocks": 0, "availableViews": [], "viewSource": null, "autoRecVideo": null, "toolbox": {"kind": "flyoutToolbox", "contents": [{"kind": "block", "type": "coderbot_basic_moveForward", "enabled": true}, {"kind": "block", "type": "coderbot_basic_moveBackward", "enabled": true}, {"kind": "block", "type": "coderbot_basic_turnLeft", "enabled": true}, {"kind": "block", "type": "coderbot_basic_turnRight", "enabled": true}, {"kind": "block", "type": "coderbot_basic_repeat", "enabled": true}, {"kind": "block", "type": "coderbot_basic_audio_say", "enabled": true}, {"kind": "block", "type": "coderbot_basic_camera_photoTake", "enabled": true}]}}}}
0 commit comments