diff --git a/OpenRobertaServer/staticResources/blockly/blockly_compressed.js b/OpenRobertaServer/staticResources/blockly/blockly_compressed.js index b312399f5c..8a25cbe67d 100644 --- a/OpenRobertaServer/staticResources/blockly/blockly_compressed.js +++ b/OpenRobertaServer/staticResources/blockly/blockly_compressed.js @@ -1881,11 +1881,11 @@ Blockly.Msg.PROCEDURES_TITLE="\u00ab procedure";Blockly.Msg.PROCEDURES_VARIABLES Blockly.Msg.PROGLIST_SHARE_TOOLTIP="Click here to share your program with a friend.";Blockly.Msg.PROGLIST_SHARE_WITH_GALLERY="Do you really want to upload your program to the gallery and share it with all other users? Take a close look at the preview above. This is exactly what everyone else will see in the gallery. The two lines below the name of the program are a preview of the program documentation. By publishing your program in the gallery, other users are allowed to use, modify and share your program. You also agree to the conditions for publishing a program in the Open Roberta Gallery. If you are not sure, take another look here!"; Blockly.Msg.PROGLIST_SHARE_WITH_GALLERY_TOOLTIP="Click here to upload your program to the gallery hence share it with all other users.";Blockly.Msg.PROGRAM_ERROR_EXPRBLOCK_PARSE="This expression is syntactically incorrect.";Blockly.Msg.PROGRAM_ERROR_EXPRBLOCK_TYPECHECK="This expression is invalid. The type check failed.";Blockly.Msg.PROGRAM_IMPORT_ERROR_MISSING_ROBOT_TYPE="You have tried to import a program that is suitable for \u00bb$\u00ab, a group of robots/systems.
Please first select the desired robot/system here on the start page."; Blockly.Msg.PULSEHIGH="pulse time HIGH";Blockly.Msg.PULSELOW="pulse time LOW";Blockly.Msg.PULSETOOLTIP="Represents a pulse sensor.";Blockly.Msg.QUADRGB_TOOLTIP="Represent a Quad RGB sensor.";Blockly.Msg.RADIO_GET_RSSI_TOOLTIP="Gets the RSSI of the last package.";Blockly.Msg.REDO="Redo";Blockly.Msg.RELAY="relay";Blockly.Msg.RELAY_ARDUINO="relay SRD-05VDC-SL-C";Blockly.Msg.RELAY_TOOLTIP="Represents a relay.";Blockly.Msg.REMOVE_COMMENT="Remove Comment";Blockly.Msg.RENAME_VARIABLE="Rename variable..."; -Blockly.Msg.RENAME_VARIABLE_TITLE="Rename all '%1' variables to:";Blockly.Msg.RESEND_ACTIVATION="resend verification email";Blockly.Msg.RESET="reset";Blockly.Msg.RETURN="return";Blockly.Msg.RFID_TOOLTIP="Represents an RFID reader.";Blockly.Msg.RGBLED_OFF="turn RGB LED off";Blockly.Msg.RGBLED_ON="turn RGB LED on";Blockly.Msg.RGBLED_TOOLTIP="Represents an RGB LED.";Blockly.Msg.RGB_LED_OFF_TOOLTIP="Turns the RGB LED off.";Blockly.Msg.RGB_LED_ON_TOOLTIP="Turns the RGB LED on and changes the color."; -Blockly.Msg.RGB_LED_ON_TOOLTIP_CALLIOPE="Turns the RGB LED on and changes the color. Attention: calli:Bot only supports 7 different colors, the nearest will be chosen.";Blockly.Msg.RGB_LED_ON_TOOLTIP_EDISON="Turns the LED on.";Blockly.Msg.RGB_LED_TOOLTIP="Turns the RGB LED on and changes the color.";Blockly.Msg.RIGHT="right";Blockly.Msg.RIGHT_FRONT_RGBLED="RGB LED right front";Blockly.Msg.RIGHT_INFRARED_SENSOR="infraredsensor right";Blockly.Msg.RIGHT_LED="LED right";Blockly.Msg.RIGHT_MOTOR="motor right"; -Blockly.Msg.RIGHT_REAR_RGBLED="RGB LED right rear";Blockly.Msg.ROLL="roll";Blockly.Msg.ROTATIONS_PER_MINUTE="rpm";Blockly.Msg.ROUNDS_PER_MINUTE_SPEED="speed RPM";Blockly.Msg.SAY="say";Blockly.Msg.SAY_PARAMETERS_TOOLTIP="The robot says the given text. It is also possible to enter special charaters. The robot will use the selected language to try and speak the entered text. Modify the speed (range: 0-100) and the pitch of the voice (range: 0-100) with the input fields";Blockly.Msg.SAY_TOOLTIP="The robot says the given text. It is also possible to enter special charaters. The robot will use the selected language to try and speak the entered text."; -Blockly.Msg.SDCARD_TOOLTIP="Represents an SD card.";Blockly.Msg.SEND_DATA="data to send";Blockly.Msg.SEND_DATA_SENSEMAP="openSenseMap";Blockly.Msg.SEND_DATA_TO="send data to";Blockly.Msg.SEND_DATA_TO_OSM_TOOLTIP="This block is used to send data from sensors to the openSenseMap. Please configure the IDs in the configuration prior to the usage of this block.";Blockly.Msg.SENSEBOXBRICK_TOOLTIP="Represents the senseBox. Please configure here the id's from the openSenseMap, if you want to use them."; -Blockly.Msg.SENSOR_ACCELEROMETER="accelerometer";Blockly.Msg.SENSOR_ACCELEROMETER_GETSAMPLE_TOOLTIP="Returns the acceleration value on the given axis in g";Blockly.Msg.SENSOR_ACCELEROMETER_VALUE_GETSAMPLE_TOOLTIP_THYMIO="Returns the acceleration value on the given axis in the range from [-32, 32]";Blockly.Msg.SENSOR_ACCELEROMETER_X_GETSAMPLE_TOOLTIP_ARDUINO="Returns the acceleration value on the X axis in g. Can be in range from -4 g to 4 g."; +Blockly.Msg.RENAME_VARIABLE_TITLE="Rename all '%1' variables to:";Blockly.Msg.RESEND_ACTIVATION="resend verification email";Blockly.Msg.RESET="reset";Blockly.Msg.RETURN="return";Blockly.Msg.RFID_TOOLTIP="Represents an RFID reader.";Blockly.Msg.RGBLEDH_TOOLTIP="Represents an inbuilt RGB LED.";Blockly.Msg.RGBLED_OFF="turn RGB LED off";Blockly.Msg.RGBLED_ON="turn RGB LED on";Blockly.Msg.RGBLED_TOOLTIP="Represents an RGB LED.";Blockly.Msg.RGB_LED_OFF_TOOLTIP="Turns the RGB LED off."; +Blockly.Msg.RGB_LED_ON_TOOLTIP="Turns the RGB LED on and changes the color.";Blockly.Msg.RGB_LED_ON_TOOLTIP_CALLIOPE="Turns the RGB LED on and changes the color. Attention: calli:Bot only supports 7 different colors, the nearest will be chosen.";Blockly.Msg.RGB_LED_ON_TOOLTIP_EDISON="Turns the LED on.";Blockly.Msg.RGB_LED_TOOLTIP="Turns the RGB LED on and changes the color.";Blockly.Msg.RIGHT="right";Blockly.Msg.RIGHT_FRONT_RGBLED="RGB LED right front";Blockly.Msg.RIGHT_INFRARED_SENSOR="infraredsensor right"; +Blockly.Msg.RIGHT_LED="LED right";Blockly.Msg.RIGHT_MOTOR="motor right";Blockly.Msg.RIGHT_REAR_RGBLED="RGB LED right rear";Blockly.Msg.ROLL="roll";Blockly.Msg.ROTATIONS_PER_MINUTE="rpm";Blockly.Msg.ROUNDS_PER_MINUTE_SPEED="speed RPM";Blockly.Msg.SAY="say";Blockly.Msg.SAY_PARAMETERS_TOOLTIP="The robot says the given text. It is also possible to enter special charaters. The robot will use the selected language to try and speak the entered text. Modify the speed (range: 0-100) and the pitch of the voice (range: 0-100) with the input fields"; +Blockly.Msg.SAY_TOOLTIP="The robot says the given text. It is also possible to enter special charaters. The robot will use the selected language to try and speak the entered text.";Blockly.Msg.SDCARD_TOOLTIP="Represents an SD card.";Blockly.Msg.SEND_DATA="data to send";Blockly.Msg.SEND_DATA_SENSEMAP="openSenseMap";Blockly.Msg.SEND_DATA_TO="send data to";Blockly.Msg.SEND_DATA_TO_OSM_TOOLTIP="This block is used to send data from sensors to the openSenseMap. Please configure the IDs in the configuration prior to the usage of this block."; +Blockly.Msg.SENSEBOXBRICK_TOOLTIP="Represents the senseBox. Please configure here the id's from the openSenseMap, if you want to use them.";Blockly.Msg.SENSOR_ACCELEROMETER="accelerometer";Blockly.Msg.SENSOR_ACCELEROMETER_GETSAMPLE_TOOLTIP="Returns the acceleration value on the given axis in g";Blockly.Msg.SENSOR_ACCELEROMETER_VALUE_GETSAMPLE_TOOLTIP_THYMIO="Returns the acceleration value on the given axis in the range from [-32, 32]";Blockly.Msg.SENSOR_ACCELEROMETER_X_GETSAMPLE_TOOLTIP_ARDUINO="Returns the acceleration value on the X axis in g. Can be in range from -4 g to 4 g."; Blockly.Msg.SENSOR_ACCELEROMETER_X_GETSAMPLE_TOOLTIP_SENSEBOX="Returns the acceleration value on the X axis in g. Can be in range from -2 g to 2 g.";Blockly.Msg.SENSOR_ACCELEROMETER_Y_GETSAMPLE_TOOLTIP_ARDUINO="Returns the acceleration value on the Y axis in g. Can be in range from -4 g to 4 g.";Blockly.Msg.SENSOR_ACCELEROMETER_Y_GETSAMPLE_TOOLTIP_SENSEBOX="Returns the acceleration value on the Y axis in g. Can be in range from -2 g to 2 g."; Blockly.Msg.SENSOR_ACCELEROMETER_Z_GETSAMPLE_TOOLTIP_ARDUINO="Returns the acceleration value on the Z axis in g. Can be in range from -4 g to 4 g.";Blockly.Msg.SENSOR_ACCELEROMETER_Z_GETSAMPLE_TOOLTIP_SENSEBOX="Returns the acceleration value on the Z axis in g. Can be in range from -2 g to 2 g.";Blockly.Msg.SENSOR_AMBIENTLIGHT="ambientlight sensor";Blockly.Msg.SENSOR_ANALOGOUT="sensor analog";Blockly.Msg.SENSOR_ANY="anyplace";Blockly.Msg.SENSOR_APDS9960="APDS9960";Blockly.Msg.SENSOR_ARM_TOOLTIP="Returns true, if the selected part of the arm is touched, otherwise false."; Blockly.Msg.SENSOR_BALLDETECTOR="ball detector";Blockly.Msg.SENSOR_BATTERY="battery charge";Blockly.Msg.SENSOR_BOTTOM="bottom";Blockly.Msg.SENSOR_CALIBRATE="calibrate";Blockly.Msg.SENSOR_CAMERA="camera";Blockly.Msg.SENSOR_CAMERA_BALL_GETSAMPLE_TOOLTIP="Returns a list [x, y, diameter] representing information about a ball matching the color set in the configuration. If no ball is found, returns a list of [-1, -1, -1].";Blockly.Msg.SENSOR_CAMERA_COLOUR_GETSAMPLE_TOOLTIP="Returns the average color of the specified camera area (configuration)."; @@ -1981,11 +1981,11 @@ Blockly.Msg.PROCEDURES_DEFRETURN_DO=Blockly.Msg.PROCEDURES_DEFNORETURN_DO;Blockl Blockly.Msg.SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_QUADRGB_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_FACE_DOWN=Blockly.Msg.SENSOR_GESTURE_FACE_DOWN;Blockly.Msg.MODE_REDCHANNEL=Blockly.Msg.BRICKLIGHT_RED;Blockly.Msg.MOTOR_FRONT_LEFT=Blockly.Msg.FRONT_LEFT;Blockly.Msg.SENSOR_SOUND_MICROBITV2=Blockly.Msg.SENSOR_SOUND_CALLIOPE;Blockly.Msg.SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_COLOUR_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_SOUND_MBOT2=Blockly.Msg.SENSOR_SOUND_CALLIOPE;Blockly.Msg.SENSOR_COLOURTCS3472_LIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_PINTOUCH_PRESSED_GETSAMPLE_TOOLTIP=Blockly.Msg.PIN_ISTOUCHED_TOOLTIP;Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE=Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE;Blockly.Msg.SENSOR_GESTURE_RGB_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_RGB_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_HUMIDITY_TEMPERATURE_GETSAMPLE_TOOLTIP=Blockly.Msg.TEMPERATURE_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_IMU_MAGNETICFLUX_GETSAMPLE_TOOLTIP=Blockly.Msg.COMPASS_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP=Blockly.Msg.ENCODER_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_COMPASS_GETSAMPLE_TOOLTIP=Blockly.Msg.COMPASS_GETSAMPLE_TOOLTIP;Blockly.Msg.MATH_CHANGE_TITLE_ITEM=Blockly.Msg.VARIABLES_DEFAULT_NAME;Blockly.Msg.SENSOR_JOYSTICK_GETSAMPLE_TOOLTIP=Blockly.Msg.JOYSTICK_GETSAMPLE_TOOLTIP_MBOT2; -Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST=Blockly.Msg.LISTS_INLIST;Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM=Blockly.Msg.VARIABLES_DEFAULT_NAME;Blockly.Msg.SENSOR_HUMIDITY_HUMIDITY_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_HUMIDITY_GETSAMPLE_TOOLTIP;Blockly.Msg.CONTROLS_IF_MSG_THEN=Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;Blockly.Msg.ACTION_LCD_MBOT2=Blockly.Msg.TOOLBOX_DISPLAY;Blockly.Msg.MODE_FREEFALL=Blockly.Msg.SENSOR_GESTURE_FREEFALL;Blockly.Msg.ACTION_RGBLEDH=Blockly.Msg.ACTION_RGBLED; -Blockly.Msg.SENSOR_GYRO_GETSAMPLE_TOOLTIP=Blockly.Msg.GYRO_GETSAMPLE_TOOLTIP;Blockly.Msg.CONTROLS_FOR_INPUT_DO=Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;Blockly.Msg.SENSOR_HTCOLOUR_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_COLOUR_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_SOUND=Blockly.Msg.PLAY_SOUND;Blockly.Msg.ACTION_FOURDIGITDISPLAY=Blockly.Msg.FOURDIGITDISPLAY;Blockly.Msg.SENSOR_HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.RGBLEDHP_TOOLTIP=Blockly.Msg.RGBLEDH_TOOLTIP;Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST=Blockly.Msg.LISTS_INLIST;Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM=Blockly.Msg.VARIABLES_DEFAULT_NAME;Blockly.Msg.SENSOR_HUMIDITY_HUMIDITY_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_HUMIDITY_GETSAMPLE_TOOLTIP;Blockly.Msg.CONTROLS_IF_MSG_THEN=Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;Blockly.Msg.ACTION_LCD_MBOT2=Blockly.Msg.TOOLBOX_DISPLAY;Blockly.Msg.MODE_FREEFALL=Blockly.Msg.SENSOR_GESTURE_FREEFALL; +Blockly.Msg.ACTION_RGBLEDH=Blockly.Msg.ACTION_RGBLED;Blockly.Msg.SENSOR_GYRO_GETSAMPLE_TOOLTIP=Blockly.Msg.GYRO_GETSAMPLE_TOOLTIP;Blockly.Msg.CONTROLS_FOR_INPUT_DO=Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;Blockly.Msg.SENSOR_HTCOLOUR_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_COLOUR_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_SOUND=Blockly.Msg.PLAY_SOUND;Blockly.Msg.ACTION_FOURDIGITDISPLAY=Blockly.Msg.FOURDIGITDISPLAY;Blockly.Msg.SENSOR_HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP=Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP;Blockly.Msg.SENSOR_HTCOLOUR_RGB_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP;Blockly.Msg.TEXT_APPEND_VARIABLE=Blockly.Msg.VARIABLES_DEFAULT_NAME;Blockly.Msg.SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_RGB_GETSAMPLE_TOOLTIP;Blockly.Msg.PROCEDURES_DEFRETURN_TITLE=Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE;Blockly.Msg.ACTION_LEDBAR=Blockly.Msg.LEDBAR;Blockly.Msg.KEY_GETSAMPLE_TOOLTIP=Blockly.Msg.KEY_ISPRESSED_TOOLTIP; Blockly.Msg.SENSOR_COLOURTCS3472_RGB_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_RGB_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_SOUND_JOYCAR=Blockly.Msg.SENSOR_SOUND_MICROBITV2;Blockly.Msg.MODE_BLUECHANNEL=Blockly.Msg.BRICKLIGHT_BLUE;Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE=Blockly.Msg.CONTROLS_IF_MSG_ELSE;Blockly.Msg.SENSOR_COLOUR_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_GREENCHANNEL=Blockly.Msg.BRICKLIGHT_GREEN;Blockly.Msg.SENSOR_SOUND_GETSAMPLE_TOOLTIP_CALLIOPE=Blockly.Msg.MICROPHONE_GETSAMPLE_TOOLTIP; -Blockly.Msg.MODE_UP=Blockly.Msg.SENSOR_GESTURE_UP;Blockly.Msg.MODE_DOWN=Blockly.Msg.SENSOR_GESTURE_DOWN;Blockly.Msg.SENSOR_LIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.LIGHT_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_LEFT=Blockly.Msg.LEFT;Blockly.Msg.CONTROLS_FOREACH_INPUT_DO=Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;Blockly.Msg.HTCOLOUR_RGB_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_RGB_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_TOUCH_GETSAMPLE_TOOLTIP=Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP; +Blockly.Msg.MODE_UP=Blockly.Msg.SENSOR_GESTURE_UP;Blockly.Msg.MODE_DOWN=Blockly.Msg.SENSOR_GESTURE_DOWN;Blockly.Msg.ACTION_RGBLEDHP=Blockly.Msg.ACTION_RGBLEDH;Blockly.Msg.SENSOR_LIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.LIGHT_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_LEFT=Blockly.Msg.LEFT;Blockly.Msg.CONTROLS_FOREACH_INPUT_DO=Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;Blockly.Msg.HTCOLOUR_RGB_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_RGB_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_TOUCH_GETSAMPLE_TOOLTIP=Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_KEYC_GETSAMPLE_TOOLTIP=Blockly.Msg.KEY_GETSAMPLE_TOOLTIP;Blockly.Msg.MOTOR_FRONT_RIGHT=Blockly.Msg.FRONT_RIGHT;Blockly.Msg.SENSOR_INFRARED_DISTANCE_GETSAMPLE_TOOLTIP=Blockly.Msg.INFRARED_DISTANCE_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_KEY_GETSAMPLE_TOOLTIP=Blockly.Msg.KEY_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_TEMPERATURE_GETSAMPLE_TOOLTIP=Blockly.Msg.TEMPERATURE_GETSAMPLE_TOOLTIP;Blockly.Names=function(a,b){this.variablePrefix_=b||"";this.reservedDict_=Object.create(null);if(a)for(a=a.split(","),b=0;b", - "lastupdated": "2024-06-26 08:32:49.529183", + "lastupdated": "2024-06-27 14:00:31.206144", "locale": "en", "messagedocumentation" : "qqq" }, @@ -1609,6 +1609,7 @@ "PLAY_TOOLTIP": "Represents a buzzer.", "RELAY_TOOLTIP": "Represents a relay.", "RGBLED_TOOLTIP": "Represents an RGB LED.", + "RGBLEDH_TOOLTIP": "Represents an inbuilt RGB LED.", "LED_TOOLTIP": "Represents an LED.", "MOTOR_TOOLTIP": "Represents a motor.", "STEPMOTOR_TOOLTIP": "Represents a step motor.", diff --git a/OpenRobertaServer/staticResources/blockly/msg/json/qqq.json b/OpenRobertaServer/staticResources/blockly/msg/json/qqq.json index 03b3db3fc7..98d8592d51 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/json/qqq.json +++ b/OpenRobertaServer/staticResources/blockly/msg/json/qqq.json @@ -1603,6 +1603,7 @@ "PLAY_TOOLTIP": "", "RELAY_TOOLTIP": "", "RGBLED_TOOLTIP": "", + "RGBLEDH_TOOLTIP": "", "LED_TOOLTIP": "", "MOTOR_TOOLTIP": "", "STEPMOTOR_TOOLTIP": "", diff --git a/OpenRobertaServer/staticResources/blockly/msg/json/synonyms.json b/OpenRobertaServer/staticResources/blockly/msg/json/synonyms.json index 9b048158af..5d73e1aa0f 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/json/synonyms.json +++ b/OpenRobertaServer/staticResources/blockly/msg/json/synonyms.json @@ -1 +1 @@ -{"LISTS_GET_SUBLIST_INPUT_IN_LIST": "LISTS_INLIST", "SENSOR_INFRARED_GETSAMPLE_TOOLTIP": "INFRARED_GETSAMPLE_TOOLTIP", "SENSOR_TOUCHKEY_GETSAMPLE_TOOLTIP": "KEY_GETSAMPLE_TOOLTIP", "MODE_FACE_UP": "SENSOR_GESTURE_FACE_UP", "SENSOR_MOTOR_SPIKE": "SENSOR_ENCODER", "SENSOR_IMU_ACCELERATION_GETSAMPLE_TOOLTIP": "SENSOR_ACCELEROMETER_GETSAMPLE_TOOLTIP", "HTCOLOUR_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "BRICKLIGHT_ON": "ON", "SENSOR_BATTERY_GETSAMPLE_TOOLTIP": "BATTERY_GETSAMPLE_TOOLTIP", "MODE_FRONT": "SENSOR_GESTURE_FACE_DOWN", "ORA_ROBOT_PUSH_RUN": "MESSAGE_EDIT_START", "PROCEDURES_DEFRETURN_COMMENT": "PROCEDURES_DEFNORETURN_COMMENT", "MODE_SHAKE": "SENSOR_GESTURE_SHAKE", "SENSOR_TEMPERATURE_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "MODE_BACK": "SENSOR_GESTURE_FACE_UP", "LISTS_GET_INDEX_INPUT_IN_LIST": "LISTS_INLIST", "HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_SOUND_GETSAMPLE_TOOLTIP": "SOUND_GETSAMPLE_TOOLTIP", "CONTROLS_IF_ELSEIF_TITLE_ELSEIF": "CONTROLS_IF_MSG_ELSEIF", "SENSOR_INFRARED_PRESENCE_GETSAMPLE_TOOLTIP": "INFRARED_PRESENCE_GETSAMPLE_TOOLTIP", "CONTROLS_IF_IF_TITLE_IF": "CONTROLS_IF_MSG_IF", "CONTROLS_WHILEUNTIL_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_FLAME_GETSAMPLE_TOOLTIP": "FLAME_GETSAMPLE_TOOLTIP", "SENSOR_COLOURTCS3472_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_IMU_GYRO_GETSAMPLE_TOOLTIP": "GYRO_GETSAMPLE_TOOLTIP", "SENSOR_GESTURE_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_ULTRASONIC_GETSAMPLE_TOOLTIP": "ULTRASONIC_GETSAMPLE_TOOLTIP", "LISTS_CREATE_WITH_ITEM_TITLE": "VARIABLES_DEFAULT_NAME", "SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_LINE_GETSAMPLE_TOOLTIP": "INFRARED_GETSAMPLE_TOOLTIP", "PROCEDURES_DEFRETURN_DO": "PROCEDURES_DEFNORETURN_DO", "LISTS_GET_INDEX_HELPURL": "LISTS_INDEX_OF_HELPURL", "SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_SOUND_THYMIO": "SENSOR_SOUND_CALLIOPE", "SENSOR_TIMER_GETSAMPLE_TOOLTIP": "TIMER_GETSAMPLE_TOOLTIP", "LISTS_INDEX_OF_INPUT_IN_LIST": "LISTS_INLIST", "MODE_RIGHT": "RIGHT", "SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_QUADRGB_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_COMPASS_GETSAMPLE_TOOLTIP": "COMPASS_GETSAMPLE_TOOLTIP", "ACTION_LCD_MBOT2": "TOOLBOX_DISPLAY", "MOTOR_FRONT_LEFT": "FRONT_LEFT", "SENSOR_SOUND_MICROBITV2": "SENSOR_SOUND_CALLIOPE", "SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_TOUCH_GETSAMPLE_TOOLTIP": "TOUCH_GETSAMPLE_TOOLTIP", "MODE_LEFT": "LEFT", "SENSOR_COLOURTCS3472_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_PINTOUCH_PRESSED_GETSAMPLE_TOOLTIP": "PIN_ISTOUCHED_TOOLTIP", "PROCEDURES_DEFRETURN_PROCEDURE": "PROCEDURES_DEFNORETURN_PROCEDURE", "SENSOR_GESTURE_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_HUMIDITY_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "SENSOR_IMU_MAGNETICFLUX_GETSAMPLE_TOOLTIP": "COMPASS_GETSAMPLE_TOOLTIP", "SENSOR_HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_ENCODER_GETSAMPLE_TOOLTIP": "ENCODER_GETSAMPLE_TOOLTIP", "MODE_FACE_DOWN": "SENSOR_GESTURE_FACE_DOWN", "MATH_CHANGE_TITLE_ITEM": "VARIABLES_DEFAULT_NAME", "SENSOR_JOYSTICK_GETSAMPLE_TOOLTIP": "JOYSTICK_GETSAMPLE_TOOLTIP_MBOT2", "ACTION_LEDBAR": "LEDBAR", "TEXT_CREATE_JOIN_ITEM_TITLE_ITEM": "VARIABLES_DEFAULT_NAME", "SENSOR_HUMIDITY_HUMIDITY_GETSAMPLE_TOOLTIP": "SENSOR_HUMIDITY_GETSAMPLE_TOOLTIP", "CONTROLS_IF_MSG_THEN": "CONTROLS_REPEAT_INPUT_DO", "MODE_REDCHANNEL": "BRICKLIGHT_RED", "MODE_FREEFALL": "SENSOR_GESTURE_FREEFALL", "ACTION_RGBLEDH": "ACTION_RGBLED", "SENSOR_GYRO_GETSAMPLE_TOOLTIP": "GYRO_GETSAMPLE_TOOLTIP", "CONTROLS_FOR_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_HTCOLOUR_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_GETSAMPLE_TOOLTIP", "MODE_SOUND": "PLAY_SOUND", "ACTION_FOURDIGITDISPLAY": "FOURDIGITDISPLAY", "SENSOR_HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "TOUCH_GETSAMPLE_TOOLTIP": "TOUCH_ISPRESSED_TOOLTIP", "SENSOR_HTCOLOUR_RGB_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP", "TEXT_APPEND_VARIABLE": "VARIABLES_DEFAULT_NAME", "SENSOR_SOUND_MBOT2": "SENSOR_SOUND_CALLIOPE", "PROCEDURES_DEFRETURN_TITLE": "PROCEDURES_DEFNORETURN_TITLE", "LISTS_SET_INDEX_INPUT_IN_LIST": "LISTS_INLIST", "KEY_GETSAMPLE_TOOLTIP": "KEY_ISPRESSED_TOOLTIP", "SENSOR_COLOURTCS3472_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_SOUND_JOYCAR": "SENSOR_SOUND_MICROBITV2", "MODE_BLUECHANNEL": "BRICKLIGHT_BLUE", "CONTROLS_IF_ELSE_TITLE_ELSE": "CONTROLS_IF_MSG_ELSE", "SENSOR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "MODE_GREENCHANNEL": "BRICKLIGHT_GREEN", "SENSOR_SOUND_GETSAMPLE_TOOLTIP_CALLIOPE": "MICROPHONE_GETSAMPLE_TOOLTIP", "MODE_UP": "SENSOR_GESTURE_UP", "MODE_DOWN": "SENSOR_GESTURE_DOWN", "SENSOR_LIGHT_GETSAMPLE_TOOLTIP": "LIGHT_GETSAMPLE_TOOLTIP", "HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "CONTROLS_FOREACH_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "HTCOLOUR_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_KEYC_GETSAMPLE_TOOLTIP": "KEY_GETSAMPLE_TOOLTIP", "MOTOR_FRONT_RIGHT": "FRONT_RIGHT", "SENSOR_INFRARED_DISTANCE_GETSAMPLE_TOOLTIP": "INFRARED_DISTANCE_GETSAMPLE_TOOLTIP", "SENSOR_KEY_GETSAMPLE_TOOLTIP": "KEY_GETSAMPLE_TOOLTIP", "SENSOR_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP"} \ No newline at end of file +{"LISTS_GET_SUBLIST_INPUT_IN_LIST": "LISTS_INLIST", "SENSOR_INFRARED_GETSAMPLE_TOOLTIP": "INFRARED_GETSAMPLE_TOOLTIP", "SENSOR_TOUCHKEY_GETSAMPLE_TOOLTIP": "KEY_GETSAMPLE_TOOLTIP", "MODE_FACE_UP": "SENSOR_GESTURE_FACE_UP", "SENSOR_MOTOR_SPIKE": "SENSOR_ENCODER", "SENSOR_IMU_ACCELERATION_GETSAMPLE_TOOLTIP": "SENSOR_ACCELEROMETER_GETSAMPLE_TOOLTIP", "HTCOLOUR_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "BRICKLIGHT_ON": "ON", "SENSOR_BATTERY_GETSAMPLE_TOOLTIP": "BATTERY_GETSAMPLE_TOOLTIP", "MODE_FRONT": "SENSOR_GESTURE_FACE_DOWN", "ORA_ROBOT_PUSH_RUN": "MESSAGE_EDIT_START", "PROCEDURES_DEFRETURN_COMMENT": "PROCEDURES_DEFNORETURN_COMMENT", "MODE_SHAKE": "SENSOR_GESTURE_SHAKE", "SENSOR_TEMPERATURE_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "MODE_BACK": "SENSOR_GESTURE_FACE_UP", "LISTS_GET_INDEX_INPUT_IN_LIST": "LISTS_INLIST", "HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_SOUND_GETSAMPLE_TOOLTIP": "SOUND_GETSAMPLE_TOOLTIP", "CONTROLS_IF_ELSEIF_TITLE_ELSEIF": "CONTROLS_IF_MSG_ELSEIF", "SENSOR_INFRARED_PRESENCE_GETSAMPLE_TOOLTIP": "INFRARED_PRESENCE_GETSAMPLE_TOOLTIP", "CONTROLS_IF_IF_TITLE_IF": "CONTROLS_IF_MSG_IF", "CONTROLS_WHILEUNTIL_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_FLAME_GETSAMPLE_TOOLTIP": "FLAME_GETSAMPLE_TOOLTIP", "SENSOR_COLOURTCS3472_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_IMU_GYRO_GETSAMPLE_TOOLTIP": "GYRO_GETSAMPLE_TOOLTIP", "SENSOR_GESTURE_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_ULTRASONIC_GETSAMPLE_TOOLTIP": "ULTRASONIC_GETSAMPLE_TOOLTIP", "LISTS_CREATE_WITH_ITEM_TITLE": "VARIABLES_DEFAULT_NAME", "SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_LINE_GETSAMPLE_TOOLTIP": "INFRARED_GETSAMPLE_TOOLTIP", "PROCEDURES_DEFRETURN_DO": "PROCEDURES_DEFNORETURN_DO", "LISTS_GET_INDEX_HELPURL": "LISTS_INDEX_OF_HELPURL", "SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_SOUND_THYMIO": "SENSOR_SOUND_CALLIOPE", "SENSOR_TIMER_GETSAMPLE_TOOLTIP": "TIMER_GETSAMPLE_TOOLTIP", "LISTS_INDEX_OF_INPUT_IN_LIST": "LISTS_INLIST", "MODE_RIGHT": "RIGHT", "SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_QUADRGB_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_COMPASS_GETSAMPLE_TOOLTIP": "COMPASS_GETSAMPLE_TOOLTIP", "ACTION_LCD_MBOT2": "TOOLBOX_DISPLAY", "MOTOR_FRONT_LEFT": "FRONT_LEFT", "SENSOR_SOUND_MICROBITV2": "SENSOR_SOUND_CALLIOPE", "SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_TOUCH_GETSAMPLE_TOOLTIP": "TOUCH_GETSAMPLE_TOOLTIP", "MODE_LEFT": "LEFT", "SENSOR_COLOURTCS3472_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_PINTOUCH_PRESSED_GETSAMPLE_TOOLTIP": "PIN_ISTOUCHED_TOOLTIP", "PROCEDURES_DEFRETURN_PROCEDURE": "PROCEDURES_DEFNORETURN_PROCEDURE", "SENSOR_GESTURE_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_HUMIDITY_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "SENSOR_IMU_MAGNETICFLUX_GETSAMPLE_TOOLTIP": "COMPASS_GETSAMPLE_TOOLTIP", "SENSOR_HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_ENCODER_GETSAMPLE_TOOLTIP": "ENCODER_GETSAMPLE_TOOLTIP", "MODE_FACE_DOWN": "SENSOR_GESTURE_FACE_DOWN", "MATH_CHANGE_TITLE_ITEM": "VARIABLES_DEFAULT_NAME", "SENSOR_JOYSTICK_GETSAMPLE_TOOLTIP": "JOYSTICK_GETSAMPLE_TOOLTIP_MBOT2", "RGBLEDHP_TOOLTIP": "RGBLEDH_TOOLTIP", "ACTION_LEDBAR": "LEDBAR", "TEXT_CREATE_JOIN_ITEM_TITLE_ITEM": "VARIABLES_DEFAULT_NAME", "SENSOR_HUMIDITY_HUMIDITY_GETSAMPLE_TOOLTIP": "SENSOR_HUMIDITY_GETSAMPLE_TOOLTIP", "CONTROLS_IF_MSG_THEN": "CONTROLS_REPEAT_INPUT_DO", "MODE_REDCHANNEL": "BRICKLIGHT_RED", "MODE_FREEFALL": "SENSOR_GESTURE_FREEFALL", "ACTION_RGBLEDH": "ACTION_RGBLED", "SENSOR_GYRO_GETSAMPLE_TOOLTIP": "GYRO_GETSAMPLE_TOOLTIP", "CONTROLS_FOR_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_HTCOLOUR_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_GETSAMPLE_TOOLTIP", "MODE_SOUND": "PLAY_SOUND", "ACTION_FOURDIGITDISPLAY": "FOURDIGITDISPLAY", "SENSOR_HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "TOUCH_GETSAMPLE_TOOLTIP": "TOUCH_ISPRESSED_TOOLTIP", "SENSOR_HTCOLOUR_RGB_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP", "TEXT_APPEND_VARIABLE": "VARIABLES_DEFAULT_NAME", "SENSOR_SOUND_MBOT2": "SENSOR_SOUND_CALLIOPE", "PROCEDURES_DEFRETURN_TITLE": "PROCEDURES_DEFNORETURN_TITLE", "LISTS_SET_INDEX_INPUT_IN_LIST": "LISTS_INLIST", "KEY_GETSAMPLE_TOOLTIP": "KEY_ISPRESSED_TOOLTIP", "SENSOR_COLOURTCS3472_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_SOUND_JOYCAR": "SENSOR_SOUND_MICROBITV2", "MODE_BLUECHANNEL": "BRICKLIGHT_BLUE", "CONTROLS_IF_ELSE_TITLE_ELSE": "CONTROLS_IF_MSG_ELSE", "SENSOR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "MODE_GREENCHANNEL": "BRICKLIGHT_GREEN", "SENSOR_SOUND_GETSAMPLE_TOOLTIP_CALLIOPE": "MICROPHONE_GETSAMPLE_TOOLTIP", "MODE_UP": "SENSOR_GESTURE_UP", "MODE_DOWN": "SENSOR_GESTURE_DOWN", "ACTION_RGBLEDHP": "ACTION_RGBLEDH", "SENSOR_LIGHT_GETSAMPLE_TOOLTIP": "LIGHT_GETSAMPLE_TOOLTIP", "HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "CONTROLS_FOREACH_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "HTCOLOUR_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_KEYC_GETSAMPLE_TOOLTIP": "KEY_GETSAMPLE_TOOLTIP", "MOTOR_FRONT_RIGHT": "FRONT_RIGHT", "SENSOR_INFRARED_DISTANCE_GETSAMPLE_TOOLTIP": "INFRARED_DISTANCE_GETSAMPLE_TOOLTIP", "SENSOR_KEY_GETSAMPLE_TOOLTIP": "KEY_GETSAMPLE_TOOLTIP", "SENSOR_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP"} \ No newline at end of file diff --git a/OpenRobertaServer/staticResources/js/app/configVisualization/const.robots.js b/OpenRobertaServer/staticResources/js/app/configVisualization/const.robots.js index 8fcd178be6..f9b1374ddd 100644 --- a/OpenRobertaServer/staticResources/js/app/configVisualization/const.robots.js +++ b/OpenRobertaServer/staticResources/js/app/configVisualization/const.robots.js @@ -1,3 +1,3 @@ -define(["require","exports"],(function(o,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ROBOTS=void 0;var n={ports:[{name:"motor A",position:{x:153.8,y:210}},{name:"motor B",position:{x:145,y:209}},{name:"ultrasonic 1",position:{x:245.7,y:79.5}},{name:"callibot2",position:{x:73,y:79.5}},{name:"0",position:{x:16.5,y:139.2}},{name:"1",position:{x:88,y:262}},{name:"2",position:{x:229.5,y:262}},{name:"3",position:{x:301,y:139.2}},{name:"4",position:{x:73,y:79.5}},{name:"A0",position:{x:73,y:79.5}},{name:"5",position:{x:245.7,y:79.5}},{name:"A1",position:{x:245.7,y:79.5}},{name:"C04",position:{x:130.8,y:237}},{name:"C05",position:{x:130.8,y:227.3}},{name:"C06",position:{x:140.5,y:237}},{name:"C07",position:{x:140.5,y:227.3}},{name:"C08",position:{x:150,y:237}},{name:"C09",position:{x:150,y:227.3}},{name:"C10",position:{x:169.5,y:237}},{name:"C11",position:{x:169.5,y:227.3}},{name:"C12",position:{x:179,y:237}},{name:"C16",position:{x:198.5,y:237}},{name:"C17",position:{x:198.5,y:227.3}},{name:"C18",position:{x:208,y:237}},{name:"C19",position:{x:208,y:227.3}},{name:"3V",position:{x:88,y:16}},{name:"GND",position:{x:229.5,y:16}},{name:"A",position:{x:57.5,y:114.3}},{name:"B",position:{x:260.5,y:114.3}},{name:"buzzer",position:{x:253.7,y:155}},{name:"rgbledh",position:{x:159.5,y:172}},{name:"light",position:{x:158.5,y:102.7}},{name:"temperature",position:{x:116.5,y:178.5}},{name:"accelerometer",position:{x:86,y:130.3}},{name:"compass",position:{x:91.5,y:130.3}},{name:"gyro",position:{x:97,y:130.3}},{name:"sound",position:{x:214,y:90.2}}],width:"322px",height:"283px"};i.ROBOTS={arduino_mega:{ports:[{name:"LED_BUILTIN",position:{x:161.2,y:9.5}},{name:"SCL",position:{x:114.1,y:9.5}},{name:"SDA",position:{x:125.9,y:9.5}},{name:"AREF",position:{x:137.7,y:9.5}},{name:"GND",position:{x:149.4,y:9.5}},{name:"13",position:{x:161.2,y:9.5}},{name:"12",position:{x:173,y:9.5}},{name:"11",position:{x:184.7,y:9.5}},{name:"10",position:{x:196.5,y:9.5}},{name:"9",position:{x:208.3,y:9.5}},{name:"8",position:{x:220,y:9.5}},{name:"7",position:{x:238.9,y:9.5}},{name:"6",position:{x:250.7,y:9.5}},{name:"5",position:{x:262.4,y:9.5}},{name:"4",position:{x:274.2,y:9.5}},{name:"3",position:{x:286,y:9.5}},{name:"2",position:{x:297.7,y:9.5}},{name:"1",position:{x:309.5,y:9.5}},{name:"0",position:{x:321.3,y:9.5}},{name:"14",position:{x:344.8,y:9.5}},{name:"15",position:{x:356.6,y:9.5}},{name:"16",position:{x:368.3,y:9.5}},{name:"17",position:{x:380.1,y:9.5}},{name:"18",position:{x:391.8,y:9.5}},{name:"19",position:{x:403.6,y:9.5}},{name:"20",position:{x:415.4,y:9.5}},{name:"21",position:{x:427.2,y:9.5}},{name:"5V",position:{x:462.4,y:9.5}},{name:"5V",position:{x:474.2,y:9.5}},{name:"22",position:{x:462.4,y:21.3}},{name:"24",position:{x:462.4,y:33}},{name:"26",position:{x:462.4,y:44.8}},{name:"28",position:{x:462.4,y:56.6}},{name:"30",position:{x:462.4,y:68.3}},{name:"32",position:{x:462.4,y:80.1}},{name:"34",position:{x:462.4,y:91.9}},{name:"36",position:{x:462.4,y:103.6}},{name:"38",position:{x:462.4,y:115.4}},{name:"40",position:{x:462.4,y:127.2}},{name:"42",position:{x:462.4,y:138.9}},{name:"44",position:{x:462.4,y:150.7}},{name:"46",position:{x:462.4,y:167.5}},{name:"48",position:{x:462.4,y:174.2}},{name:"50",position:{x:462.4,y:186}},{name:"53",position:{x:462.4,y:197.8}},{name:"23",position:{x:474.2,y:21.3}},{name:"25",position:{x:474.2,y:33}},{name:"27",position:{x:474.2,y:44.8}},{name:"29",position:{x:474.2,y:56.6}},{name:"31",position:{x:474.2,y:68.3}},{name:"33",position:{x:474.2,y:80.1}},{name:"35",position:{x:474.2,y:91.9}},{name:"37",position:{x:474.2,y:103.6}},{name:"39",position:{x:474.2,y:115.4}},{name:"41",position:{x:474.2,y:127.2}},{name:"43",position:{x:474.2,y:138.9}},{name:"45",position:{x:474.2,y:150.7}},{name:"47",position:{x:474.2,y:167.5}},{name:"49",position:{x:474.2,y:174.2}},{name:"51",position:{x:474.2,y:186}},{name:"53",position:{x:474.2,y:197.8}},{name:"GND",position:{x:462.4,y:209.5}},{name:"GND",position:{x:474.2,y:209.5}},{name:"NOTUSER",position:{x:156.5,y:233}},{name:"IOREF",position:{x:168.3,y:233}},{name:"RESET",position:{x:180,y:233}},{name:"3,3V",position:{x:191.8,y:233}},{name:"5V",position:{x:203.6,y:233}},{name:"GND",position:{x:215.3,y:233}},{name:"GND",position:{x:227.1,y:233}},{name:"Vin",position:{x:238.9,y:233}},{name:"A0",position:{x:262.4,y:233}},{name:"A1",position:{x:274.2,y:233}},{name:"A2",position:{x:285.9,y:233}},{name:"A3",position:{x:297.7,y:233}},{name:"A4",position:{x:309.5,y:233}},{name:"A5",position:{x:321.2,y:233}},{name:"A6",position:{x:333,y:233}},{name:"A7",position:{x:344.8,y:233}},{name:"A8",position:{x:368.3,y:233}},{name:"A9",position:{x:380,y:233}},{name:"A10",position:{x:391.8,y:233}},{name:"A11",position:{x:403.6,y:233}},{name:"A12",position:{x:415.3,y:233}},{name:"A13",position:{x:427.1,y:233}},{name:"A14",position:{x:438.9,y:233}},{name:"A15",position:{x:450.6,y:233}}],width:"500px",height:"247px"},arduino_nano:{ports:[{name:"LED_BUILTIN",position:{x:28.9,y:91.4}},{name:"RESET",position:{x:200.3,y:5.6}},{name:"GND",position:{x:186.1,y:5.6}},{name:"0",position:{x:214.6,y:5.6}},{name:"1",position:{x:228.9,y:5.6}},{name:"2",position:{x:171.8,y:5.6}},{name:"3",position:{x:157.5,y:5.6}},{name:"4",position:{x:143.2,y:5.6}},{name:"5",position:{x:128.9,y:5.6}},{name:"6",position:{x:114.6,y:5.6}},{name:"7",position:{x:100.3,y:5.6}},{name:"8",position:{x:86.1,y:5.6}},{name:"9",position:{x:71.8,y:5.6}},{name:"10",position:{x:57.5,y:5.6}},{name:"11",position:{x:43.2,y:5.6}},{name:"12",position:{x:28.9,y:5.6}},{name:"VIN",position:{x:228.9,y:91.4}},{name:"GND",position:{x:214.6,y:91.4}},{name:"RESET",position:{x:200.3,y:91.4}},{name:"5V",position:{x:186.1,y:91.4}},{name:"A7",position:{x:171.8,y:91.4}},{name:"A6",position:{x:157.5,y:91.4}},{name:"A5",position:{x:143.2,y:91.4}},{name:"A4",position:{x:128.9,y:91.4}},{name:"A3",position:{x:114.6,y:91.4}},{name:"A2",position:{x:100.3,y:91.4}},{name:"A1",position:{x:86.1,y:91.4}},{name:"A0",position:{x:71.8,y:91.4}},{name:"REF",position:{x:57.5,y:91.4}},{name:"3V3",position:{x:43.2,y:91.4}},{name:"13",position:{x:28.9,y:91.4}}],width:"253px",height:"100px"},nano33ble:{ports:[{name:"LED_BUILTIN",position:{x:28.9,y:91.4}},{name:"RESET",position:{x:200.3,y:5.6}},{name:"GND",position:{x:186.1,y:5.6}},{name:"lsm9ds1",position:{x:85,y:40}},{name:"apds9960",position:{x:92,y:47}},{name:"lps22hb",position:{x:99,y:54}},{name:"hts221",position:{x:106,y:61}},{name:"TX1",position:{x:228.9,y:5.6}},{name:"RX0",position:{x:214.6,y:5.6}},{name:"0",position:{x:214.6,y:5.6}},{name:"1",position:{x:228.9,y:5.6}},{name:"2",position:{x:171.8,y:5.6}},{name:"3",position:{x:157.5,y:5.6}},{name:"4",position:{x:143.2,y:5.6}},{name:"5",position:{x:128.9,y:5.6}},{name:"6",position:{x:114.6,y:5.6}},{name:"7",position:{x:100.3,y:5.6}},{name:"8",position:{x:86.1,y:5.6}},{name:"9",position:{x:71.8,y:5.6}},{name:"10",position:{x:57.5,y:5.6}},{name:"11",position:{x:43.2,y:5.6}},{name:"12",position:{x:28.9,y:5.6}},{name:"VIN",position:{x:228.9,y:91.4}},{name:"GND",position:{x:214.6,y:91.4}},{name:"RESET",position:{x:200.3,y:91.4}},{name:"5V",position:{x:186.1,y:91.4}},{name:"A7",position:{x:171.8,y:91.4}},{name:"A6",position:{x:157.5,y:91.4}},{name:"A5",position:{x:143.2,y:91.4}},{name:"A4",position:{x:128.9,y:91.4}},{name:"A3",position:{x:114.6,y:91.4}},{name:"A2",position:{x:100.3,y:91.4}},{name:"A1",position:{x:86.1,y:91.4}},{name:"A0",position:{x:71.8,y:91.4}},{name:"REF",position:{x:57.5,y:91.4}},{name:"3V3",position:{x:43.2,y:91.4}},{name:"13",position:{x:28.9,y:91.4}}],width:"253px",height:"100px"},arduino_uno:{ports:[{name:"LED_BUILTIN",position:{x:131.5,y:7.8}},{name:"SCL",position:{x:93,y:7.8}},{name:"SDA",position:{x:102.6,y:7.8}},{name:"AREF",position:{x:112.2,y:7.8}},{name:"GND",position:{x:121.9,y:7.8}},{name:"13",position:{x:131.5,y:7.8}},{name:"12",position:{x:141.1,y:7.8}},{name:"11",position:{x:150.7,y:7.8}},{name:"10",position:{x:160.3,y:7.8}},{name:"9",position:{x:169.9,y:7.8}},{name:"8",position:{x:179.6,y:7.8}},{name:"7",position:{x:195,y:7.8}},{name:"6",position:{x:204.7,y:7.8}},{name:"5",position:{x:214.3,y:7.8}},{name:"4",position:{x:223.9,y:7.8}},{name:"3",position:{x:233.5,y:7.8}},{name:"2",position:{x:243.1,y:7.8}},{name:"1",position:{x:252.8,y:7.8}},{name:"0",position:{x:262.4,y:7.8}},{name:"NOTUSER",position:{x:127.7,y:190.5}},{name:"IOREF",position:{x:137.3,y:190.5}},{name:"RESET",position:{x:146.9,y:190.5}},{name:"3,3V",position:{x:156.6,y:190.5}},{name:"5V",position:{x:166.2,y:190.5}},{name:"GND",position:{x:175.8,y:190.5}},{name:"GND",position:{x:185.4,y:190.5}},{name:"Vin",position:{x:195,y:190.5}},{name:"A0",position:{x:214.3,y:190.5}},{name:"A1",position:{x:223.9,y:190.5}},{name:"A2",position:{x:233.5,y:190.5}},{name:"A3",position:{x:243.1,y:190.5}},{name:"A4",position:{x:252.8,y:190.5}},{name:"A5",position:{x:262.4,y:190.5}}],width:"283px",height:"202px"},arduino_unowifirev2:{ports:[{name:"SCL",position:{x:93,y:7.8}},{name:"SDA",position:{x:102.6,y:7.8}},{name:"AREF",position:{x:112.2,y:7.8}},{name:"GND",position:{x:121.9,y:7.8}},{name:"13",position:{x:131.5,y:7.8}},{name:"12",position:{x:141.1,y:7.8}},{name:"11",position:{x:150.7,y:7.8}},{name:"10",position:{x:160.3,y:7.8}},{name:"9",position:{x:169.9,y:7.8}},{name:"8",position:{x:179.6,y:7.8}},{name:"7",position:{x:195,y:7.8}},{name:"6",position:{x:204.7,y:7.8}},{name:"5",position:{x:214.3,y:7.8}},{name:"4",position:{x:223.9,y:7.8}},{name:"3",position:{x:233.5,y:7.8}},{name:"2",position:{x:243.1,y:7.8}},{name:"1",position:{x:252.8,y:7.8}},{name:"0",position:{x:262.4,y:7.8}},{name:"NOTUSER",position:{x:127.7,y:190.5}},{name:"IOREF",position:{x:137.3,y:190.5}},{name:"RESET",position:{x:146.9,y:190.5}},{name:"3,3V",position:{x:156.6,y:190.5}},{name:"5V",position:{x:166.2,y:190.5}},{name:"GND",position:{x:175.8,y:190.5}},{name:"GND",position:{x:185.4,y:190.5}},{name:"Vin",position:{x:195,y:190.5}},{name:"A0",position:{x:214.3,y:190.5}},{name:"A1",position:{x:223.9,y:190.5}},{name:"A2",position:{x:233.5,y:190.5}},{name:"A3",position:{x:243.1,y:190.5}},{name:"A4",position:{x:252.8,y:190.5}},{name:"A5",position:{x:262.4,y:190.5}}],width:"283px",height:"202px"},calliope_calliope2017:n,calliope_calliope2017NoBlue:n,calliope_calliope2016:n,calliope_calliopev3:{ports:[{name:"motor A",position:{x:235.5,y:244}},{name:"motor B",position:{x:235.5,y:233}},{name:"ultrasonic 1",position:{x:280,y:91}},{name:"callibot2",position:{x:82,y:91}},{name:"0",position:{x:17,y:159}},{name:"1",position:{x:99,y:301}},{name:"2",position:{x:262,y:301}},{name:"3",position:{x:343,y:159}},{name:"4",position:{x:82,y:91}},{name:"A0",position:{x:82,y:91}},{name:"5",position:{x:280,y:91}},{name:"A1",position:{x:280,y:91}},{name:"C04",position:{x:138,y:244}},{name:"C05",position:{x:138,y:233}},{name:"C06",position:{x:149.2,y:244}},{name:"C07",position:{x:149.2,y:233}},{name:"C08",position:{x:160.5,y:244}},{name:"C09",position:{x:160.5,y:233}},{name:"C10",position:{x:171.25,y:244}},{name:"C11",position:{x:171.25,y:233}},{name:"C12",position:{x:182,y:244}},{name:"C13",position:{x:182,y:233}},{name:"C14",position:{x:192.2,y:244}},{name:"C15",position:{x:192.2,y:233}},{name:"C16",position:{x:203.25,y:244}},{name:"C17",position:{x:203.25,y:233}},{name:"C18",position:{x:214,y:244}},{name:"C19",position:{x:214,y:233}},{name:"3V",position:{x:100,y:18}},{name:"GND",position:{x:262,y:18}},{name:"A",position:{x:63,y:135}},{name:"B",position:{x:298,y:135}},{name:"buzzer",position:{x:248,y:163}},{name:"rgbledh",position:{x:179,y:192}},{name:"rgbledh",position:{x:200,y:192}},{name:"rgbledh",position:{x:157,y:192}},{name:"light",position:{x:179,y:129}},{name:"temperature",position:{x:110,y:175}},{name:"accelerometer",position:{x:101,y:130.3}},{name:"compass",position:{x:106.5,y:130.3}},{name:"gyro",position:{x:113,y:130.3}},{name:"sound",position:{x:300,y:171}},{name:"logotouch",position:{x:78,y:60}}],width:"366px",height:"324px"},microbit:{ports:[{name:"0",position:{x:15,y:167}},{name:"1",position:{x:57.3,y:167}},{name:"2",position:{x:103.7,y:167}},{name:"3",position:{x:1.5,y:167}},{name:"4",position:{x:27.9,y:167}},{name:"5",position:{x:33.1,y:167}},{name:"6",position:{x:38.3,y:167}},{name:"7",position:{x:43.5,y:167}},{name:"8",position:{x:69.5,y:167}},{name:"9",position:{x:74.7,y:167}},{name:"10",position:{x:79.9,y:167}},{name:"11",position:{x:85.1,y:167}},{name:"12",position:{x:90.3,y:167}},{name:"13",position:{x:116.2,y:167}},{name:"14",position:{x:121.4,y:167}},{name:"15",position:{x:126.6,y:167}},{name:"16",position:{x:131.8,y:167}},{name:"19",position:{x:168,y:167}},{name:"20",position:{x:173.2,y:167}},{name:"3V",position:{x:150,y:167}},{name:"GND",position:{x:191.8,y:167}},{name:"A",position:{x:20.8,y:86.7}},{name:"B",position:{x:187.7,y:86.7}},{name:"light",position:{x:103.7,y:90}},{name:"temperature",position:{x:262,y:48.2}},{name:"accelerometer",position:{x:238.2,y:99.5}},{name:"compass",position:{x:238.2,y:104.7}}],width:"435px",height:"172px"},microbitv2:{ports:[{name:"0",position:{x:16,y:163}},{name:"1",position:{x:58.3,y:163}},{name:"2",position:{x:104,y:163}},{name:"3",position:{x:3,y:163}},{name:"4",position:{x:28.9,y:167}},{name:"5",position:{x:34.1,y:167}},{name:"6",position:{x:39.3,y:167}},{name:"7",position:{x:44.5,y:167}},{name:"8",position:{x:69.5,y:167}},{name:"9",position:{x:74.7,y:167}},{name:"10",position:{x:79.9,y:167}},{name:"11",position:{x:85.1,y:167}},{name:"12",position:{x:90.3,y:167}},{name:"13",position:{x:116.2,y:167}},{name:"14",position:{x:121.4,y:167}},{name:"15",position:{x:126.6,y:167}},{name:"16",position:{x:131.8,y:167}},{name:"19",position:{x:168,y:167}},{name:"20",position:{x:173.2,y:167}},{name:"3V",position:{x:150,y:163}},{name:"GND",position:{x:191.8,y:163}},{name:"A",position:{x:20.8,y:83.7}},{name:"B",position:{x:187.7,y:83.7}},{name:"light",position:{x:103.7,y:87}},{name:"temperature",position:{x:265,y:70.2}},{name:"accelerometer",position:{x:251.2,y:117.5}},{name:"compass",position:{x:251.2,y:122.7}},{name:"sound",position:{x:134,y:37}},{name:"buzzer",position:{x:323,y:87}},{name:"logotouch",position:{x:103.7,y:29}}],width:"435px",height:"172px"},sensebox:{ports:[{name:"1",position:{x:151,y:104}},{name:"2",position:{x:160,y:104}},{name:"3",position:{x:151,y:63}},{name:"4",position:{x:160,y:63}},{name:"5",position:{x:151,y:21}},{name:"6",position:{x:160,y:21}},{name:"7",position:{x:22,y:117}},{name:"8",position:{x:14,y:117}},{name:"XBEE1",position:{x:73,y:203}},{name:"XBEE2",position:{x:320,y:203}},{name:"I2C",position:{x:323,y:21}},{name:"I2C",position:{x:289,y:63}},{name:"I2C",position:{x:354,y:63}},{name:"I2C",position:{x:289,y:104}},{name:"I2C",position:{x:354,y:104}},{name:"Serial1",position:{x:220,y:105}},{name:"Serial2",position:{x:220,y:63}},{name:"GND",position:{x:133,y:104}},{name:"GND",position:{x:133,y:63}},{name:"GND",position:{x:133,y:21}},{name:"GND",position:{x:50,y:21}},{name:"5V",position:{x:141,y:104}},{name:"5V",position:{x:141,y:63}},{name:"5V",position:{x:141,y:21}},{name:"5V",position:{x:59,y:21}},{name:"accelerometer",position:{x:187,y:207}},{name:"sensebox",position:{x:187,y:207}}],width:"398px",height:"303px"},mbot2:{ports:[{name:"EM1",position:{x:140,y:340}},{name:"EM2",position:{x:185,y:340}},{name:"A",position:{x:212,y:262}},{name:"B",position:{x:212,y:306}},{name:"mbuild_port",position:{x:250,y:69}},{name:"S1",position:{x:7,y:110}},{name:"S2",position:{x:7,y:138}},{name:"S3",position:{x:250,y:138}},{name:"S4",position:{x:250,y:110}},{name:"M1",position:{x:60,y:340}},{name:"M2",position:{x:80,y:340}},{name:"joystick",position:{x:35,y:285}},{name:"buzzer",position:{x:235,y:340}},{name:"accelerometer",position:{x:108,y:238}},{name:"rgbled",position:{x:116,y:340}},{name:"light",position:{x:49,y:246}},{name:"sound",position:{x:66,y:246}},{name:"gyro",position:{x:158,y:238}},{name:"lcd",position:{x:128,y:288}}],width:"263px",height:"343px"},robotino:{ports:[{name:"DI1",position:{x:174.75,y:202.425}},{name:"DI2",position:{x:171.45,y:202.895}},{name:"DI3",position:{x:168.15,y:203.365}},{name:"DI4",position:{x:164.85,y:203.835}},{name:"DI5",position:{x:161.55,y:204.305}},{name:"DI6",position:{x:158.25,y:204.775}},{name:"DI7",position:{x:154.95,y:205.245}},{name:"DI8",position:{x:151.65,y:205.725}},{name:"AI1",position:{x:98.55,y:214.65}},{name:"AI2",position:{x:95.25,y:215.2}},{name:"AI3",position:{x:91.95,y:215.75}},{name:"AI4",position:{x:88.65,y:216.3}},{name:"AI5",position:{x:85.35,y:216.85}},{name:"AI6",position:{x:82.05,y:217.4}},{name:"AI7",position:{x:78.75,y:217.95}},{name:"AI8",position:{x:75.6,y:218.475}},{name:"M1",position:{x:129,y:146.625}},{name:"M2",position:{x:238.5,y:340.125}},{name:"M3",position:{x:349.5,y:146.625}},{name:"camera",position:{x:209.625,y:153.075}},{name:"odometry",position:{x:238.5,y:207.375}},{name:"infrared",position:{x:110.25,y:59.25}},{name:"touch",position:{x:372.825,y:59.25}}],width:"483.12px",height:"424.125px"},spike:{ports:[{name:"A",position:{x:0,y:105}},{name:"B",position:{x:210,y:105}},{name:"C",position:{x:0,y:168}},{name:"D",position:{x:210,y:168}},{name:"E",position:{x:0,y:229}},{name:"F",position:{x:210,y:229}},{name:"display",position:{x:105,y:168}},{name:"LEFT",position:{x:35,y:292}},{name:"RIGHT",position:{x:176,y:292}},{name:"buzzer",position:{x:105,y:340}},{name:"gyro",position:{x:130,y:70}},{name:"rgbled",position:{x:105,y:292}}],width:"217px",height:"342px"},joycar:{ports:[{name:"SERVO1",position:{x:141,y:204}},{name:"SERVO2",position:{x:154,y:204}},{name:"SPEED_L",position:{x:174,y:204}},{name:"SPEED_R",position:{x:187,y:204}},{name:"OBSTCL_L",position:{x:208,y:204}},{name:"OBSTCL_R",position:{x:221,y:204}},{name:"LINE_TRK_L",position:{x:240,y:204}},{name:"LINE_TRK_M",position:{x:253,y:204}},{name:"LINE_TRK_R",position:{x:266,y:204}},{name:"B0",position:{x:62,y:217}},{name:"B2",position:{x:74,y:217}},{name:"B4",position:{x:87,y:217}},{name:"B6",position:{x:100,y:217}},{name:"US",position:{x:121,y:217}},{name:"MOT_R",position:{x:28,y:58}},{name:"MOT_L",position:{x:385,y:58}},{name:"A",position:{x:74,y:58}},{name:"temperature",position:{x:111,y:58}},{name:"accelerometer",position:{x:149,y:58}},{name:"compass",position:{x:186,y:58}},{name:"sound",position:{x:224,y:58}},{name:"light",position:{x:262,y:58}},{name:"logotouch",position:{x:299,y:58}},{name:"B",position:{x:338,y:58}},{name:"buzzer",position:{x:28.5,y:125}}],width:"417px",height:"272px"},txt4:{ports:[{name:"EXT",position:{x:2,y:65}},{name:"I1",position:{x:22,y:77}},{name:"I2",position:{x:22,y:98}},{name:"I3",position:{x:22,y:119}},{name:"I4",position:{x:22,y:140}},{name:"I5",position:{x:22,y:162}},{name:"I6",position:{x:22,y:183}},{name:"I7",position:{x:22,y:204}},{name:"I8",position:{x:22,y:225}},{name:"M1",position:{x:228,y:77}},{name:"M2",position:{x:228,y:98}},{name:"M3",position:{x:228,y:119}},{name:"M4",position:{x:228,y:140}},{name:"C1",position:{x:228,y:162}},{name:"C2",position:{x:228,y:183}},{name:"C3",position:{x:228,y:204}},{name:"C4",position:{x:228,y:225}},{name:"USB1",position:{x:71,y:1}},{name:"USB2",position:{x:160,y:1}},{name:"9V",position:{x:64.5,y:225}},{name:"display",position:{x:126,y:118}}],width:"255px",height:"255px"}}})); +define(["require","exports"],(function(o,i){Object.defineProperty(i,"__esModule",{value:!0}),i.ROBOTS=void 0;var n={ports:[{name:"motor A",position:{x:153.8,y:210}},{name:"motor B",position:{x:145,y:209}},{name:"ultrasonic 1",position:{x:245.7,y:79.5}},{name:"callibot2",position:{x:73,y:79.5}},{name:"0",position:{x:16.5,y:139.2}},{name:"1",position:{x:88,y:262}},{name:"2",position:{x:229.5,y:262}},{name:"3",position:{x:301,y:139.2}},{name:"4",position:{x:73,y:79.5}},{name:"A0",position:{x:73,y:79.5}},{name:"5",position:{x:245.7,y:79.5}},{name:"A1",position:{x:245.7,y:79.5}},{name:"C04",position:{x:130.8,y:237}},{name:"C05",position:{x:130.8,y:227.3}},{name:"C06",position:{x:140.5,y:237}},{name:"C07",position:{x:140.5,y:227.3}},{name:"C08",position:{x:150,y:237}},{name:"C09",position:{x:150,y:227.3}},{name:"C10",position:{x:169.5,y:237}},{name:"C11",position:{x:169.5,y:227.3}},{name:"C12",position:{x:179,y:237}},{name:"C16",position:{x:198.5,y:237}},{name:"C17",position:{x:198.5,y:227.3}},{name:"C18",position:{x:208,y:237}},{name:"C19",position:{x:208,y:227.3}},{name:"3V",position:{x:88,y:16}},{name:"GND",position:{x:229.5,y:16}},{name:"A",position:{x:57.5,y:114.3}},{name:"B",position:{x:260.5,y:114.3}},{name:"buzzer",position:{x:253.7,y:155}},{name:"rgbledh",position:{x:159.5,y:172}},{name:"rgbledhp",position:{x:159.5,y:172}},{name:"light",position:{x:158.5,y:102.7}},{name:"temperature",position:{x:116.5,y:178.5}},{name:"accelerometer",position:{x:86,y:130.3}},{name:"compass",position:{x:91.5,y:130.3}},{name:"gyro",position:{x:97,y:130.3}},{name:"sound",position:{x:214,y:90.2}}],width:"322px",height:"283px"};i.ROBOTS={arduino_mega:{ports:[{name:"LED_BUILTIN",position:{x:161.2,y:9.5}},{name:"SCL",position:{x:114.1,y:9.5}},{name:"SDA",position:{x:125.9,y:9.5}},{name:"AREF",position:{x:137.7,y:9.5}},{name:"GND",position:{x:149.4,y:9.5}},{name:"13",position:{x:161.2,y:9.5}},{name:"12",position:{x:173,y:9.5}},{name:"11",position:{x:184.7,y:9.5}},{name:"10",position:{x:196.5,y:9.5}},{name:"9",position:{x:208.3,y:9.5}},{name:"8",position:{x:220,y:9.5}},{name:"7",position:{x:238.9,y:9.5}},{name:"6",position:{x:250.7,y:9.5}},{name:"5",position:{x:262.4,y:9.5}},{name:"4",position:{x:274.2,y:9.5}},{name:"3",position:{x:286,y:9.5}},{name:"2",position:{x:297.7,y:9.5}},{name:"1",position:{x:309.5,y:9.5}},{name:"0",position:{x:321.3,y:9.5}},{name:"14",position:{x:344.8,y:9.5}},{name:"15",position:{x:356.6,y:9.5}},{name:"16",position:{x:368.3,y:9.5}},{name:"17",position:{x:380.1,y:9.5}},{name:"18",position:{x:391.8,y:9.5}},{name:"19",position:{x:403.6,y:9.5}},{name:"20",position:{x:415.4,y:9.5}},{name:"21",position:{x:427.2,y:9.5}},{name:"5V",position:{x:462.4,y:9.5}},{name:"5V",position:{x:474.2,y:9.5}},{name:"22",position:{x:462.4,y:21.3}},{name:"24",position:{x:462.4,y:33}},{name:"26",position:{x:462.4,y:44.8}},{name:"28",position:{x:462.4,y:56.6}},{name:"30",position:{x:462.4,y:68.3}},{name:"32",position:{x:462.4,y:80.1}},{name:"34",position:{x:462.4,y:91.9}},{name:"36",position:{x:462.4,y:103.6}},{name:"38",position:{x:462.4,y:115.4}},{name:"40",position:{x:462.4,y:127.2}},{name:"42",position:{x:462.4,y:138.9}},{name:"44",position:{x:462.4,y:150.7}},{name:"46",position:{x:462.4,y:167.5}},{name:"48",position:{x:462.4,y:174.2}},{name:"50",position:{x:462.4,y:186}},{name:"53",position:{x:462.4,y:197.8}},{name:"23",position:{x:474.2,y:21.3}},{name:"25",position:{x:474.2,y:33}},{name:"27",position:{x:474.2,y:44.8}},{name:"29",position:{x:474.2,y:56.6}},{name:"31",position:{x:474.2,y:68.3}},{name:"33",position:{x:474.2,y:80.1}},{name:"35",position:{x:474.2,y:91.9}},{name:"37",position:{x:474.2,y:103.6}},{name:"39",position:{x:474.2,y:115.4}},{name:"41",position:{x:474.2,y:127.2}},{name:"43",position:{x:474.2,y:138.9}},{name:"45",position:{x:474.2,y:150.7}},{name:"47",position:{x:474.2,y:167.5}},{name:"49",position:{x:474.2,y:174.2}},{name:"51",position:{x:474.2,y:186}},{name:"53",position:{x:474.2,y:197.8}},{name:"GND",position:{x:462.4,y:209.5}},{name:"GND",position:{x:474.2,y:209.5}},{name:"NOTUSER",position:{x:156.5,y:233}},{name:"IOREF",position:{x:168.3,y:233}},{name:"RESET",position:{x:180,y:233}},{name:"3,3V",position:{x:191.8,y:233}},{name:"5V",position:{x:203.6,y:233}},{name:"GND",position:{x:215.3,y:233}},{name:"GND",position:{x:227.1,y:233}},{name:"Vin",position:{x:238.9,y:233}},{name:"A0",position:{x:262.4,y:233}},{name:"A1",position:{x:274.2,y:233}},{name:"A2",position:{x:285.9,y:233}},{name:"A3",position:{x:297.7,y:233}},{name:"A4",position:{x:309.5,y:233}},{name:"A5",position:{x:321.2,y:233}},{name:"A6",position:{x:333,y:233}},{name:"A7",position:{x:344.8,y:233}},{name:"A8",position:{x:368.3,y:233}},{name:"A9",position:{x:380,y:233}},{name:"A10",position:{x:391.8,y:233}},{name:"A11",position:{x:403.6,y:233}},{name:"A12",position:{x:415.3,y:233}},{name:"A13",position:{x:427.1,y:233}},{name:"A14",position:{x:438.9,y:233}},{name:"A15",position:{x:450.6,y:233}}],width:"500px",height:"247px"},arduino_nano:{ports:[{name:"LED_BUILTIN",position:{x:28.9,y:91.4}},{name:"RESET",position:{x:200.3,y:5.6}},{name:"GND",position:{x:186.1,y:5.6}},{name:"0",position:{x:214.6,y:5.6}},{name:"1",position:{x:228.9,y:5.6}},{name:"2",position:{x:171.8,y:5.6}},{name:"3",position:{x:157.5,y:5.6}},{name:"4",position:{x:143.2,y:5.6}},{name:"5",position:{x:128.9,y:5.6}},{name:"6",position:{x:114.6,y:5.6}},{name:"7",position:{x:100.3,y:5.6}},{name:"8",position:{x:86.1,y:5.6}},{name:"9",position:{x:71.8,y:5.6}},{name:"10",position:{x:57.5,y:5.6}},{name:"11",position:{x:43.2,y:5.6}},{name:"12",position:{x:28.9,y:5.6}},{name:"VIN",position:{x:228.9,y:91.4}},{name:"GND",position:{x:214.6,y:91.4}},{name:"RESET",position:{x:200.3,y:91.4}},{name:"5V",position:{x:186.1,y:91.4}},{name:"A7",position:{x:171.8,y:91.4}},{name:"A6",position:{x:157.5,y:91.4}},{name:"A5",position:{x:143.2,y:91.4}},{name:"A4",position:{x:128.9,y:91.4}},{name:"A3",position:{x:114.6,y:91.4}},{name:"A2",position:{x:100.3,y:91.4}},{name:"A1",position:{x:86.1,y:91.4}},{name:"A0",position:{x:71.8,y:91.4}},{name:"REF",position:{x:57.5,y:91.4}},{name:"3V3",position:{x:43.2,y:91.4}},{name:"13",position:{x:28.9,y:91.4}}],width:"253px",height:"100px"},nano33ble:{ports:[{name:"LED_BUILTIN",position:{x:28.9,y:91.4}},{name:"RESET",position:{x:200.3,y:5.6}},{name:"GND",position:{x:186.1,y:5.6}},{name:"lsm9ds1",position:{x:85,y:40}},{name:"apds9960",position:{x:92,y:47}},{name:"lps22hb",position:{x:99,y:54}},{name:"hts221",position:{x:106,y:61}},{name:"TX1",position:{x:228.9,y:5.6}},{name:"RX0",position:{x:214.6,y:5.6}},{name:"0",position:{x:214.6,y:5.6}},{name:"1",position:{x:228.9,y:5.6}},{name:"2",position:{x:171.8,y:5.6}},{name:"3",position:{x:157.5,y:5.6}},{name:"4",position:{x:143.2,y:5.6}},{name:"5",position:{x:128.9,y:5.6}},{name:"6",position:{x:114.6,y:5.6}},{name:"7",position:{x:100.3,y:5.6}},{name:"8",position:{x:86.1,y:5.6}},{name:"9",position:{x:71.8,y:5.6}},{name:"10",position:{x:57.5,y:5.6}},{name:"11",position:{x:43.2,y:5.6}},{name:"12",position:{x:28.9,y:5.6}},{name:"VIN",position:{x:228.9,y:91.4}},{name:"GND",position:{x:214.6,y:91.4}},{name:"RESET",position:{x:200.3,y:91.4}},{name:"5V",position:{x:186.1,y:91.4}},{name:"A7",position:{x:171.8,y:91.4}},{name:"A6",position:{x:157.5,y:91.4}},{name:"A5",position:{x:143.2,y:91.4}},{name:"A4",position:{x:128.9,y:91.4}},{name:"A3",position:{x:114.6,y:91.4}},{name:"A2",position:{x:100.3,y:91.4}},{name:"A1",position:{x:86.1,y:91.4}},{name:"A0",position:{x:71.8,y:91.4}},{name:"REF",position:{x:57.5,y:91.4}},{name:"3V3",position:{x:43.2,y:91.4}},{name:"13",position:{x:28.9,y:91.4}}],width:"253px",height:"100px"},arduino_uno:{ports:[{name:"LED_BUILTIN",position:{x:131.5,y:7.8}},{name:"SCL",position:{x:93,y:7.8}},{name:"SDA",position:{x:102.6,y:7.8}},{name:"AREF",position:{x:112.2,y:7.8}},{name:"GND",position:{x:121.9,y:7.8}},{name:"13",position:{x:131.5,y:7.8}},{name:"12",position:{x:141.1,y:7.8}},{name:"11",position:{x:150.7,y:7.8}},{name:"10",position:{x:160.3,y:7.8}},{name:"9",position:{x:169.9,y:7.8}},{name:"8",position:{x:179.6,y:7.8}},{name:"7",position:{x:195,y:7.8}},{name:"6",position:{x:204.7,y:7.8}},{name:"5",position:{x:214.3,y:7.8}},{name:"4",position:{x:223.9,y:7.8}},{name:"3",position:{x:233.5,y:7.8}},{name:"2",position:{x:243.1,y:7.8}},{name:"1",position:{x:252.8,y:7.8}},{name:"0",position:{x:262.4,y:7.8}},{name:"NOTUSER",position:{x:127.7,y:190.5}},{name:"IOREF",position:{x:137.3,y:190.5}},{name:"RESET",position:{x:146.9,y:190.5}},{name:"3,3V",position:{x:156.6,y:190.5}},{name:"5V",position:{x:166.2,y:190.5}},{name:"GND",position:{x:175.8,y:190.5}},{name:"GND",position:{x:185.4,y:190.5}},{name:"Vin",position:{x:195,y:190.5}},{name:"A0",position:{x:214.3,y:190.5}},{name:"A1",position:{x:223.9,y:190.5}},{name:"A2",position:{x:233.5,y:190.5}},{name:"A3",position:{x:243.1,y:190.5}},{name:"A4",position:{x:252.8,y:190.5}},{name:"A5",position:{x:262.4,y:190.5}}],width:"283px",height:"202px"},arduino_unowifirev2:{ports:[{name:"SCL",position:{x:93,y:7.8}},{name:"SDA",position:{x:102.6,y:7.8}},{name:"AREF",position:{x:112.2,y:7.8}},{name:"GND",position:{x:121.9,y:7.8}},{name:"13",position:{x:131.5,y:7.8}},{name:"12",position:{x:141.1,y:7.8}},{name:"11",position:{x:150.7,y:7.8}},{name:"10",position:{x:160.3,y:7.8}},{name:"9",position:{x:169.9,y:7.8}},{name:"8",position:{x:179.6,y:7.8}},{name:"7",position:{x:195,y:7.8}},{name:"6",position:{x:204.7,y:7.8}},{name:"5",position:{x:214.3,y:7.8}},{name:"4",position:{x:223.9,y:7.8}},{name:"3",position:{x:233.5,y:7.8}},{name:"2",position:{x:243.1,y:7.8}},{name:"1",position:{x:252.8,y:7.8}},{name:"0",position:{x:262.4,y:7.8}},{name:"NOTUSER",position:{x:127.7,y:190.5}},{name:"IOREF",position:{x:137.3,y:190.5}},{name:"RESET",position:{x:146.9,y:190.5}},{name:"3,3V",position:{x:156.6,y:190.5}},{name:"5V",position:{x:166.2,y:190.5}},{name:"GND",position:{x:175.8,y:190.5}},{name:"GND",position:{x:185.4,y:190.5}},{name:"Vin",position:{x:195,y:190.5}},{name:"A0",position:{x:214.3,y:190.5}},{name:"A1",position:{x:223.9,y:190.5}},{name:"A2",position:{x:233.5,y:190.5}},{name:"A3",position:{x:243.1,y:190.5}},{name:"A4",position:{x:252.8,y:190.5}},{name:"A5",position:{x:262.4,y:190.5}}],width:"283px",height:"202px"},calliope_calliope2017:n,calliope_calliope2017NoBlue:n,calliope_calliope2016:n,calliope_calliopev3:{ports:[{name:"motor A",position:{x:235.5,y:244}},{name:"motor B",position:{x:235.5,y:233}},{name:"ultrasonic 1",position:{x:280,y:91}},{name:"callibot2",position:{x:82,y:91}},{name:"0",position:{x:17,y:159}},{name:"1",position:{x:99,y:301}},{name:"2",position:{x:262,y:301}},{name:"3",position:{x:343,y:159}},{name:"4",position:{x:82,y:91}},{name:"A0",position:{x:82,y:91}},{name:"5",position:{x:280,y:91}},{name:"A1",position:{x:280,y:91}},{name:"C04",position:{x:138,y:244}},{name:"C05",position:{x:138,y:233}},{name:"C06",position:{x:149.2,y:244}},{name:"C07",position:{x:149.2,y:233}},{name:"C08",position:{x:160.5,y:244}},{name:"C09",position:{x:160.5,y:233}},{name:"C10",position:{x:171.25,y:244}},{name:"C11",position:{x:171.25,y:233}},{name:"C12",position:{x:182,y:244}},{name:"C13",position:{x:182,y:233}},{name:"C14",position:{x:192.2,y:244}},{name:"C15",position:{x:192.2,y:233}},{name:"C16",position:{x:203.25,y:244}},{name:"C17",position:{x:203.25,y:233}},{name:"C18",position:{x:214,y:244}},{name:"C19",position:{x:214,y:233}},{name:"3V",position:{x:100,y:18}},{name:"GND",position:{x:262,y:18}},{name:"A",position:{x:63,y:135}},{name:"B",position:{x:298,y:135}},{name:"buzzer",position:{x:248,y:163}},{name:"rgbledh",position:{x:179,y:192}},{name:"LED_C",position:{x:179,y:192}},{name:"LED_R",position:{x:200,y:192}},{name:"LED_L",position:{x:157,y:192}},{name:"light",position:{x:179,y:129}},{name:"temperature",position:{x:110,y:175}},{name:"accelerometer",position:{x:101,y:130.3}},{name:"compass",position:{x:106.5,y:130.3}},{name:"gyro",position:{x:113,y:130.3}},{name:"sound",position:{x:300,y:171}},{name:"logotouch",position:{x:78,y:60}}],width:"366px",height:"324px"},microbit:{ports:[{name:"0",position:{x:15,y:167}},{name:"1",position:{x:57.3,y:167}},{name:"2",position:{x:103.7,y:167}},{name:"3",position:{x:1.5,y:167}},{name:"4",position:{x:27.9,y:167}},{name:"5",position:{x:33.1,y:167}},{name:"6",position:{x:38.3,y:167}},{name:"7",position:{x:43.5,y:167}},{name:"8",position:{x:69.5,y:167}},{name:"9",position:{x:74.7,y:167}},{name:"10",position:{x:79.9,y:167}},{name:"11",position:{x:85.1,y:167}},{name:"12",position:{x:90.3,y:167}},{name:"13",position:{x:116.2,y:167}},{name:"14",position:{x:121.4,y:167}},{name:"15",position:{x:126.6,y:167}},{name:"16",position:{x:131.8,y:167}},{name:"19",position:{x:168,y:167}},{name:"20",position:{x:173.2,y:167}},{name:"3V",position:{x:150,y:167}},{name:"GND",position:{x:191.8,y:167}},{name:"A",position:{x:20.8,y:86.7}},{name:"B",position:{x:187.7,y:86.7}},{name:"light",position:{x:103.7,y:90}},{name:"temperature",position:{x:262,y:48.2}},{name:"accelerometer",position:{x:238.2,y:99.5}},{name:"compass",position:{x:238.2,y:104.7}}],width:"435px",height:"172px"},microbitv2:{ports:[{name:"0",position:{x:16,y:163}},{name:"1",position:{x:58.3,y:163}},{name:"2",position:{x:104,y:163}},{name:"3",position:{x:3,y:163}},{name:"4",position:{x:28.9,y:167}},{name:"5",position:{x:34.1,y:167}},{name:"6",position:{x:39.3,y:167}},{name:"7",position:{x:44.5,y:167}},{name:"8",position:{x:69.5,y:167}},{name:"9",position:{x:74.7,y:167}},{name:"10",position:{x:79.9,y:167}},{name:"11",position:{x:85.1,y:167}},{name:"12",position:{x:90.3,y:167}},{name:"13",position:{x:116.2,y:167}},{name:"14",position:{x:121.4,y:167}},{name:"15",position:{x:126.6,y:167}},{name:"16",position:{x:131.8,y:167}},{name:"19",position:{x:168,y:167}},{name:"20",position:{x:173.2,y:167}},{name:"3V",position:{x:150,y:163}},{name:"GND",position:{x:191.8,y:163}},{name:"A",position:{x:20.8,y:83.7}},{name:"B",position:{x:187.7,y:83.7}},{name:"light",position:{x:103.7,y:87}},{name:"temperature",position:{x:265,y:70.2}},{name:"accelerometer",position:{x:251.2,y:117.5}},{name:"compass",position:{x:251.2,y:122.7}},{name:"sound",position:{x:134,y:37}},{name:"buzzer",position:{x:323,y:87}},{name:"logotouch",position:{x:103.7,y:29}}],width:"435px",height:"172px"},sensebox:{ports:[{name:"1",position:{x:151,y:104}},{name:"2",position:{x:160,y:104}},{name:"3",position:{x:151,y:63}},{name:"4",position:{x:160,y:63}},{name:"5",position:{x:151,y:21}},{name:"6",position:{x:160,y:21}},{name:"7",position:{x:22,y:117}},{name:"8",position:{x:14,y:117}},{name:"XBEE1",position:{x:73,y:203}},{name:"XBEE2",position:{x:320,y:203}},{name:"I2C",position:{x:323,y:21}},{name:"I2C",position:{x:289,y:63}},{name:"I2C",position:{x:354,y:63}},{name:"I2C",position:{x:289,y:104}},{name:"I2C",position:{x:354,y:104}},{name:"Serial1",position:{x:220,y:105}},{name:"Serial2",position:{x:220,y:63}},{name:"GND",position:{x:133,y:104}},{name:"GND",position:{x:133,y:63}},{name:"GND",position:{x:133,y:21}},{name:"GND",position:{x:50,y:21}},{name:"5V",position:{x:141,y:104}},{name:"5V",position:{x:141,y:63}},{name:"5V",position:{x:141,y:21}},{name:"5V",position:{x:59,y:21}},{name:"accelerometer",position:{x:187,y:207}},{name:"sensebox",position:{x:187,y:207}}],width:"398px",height:"303px"},mbot2:{ports:[{name:"EM1",position:{x:140,y:340}},{name:"EM2",position:{x:185,y:340}},{name:"A",position:{x:212,y:262}},{name:"B",position:{x:212,y:306}},{name:"mbuild_port",position:{x:250,y:69}},{name:"S1",position:{x:7,y:110}},{name:"S2",position:{x:7,y:138}},{name:"S3",position:{x:250,y:138}},{name:"S4",position:{x:250,y:110}},{name:"M1",position:{x:60,y:340}},{name:"M2",position:{x:80,y:340}},{name:"joystick",position:{x:35,y:285}},{name:"buzzer",position:{x:235,y:340}},{name:"accelerometer",position:{x:108,y:238}},{name:"rgbled",position:{x:116,y:340}},{name:"light",position:{x:49,y:246}},{name:"sound",position:{x:66,y:246}},{name:"gyro",position:{x:158,y:238}},{name:"lcd",position:{x:128,y:288}}],width:"263px",height:"343px"},robotino:{ports:[{name:"DI1",position:{x:174.75,y:202.425}},{name:"DI2",position:{x:171.45,y:202.895}},{name:"DI3",position:{x:168.15,y:203.365}},{name:"DI4",position:{x:164.85,y:203.835}},{name:"DI5",position:{x:161.55,y:204.305}},{name:"DI6",position:{x:158.25,y:204.775}},{name:"DI7",position:{x:154.95,y:205.245}},{name:"DI8",position:{x:151.65,y:205.725}},{name:"AI1",position:{x:98.55,y:214.65}},{name:"AI2",position:{x:95.25,y:215.2}},{name:"AI3",position:{x:91.95,y:215.75}},{name:"AI4",position:{x:88.65,y:216.3}},{name:"AI5",position:{x:85.35,y:216.85}},{name:"AI6",position:{x:82.05,y:217.4}},{name:"AI7",position:{x:78.75,y:217.95}},{name:"AI8",position:{x:75.6,y:218.475}},{name:"M1",position:{x:129,y:146.625}},{name:"M2",position:{x:238.5,y:340.125}},{name:"M3",position:{x:349.5,y:146.625}},{name:"camera",position:{x:209.625,y:153.075}},{name:"odometry",position:{x:238.5,y:207.375}},{name:"infrared",position:{x:110.25,y:59.25}},{name:"touch",position:{x:372.825,y:59.25}}],width:"483.12px",height:"424.125px"},spike:{ports:[{name:"A",position:{x:0,y:105}},{name:"B",position:{x:210,y:105}},{name:"C",position:{x:0,y:168}},{name:"D",position:{x:210,y:168}},{name:"E",position:{x:0,y:229}},{name:"F",position:{x:210,y:229}},{name:"display",position:{x:105,y:168}},{name:"LEFT",position:{x:35,y:292}},{name:"RIGHT",position:{x:176,y:292}},{name:"buzzer",position:{x:105,y:340}},{name:"gyro",position:{x:130,y:70}},{name:"rgbled",position:{x:105,y:292}}],width:"217px",height:"342px"},joycar:{ports:[{name:"SERVO1",position:{x:141,y:204}},{name:"SERVO2",position:{x:154,y:204}},{name:"SPEED_L",position:{x:174,y:204}},{name:"SPEED_R",position:{x:187,y:204}},{name:"OBSTCL_L",position:{x:208,y:204}},{name:"OBSTCL_R",position:{x:221,y:204}},{name:"LINE_TRK_L",position:{x:240,y:204}},{name:"LINE_TRK_M",position:{x:253,y:204}},{name:"LINE_TRK_R",position:{x:266,y:204}},{name:"B0",position:{x:62,y:217}},{name:"B2",position:{x:74,y:217}},{name:"B4",position:{x:87,y:217}},{name:"B6",position:{x:100,y:217}},{name:"US",position:{x:121,y:217}},{name:"MOT_R",position:{x:28,y:58}},{name:"MOT_L",position:{x:385,y:58}},{name:"A",position:{x:74,y:58}},{name:"temperature",position:{x:111,y:58}},{name:"accelerometer",position:{x:149,y:58}},{name:"compass",position:{x:186,y:58}},{name:"sound",position:{x:224,y:58}},{name:"light",position:{x:262,y:58}},{name:"logotouch",position:{x:299,y:58}},{name:"B",position:{x:338,y:58}},{name:"buzzer",position:{x:28.5,y:125}}],width:"417px",height:"272px"},txt4:{ports:[{name:"EXT",position:{x:2,y:65}},{name:"I1",position:{x:22,y:77}},{name:"I2",position:{x:22,y:98}},{name:"I3",position:{x:22,y:119}},{name:"I4",position:{x:22,y:140}},{name:"I5",position:{x:22,y:162}},{name:"I6",position:{x:22,y:183}},{name:"I7",position:{x:22,y:204}},{name:"I8",position:{x:22,y:225}},{name:"M1",position:{x:228,y:77}},{name:"M2",position:{x:228,y:98}},{name:"M3",position:{x:228,y:119}},{name:"M4",position:{x:228,y:140}},{name:"C1",position:{x:228,y:162}},{name:"C2",position:{x:228,y:183}},{name:"C3",position:{x:228,y:204}},{name:"C4",position:{x:228,y:225}},{name:"USB1",position:{x:71,y:1}},{name:"USB2",position:{x:160,y:1}},{name:"9V",position:{x:64.5,y:225}},{name:"display",position:{x:126,y:118}}],width:"255px",height:"255px"}}})); //# sourceMappingURL=const.robots.js.map //# sourceMappingURL=const.robots.js.map diff --git a/OpenRobertaWeb/src/app/configVisualization/const.robots.ts b/OpenRobertaWeb/src/app/configVisualization/const.robots.ts index e80a1ace09..b3cda56263 100644 --- a/OpenRobertaWeb/src/app/configVisualization/const.robots.ts +++ b/OpenRobertaWeb/src/app/configVisualization/const.robots.ts @@ -38,6 +38,7 @@ const calliope = { { name: 'B', position: { x: 260.5, y: 114.3 } }, { name: 'buzzer', position: { x: 253.7, y: 155 } }, { name: 'rgbledh', position: { x: 159.5, y: 172 } }, + { name: 'rgbledhp', position: { x: 159.5, y: 172 } }, { name: 'light', position: { x: 158.5, y: 102.7 } }, { name: 'temperature', position: { x: 116.5, y: 178.5 } }, { name: 'accelerometer', position: { x: 86, y: 130.3 } }, @@ -357,8 +358,9 @@ export const ROBOTS = { { name: 'B', position: { x: 298, y: 135 } }, { name: 'buzzer', position: { x: 248, y: 163 } }, { name: 'rgbledh', position: { x: 179, y: 192 } }, - { name: 'rgbledh', position: { x: 200, y: 192 } }, - { name: 'rgbledh', position: { x: 157, y: 192 } }, + { name: 'LED_C', position: { x: 179, y: 192 } }, + { name: 'LED_R', position: { x: 200, y: 192 } }, + { name: 'LED_L', position: { x: 157, y: 192 } }, { name: 'light', position: { x: 179, y: 129 } }, { name: 'temperature', position: { x: 110, y: 175 } }, { name: 'accelerometer', position: { x: 101, y: 130.3 } }, diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/ICalliopeVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/ICalliopeVisitor.java index 4961d7f476..1fd678db48 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/ICalliopeVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/ICalliopeVisitor.java @@ -24,6 +24,7 @@ import de.fhg.iais.roberta.syntax.sensor.generic.GyroSensor; import de.fhg.iais.roberta.syntax.sensor.generic.HumiditySensor; import de.fhg.iais.roberta.syntax.sensor.generic.InfraredSensor; +import de.fhg.iais.roberta.syntax.sensor.generic.MoistureSensor; import de.fhg.iais.roberta.syntax.sensor.generic.SoundSensor; import de.fhg.iais.roberta.syntax.sensor.generic.UltrasonicSensor; import de.fhg.iais.roberta.syntax.sensor.mbed.CallibotKeysSensor; @@ -89,4 +90,6 @@ public interface ICalliopeVisitor extends IMbedV2Visitor { V visitCallibotKeysSensor(CallibotKeysSensor callibotKeysSensor); + V visitMoistureSensor(MoistureSensor moistureSensor); + } \ No newline at end of file diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeCppVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeCppVisitor.java index 86035c98fe..c04ed2f022 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeCppVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeCppVisitor.java @@ -96,6 +96,7 @@ import de.fhg.iais.roberta.syntax.sensor.generic.InfraredSensor; import de.fhg.iais.roberta.syntax.sensor.generic.KeysSensor; import de.fhg.iais.roberta.syntax.sensor.generic.LightSensor; +import de.fhg.iais.roberta.syntax.sensor.generic.MoistureSensor; import de.fhg.iais.roberta.syntax.sensor.generic.PinGetValueSensor; import de.fhg.iais.roberta.syntax.sensor.generic.PinTouchSensor; import de.fhg.iais.roberta.syntax.sensor.generic.SoundSensor; @@ -1609,6 +1610,12 @@ public Void visitCallibotKeysSensor(CallibotKeysSensor callibotKeysSensor) { return null; } + @Override + public Void visitMoistureSensor(MoistureSensor moistureSensor) { + this.src.add("(((float) _uBit.io.P2.getAnalogValue() / 950) * 100)"); + return null; + } + private Set getMotorPins() { Set motorPins = new HashSet<>(); for ( ConfigurationComponent confComp : this.robotConfiguration.getConfigurationComponentsValues() ) { diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeStackMachineVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeStackMachineVisitor.java index 8a045e9666..061de3ab8c 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeStackMachineVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeStackMachineVisitor.java @@ -33,6 +33,7 @@ import de.fhg.iais.roberta.syntax.sensor.generic.GyroSensor; import de.fhg.iais.roberta.syntax.sensor.generic.HumiditySensor; import de.fhg.iais.roberta.syntax.sensor.generic.InfraredSensor; +import de.fhg.iais.roberta.syntax.sensor.generic.MoistureSensor; import de.fhg.iais.roberta.syntax.sensor.generic.SoundSensor; import de.fhg.iais.roberta.syntax.sensor.generic.UltrasonicSensor; import de.fhg.iais.roberta.syntax.sensor.mbed.CallibotKeysSensor; @@ -159,6 +160,11 @@ public Void visitCallibotKeysSensor(CallibotKeysSensor callibotKeysSensor) { return null; } + @Override + public Void visitMoistureSensor(MoistureSensor moistureSensor) { + return null; + } + @Override public Void visitBothMotorsStopAction(BothMotorsStopAction bothMotorsStopAction) { JSONObject o = makeNode(C.MOTOR_STOP).put(C.PORT, "ab"); diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeV3PythonVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeV3PythonVisitor.java index 8be986f428..a8ca06c587 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeV3PythonVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeV3PythonVisitor.java @@ -43,6 +43,7 @@ import de.fhg.iais.roberta.syntax.sensor.generic.HumiditySensor; import de.fhg.iais.roberta.syntax.sensor.generic.InfraredSensor; import de.fhg.iais.roberta.syntax.sensor.generic.PinGetValueSensor; +import de.fhg.iais.roberta.syntax.sensor.generic.MoistureSensor; import de.fhg.iais.roberta.syntax.sensor.generic.UltrasonicSensor; import de.fhg.iais.roberta.syntax.sensor.mbed.CallibotKeysSensor; import de.fhg.iais.roberta.syntax.sensor.mbed.RadioRssiSensor; @@ -265,6 +266,12 @@ public Void visitCallibotKeysSensor(CallibotKeysSensor callibotKeysSensor) { return null; } + @Override + public Void visitMoistureSensor(MoistureSensor moistureSensor) { + this.src.add("((calliopemini.pin_A1_RX.read_analog() / 950) * 100)"); + return null; + } + @Override public Void visitInfraredSensor(InfraredSensor infraredSensor) { ConfigurationComponent confComp = this.robotConfiguration.optConfigurationComponentByType(SC.CALLIBOT); diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/CalliopeCommonValidatorAndCollectorVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/CalliopeCommonValidatorAndCollectorVisitor.java index 7553b00b80..4d15be899a 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/CalliopeCommonValidatorAndCollectorVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/CalliopeCommonValidatorAndCollectorVisitor.java @@ -43,6 +43,7 @@ import de.fhg.iais.roberta.syntax.sensor.generic.GyroSensor; import de.fhg.iais.roberta.syntax.sensor.generic.HumiditySensor; import de.fhg.iais.roberta.syntax.sensor.generic.InfraredSensor; +import de.fhg.iais.roberta.syntax.sensor.generic.MoistureSensor; import de.fhg.iais.roberta.syntax.sensor.generic.PinGetValueSensor; import de.fhg.iais.roberta.syntax.sensor.generic.SoundSensor; import de.fhg.iais.roberta.syntax.sensor.generic.UltrasonicSensor; @@ -101,6 +102,13 @@ public Void visitCallibotKeysSensor(CallibotKeysSensor callibotKeysSensor) { return null; } + @Override + public Void visitMoistureSensor(MoistureSensor moistureSensor) { + addToPhraseIfUnsupportedInSim(moistureSensor, true, isSim); + checkSensorExists(moistureSensor); + return null; + } + @Override public Void visitDisplayGetBrightnessAction(DisplayGetBrightnessAction displayGetBrightnessAction) { usedHardwareBuilder.addUsedActor(new UsedActor("", SC.DISPLAY_GRAYSCALE)); diff --git a/RobotMbed/src/main/resources/calliopeV3/configuration.default.xml b/RobotMbed/src/main/resources/calliopeV3/configuration.default.xml index eedf7694e8..c718f7d354 100644 --- a/RobotMbed/src/main/resources/calliopeV3/configuration.default.xml +++ b/RobotMbed/src/main/resources/calliopeV3/configuration.default.xml @@ -51,24 +51,27 @@ _S - - - _0 - - _B - - + + + _0 + LED_L + + + + _1 + LED_C - - + + _2 + LED_R \ No newline at end of file diff --git a/RobotMbed/src/main/resources/calliopeV3/program.default.nn.xml b/RobotMbed/src/main/resources/calliopeV3/program.default.nn.xml deleted file mode 100644 index dc19aa8490..0000000000 --- a/RobotMbed/src/main/resources/calliopeV3/program.default.nn.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - TRUE - - {"learningRate":0.00003,"regularizationRate":0,"noise":0,"batchSize":10,"discretize":false,"percTrainData":50,"activationKey":"linear","activation":{},"regularization":null,"initUntil":null,"collectStats":false,"numHiddenLayers":0,"networkShape":[],"weights":[[["1"]],[[]]],"biases":[["0"],["0"]],"precision":"2","weightArcMaxSize":8,"weightSuppressMultOp":true,"inputs":["n1"],"outputs":["n2"],"hiddenNeurons":[]} - - - - \ No newline at end of file diff --git a/RobotMbed/src/main/resources/calliopeV3/program.default.xml b/RobotMbed/src/main/resources/calliopeV3/program.default.xml index e5df8fe183..2eccc1960e 100644 --- a/RobotMbed/src/main/resources/calliopeV3/program.default.xml +++ b/RobotMbed/src/main/resources/calliopeV3/program.default.xml @@ -2,6 +2,11 @@ TRUE + #ifdef nn + + {"learningRate":0.00003,"regularizationRate":0,"noise":0,"batchSize":10,"discretize":false,"percTrainData":50,"activationKey":"linear","activation":{},"regularization":null,"initUntil":null,"collectStats":false,"numHiddenLayers":0,"networkShape":[],"weights":[[["1"]],[[]]],"biases":[["0"],["0"]],"precision":"2","weightArcMaxSize":8,"weightSuppressMultOp":true,"inputs":["n1"],"outputs":["n2"],"hiddenNeurons":[]} + + #end \ No newline at end of file