Skip to content

Commit

Permalink
Issue #1563: show output neurons in sensor view
Browse files Browse the repository at this point in the history
  • Loading branch information
AyaMoussa authored and bjost2s committed Oct 30, 2024
1 parent 61a1486 commit b79c23f
Show file tree
Hide file tree
Showing 70 changed files with 672 additions and 280 deletions.
524 changes: 249 additions & 275 deletions OpenRobertaServer/staticResources/blockly/blockly_compressed.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions OpenRobertaServer/staticResources/blockly/msg/js/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ Blockly.Msg.COMPASS_GETSAMPLE_TOOLTIP = "Gets the current reading from the compa
Blockly.Msg.COMPASS_TOOLTIP = "Represents a compass sensor."; // untranslated
Blockly.Msg.COMPASS_TOOLTIP_EV3 = "Represents a HiTechnic NXT compass sensor."; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_ACTOR_MISSING = "This actuator is not configured. Please add the corresponding block in the configuration tab!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_ACTUATOR_WRONG = "The defined actuator port/name is wrong. Please check this in the configuration tab!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_DIFFDRIVE_NOT_UNIQUE = "This configuration block may only occur once."; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_MISSING_PIN = "The pin used by this component does not exist!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_MOTORS_ROTATION_DIRECTION = "The direction of rotation of the left and right motor is different!"; // untranslated
Expand Down Expand Up @@ -1439,6 +1440,7 @@ Blockly.Msg.POPUP_STARTUP_HELP_TEXT = "In our detailed help, we will explain eve
Blockly.Msg.POPUP_STARTUP_HIDE = "Okay, don't show this window again and remember my choice with a bookmark."; // untranslated
Blockly.Msg.POPUP_STARTUP_START = "back to robot/system selection"; // untranslated
Blockly.Msg.POPUP_STARTUP_TOUR_TEXT = "Would you like to get started, but do not know exactly how? We will show you the first steps in an interactive tutorial."; // untranslated
Blockly.Msg.POPUP_TEXTLY_CONFIRM_CONTINUE = "<br><br><i>Press »OK« to see the errors in the textly editor. Press »Cancel« to return to NEPOprog and discard your work.</i>"; // untranslated
Blockly.Msg.POPUP_TOUR = "take a tour"; // untranslated
Blockly.Msg.POPUP_USERNAME = "Username"; // untranslated
Blockly.Msg.POPUP_USERNAME_LOGOFF = "You are not logged in."; // untranslated
Expand Down Expand Up @@ -1806,6 +1808,7 @@ Blockly.Msg.SIM_BLOCK_NOT_SUPPORTED = "Unfortunately you can not use this block
Blockly.Msg.SIM_CONFIGURATION_WARNING_SENSOR_MISSING = "This sensor is not in the configuration! The behaviour of the program on the real robot will be different than expected!"; // untranslated
Blockly.Msg.SIM_CONFIGURATION_WARNING_WRONG_INFRARED_SENSOR_PORT = "The infrared sensor is not connected in the configuration! The behaviour of the program on the real robot will be different than expected, please check the robot configuration!"; // untranslated
Blockly.Msg.SIM_CONFIGURATION_WARNING_WRONG_SENSOR_PORT = "In this block you have used a wrong sensor port! The behaviour of the program on the real robot will be different than expected, please check the robot configuration!"; // untranslated
Blockly.Msg.SIM_VALUES_NEURON = "Output Neurons Values"; // untranslated
Blockly.Msg.SIM_VALUES_SENSOR = "Sensor Values"; // untranslated
Blockly.Msg.SIM_VALUES_SYSTEM = "System Values"; // untranslated
Blockly.Msg.SIM_VALUES_TIMER = "Timer Values"; // untranslated
Expand Down Expand Up @@ -1952,6 +1955,7 @@ Blockly.Msg.START_SIMULATION = "Simulation"; // untranslated
Blockly.Msg.START_START = "get started"; // untranslated
Blockly.Msg.START_STARTUP_TITLE = "Welcome to Open Roberta Lab"; // untranslated
Blockly.Msg.START_TEASER = "Our open source platform »Open Roberta Lab« let you create your very own programs in no time at all using drag and drop."; // untranslated
Blockly.Msg.START_TEXTLY = "NEPO Java"; // untranslated
Blockly.Msg.START_TOOLTIP = "The starting point for the main program."; // untranslated
Blockly.Msg.START_TOUR_HEADLINE = "Take an interactive tour"; // untranslated
Blockly.Msg.START_WIKI_HEADLINE = "Take a look at our wiki"; // untranslated
Expand All @@ -1970,8 +1974,10 @@ Blockly.Msg.TAB_NN = "Neural Network"; // untranslated
Blockly.Msg.TAB_NN_DEFINE = " Define"; // untranslated
Blockly.Msg.TAB_NN_LEARN = " Learn"; // untranslated
Blockly.Msg.TAB_PROGRAM = "Program"; // untranslated
Blockly.Msg.TAB_TEXTLYJAVA_EDITOR = "Textly Editor"; // untranslated
Blockly.Msg.TEMPERATURE_GETSAMPLE_TOOLTIP = "Gets the current reading from the temperature sensor in °C."; // untranslated
Blockly.Msg.TEMPERATURE_TOOLTIP = "Represents a temperature sensor."; // untranslated
Blockly.Msg.TEXTLY_EDITOR_CLOSE_CONFIRMATION = "There are errors in the code!"; // untranslated
Blockly.Msg.TEXT_APPEND_APPENDTEXT = "إلصق نص";
Blockly.Msg.TEXT_APPEND_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated
Blockly.Msg.TEXT_APPEND_TO = "إلى";
Expand Down
6 changes: 6 additions & 0 deletions OpenRobertaServer/staticResources/blockly/msg/js/az.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ Blockly.Msg.COMPASS_GETSAMPLE_TOOLTIP = "Gets the current reading from the compa
Blockly.Msg.COMPASS_TOOLTIP = "Represents a compass sensor."; // untranslated
Blockly.Msg.COMPASS_TOOLTIP_EV3 = "Represents a HiTechnic NXT compass sensor."; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_ACTOR_MISSING = "This actuator is not configured. Please add the corresponding block in the configuration tab!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_ACTUATOR_WRONG = "The defined actuator port/name is wrong. Please check this in the configuration tab!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_DIFFDRIVE_NOT_UNIQUE = "This configuration block may only occur once."; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_MISSING_PIN = "The pin used by this component does not exist!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_MOTORS_ROTATION_DIRECTION = "The direction of rotation of the left and right motor is different!"; // untranslated
Expand Down Expand Up @@ -1439,6 +1440,7 @@ Blockly.Msg.POPUP_STARTUP_HELP_TEXT = "In our detailed help, we will explain eve
Blockly.Msg.POPUP_STARTUP_HIDE = "Okay, don't show this window again and remember my choice with a bookmark."; // untranslated
Blockly.Msg.POPUP_STARTUP_START = "back to robot/system selection"; // untranslated
Blockly.Msg.POPUP_STARTUP_TOUR_TEXT = "Would you like to get started, but do not know exactly how? We will show you the first steps in an interactive tutorial."; // untranslated
Blockly.Msg.POPUP_TEXTLY_CONFIRM_CONTINUE = "<br><br><i>Press »OK« to see the errors in the textly editor. Press »Cancel« to return to NEPOprog and discard your work.</i>"; // untranslated
Blockly.Msg.POPUP_TOUR = "take a tour"; // untranslated
Blockly.Msg.POPUP_USERNAME = "Username"; // untranslated
Blockly.Msg.POPUP_USERNAME_LOGOFF = "You are not logged in."; // untranslated
Expand Down Expand Up @@ -1806,6 +1808,7 @@ Blockly.Msg.SIM_BLOCK_NOT_SUPPORTED = "Unfortunately you can not use this block
Blockly.Msg.SIM_CONFIGURATION_WARNING_SENSOR_MISSING = "This sensor is not in the configuration! The behaviour of the program on the real robot will be different than expected!"; // untranslated
Blockly.Msg.SIM_CONFIGURATION_WARNING_WRONG_INFRARED_SENSOR_PORT = "The infrared sensor is not connected in the configuration! The behaviour of the program on the real robot will be different than expected, please check the robot configuration!"; // untranslated
Blockly.Msg.SIM_CONFIGURATION_WARNING_WRONG_SENSOR_PORT = "In this block you have used a wrong sensor port! The behaviour of the program on the real robot will be different than expected, please check the robot configuration!"; // untranslated
Blockly.Msg.SIM_VALUES_NEURON = "Output Neurons Values"; // untranslated
Blockly.Msg.SIM_VALUES_SENSOR = "Sensor Values"; // untranslated
Blockly.Msg.SIM_VALUES_SYSTEM = "System Values"; // untranslated
Blockly.Msg.SIM_VALUES_TIMER = "Timer Values"; // untranslated
Expand Down Expand Up @@ -1952,6 +1955,7 @@ Blockly.Msg.START_SIMULATION = "Simulation"; // untranslated
Blockly.Msg.START_START = "get started"; // untranslated
Blockly.Msg.START_STARTUP_TITLE = "Welcome to Open Roberta Lab"; // untranslated
Blockly.Msg.START_TEASER = "Our open source platform »Open Roberta Lab« let you create your very own programs in no time at all using drag and drop."; // untranslated
Blockly.Msg.START_TEXTLY = "NEPO Java"; // untranslated
Blockly.Msg.START_TOOLTIP = "The starting point for the main program."; // untranslated
Blockly.Msg.START_TOUR_HEADLINE = "Take an interactive tour"; // untranslated
Blockly.Msg.START_WIKI_HEADLINE = "Take a look at our wiki"; // untranslated
Expand All @@ -1970,8 +1974,10 @@ Blockly.Msg.TAB_NN = "Neural Network"; // untranslated
Blockly.Msg.TAB_NN_DEFINE = " Define"; // untranslated
Blockly.Msg.TAB_NN_LEARN = " Learn"; // untranslated
Blockly.Msg.TAB_PROGRAM = "Program"; // untranslated
Blockly.Msg.TAB_TEXTLYJAVA_EDITOR = "Textly Editor"; // untranslated
Blockly.Msg.TEMPERATURE_GETSAMPLE_TOOLTIP = "Gets the current reading from the temperature sensor in °C."; // untranslated
Blockly.Msg.TEMPERATURE_TOOLTIP = "Represents a temperature sensor."; // untranslated
Blockly.Msg.TEXTLY_EDITOR_CLOSE_CONFIRMATION = "There are errors in the code!"; // untranslated
Blockly.Msg.TEXT_APPEND_APPENDTEXT = "bu mətni əlavə et:";
Blockly.Msg.TEXT_APPEND_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated
Blockly.Msg.TEXT_APPEND_TO = "bu mətnin sonuna:";
Expand Down
6 changes: 6 additions & 0 deletions OpenRobertaServer/staticResources/blockly/msg/js/ba.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ Blockly.Msg.COMPASS_GETSAMPLE_TOOLTIP = "Gets the current reading from the compa
Blockly.Msg.COMPASS_TOOLTIP = "Represents a compass sensor."; // untranslated
Blockly.Msg.COMPASS_TOOLTIP_EV3 = "Represents a HiTechnic NXT compass sensor."; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_ACTOR_MISSING = "This actuator is not configured. Please add the corresponding block in the configuration tab!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_ACTUATOR_WRONG = "The defined actuator port/name is wrong. Please check this in the configuration tab!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_DIFFDRIVE_NOT_UNIQUE = "This configuration block may only occur once."; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_MISSING_PIN = "The pin used by this component does not exist!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_MOTORS_ROTATION_DIRECTION = "The direction of rotation of the left and right motor is different!"; // untranslated
Expand Down Expand Up @@ -1439,6 +1440,7 @@ Blockly.Msg.POPUP_STARTUP_HELP_TEXT = "In our detailed help, we will explain eve
Blockly.Msg.POPUP_STARTUP_HIDE = "Okay, don't show this window again and remember my choice with a bookmark."; // untranslated
Blockly.Msg.POPUP_STARTUP_START = "back to robot/system selection"; // untranslated
Blockly.Msg.POPUP_STARTUP_TOUR_TEXT = "Would you like to get started, but do not know exactly how? We will show you the first steps in an interactive tutorial."; // untranslated
Blockly.Msg.POPUP_TEXTLY_CONFIRM_CONTINUE = "<br><br><i>Press »OK« to see the errors in the textly editor. Press »Cancel« to return to NEPOprog and discard your work.</i>"; // untranslated
Blockly.Msg.POPUP_TOUR = "take a tour"; // untranslated
Blockly.Msg.POPUP_USERNAME = "Username"; // untranslated
Blockly.Msg.POPUP_USERNAME_LOGOFF = "You are not logged in."; // untranslated
Expand Down Expand Up @@ -1806,6 +1808,7 @@ Blockly.Msg.SIM_BLOCK_NOT_SUPPORTED = "Unfortunately you can not use this block
Blockly.Msg.SIM_CONFIGURATION_WARNING_SENSOR_MISSING = "This sensor is not in the configuration! The behaviour of the program on the real robot will be different than expected!"; // untranslated
Blockly.Msg.SIM_CONFIGURATION_WARNING_WRONG_INFRARED_SENSOR_PORT = "The infrared sensor is not connected in the configuration! The behaviour of the program on the real robot will be different than expected, please check the robot configuration!"; // untranslated
Blockly.Msg.SIM_CONFIGURATION_WARNING_WRONG_SENSOR_PORT = "In this block you have used a wrong sensor port! The behaviour of the program on the real robot will be different than expected, please check the robot configuration!"; // untranslated
Blockly.Msg.SIM_VALUES_NEURON = "Output Neurons Values"; // untranslated
Blockly.Msg.SIM_VALUES_SENSOR = "Sensor Values"; // untranslated
Blockly.Msg.SIM_VALUES_SYSTEM = "System Values"; // untranslated
Blockly.Msg.SIM_VALUES_TIMER = "Timer Values"; // untranslated
Expand Down Expand Up @@ -1952,6 +1955,7 @@ Blockly.Msg.START_SIMULATION = "Simulation"; // untranslated
Blockly.Msg.START_START = "get started"; // untranslated
Blockly.Msg.START_STARTUP_TITLE = "Welcome to Open Roberta Lab"; // untranslated
Blockly.Msg.START_TEASER = "Our open source platform »Open Roberta Lab« let you create your very own programs in no time at all using drag and drop."; // untranslated
Blockly.Msg.START_TEXTLY = "NEPO Java"; // untranslated
Blockly.Msg.START_TOOLTIP = "The starting point for the main program."; // untranslated
Blockly.Msg.START_TOUR_HEADLINE = "Take an interactive tour"; // untranslated
Blockly.Msg.START_WIKI_HEADLINE = "Take a look at our wiki"; // untranslated
Expand All @@ -1970,8 +1974,10 @@ Blockly.Msg.TAB_NN = "Neural Network"; // untranslated
Blockly.Msg.TAB_NN_DEFINE = " Define"; // untranslated
Blockly.Msg.TAB_NN_LEARN = " Learn"; // untranslated
Blockly.Msg.TAB_PROGRAM = "Program"; // untranslated
Blockly.Msg.TAB_TEXTLYJAVA_EDITOR = "Textly Editor"; // untranslated
Blockly.Msg.TEMPERATURE_GETSAMPLE_TOOLTIP = "Gets the current reading from the temperature sensor in °C."; // untranslated
Blockly.Msg.TEMPERATURE_TOOLTIP = "Represents a temperature sensor."; // untranslated
Blockly.Msg.TEXTLY_EDITOR_CLOSE_CONFIRMATION = "There are errors in the code!"; // untranslated
Blockly.Msg.TEXT_APPEND_APPENDTEXT = "текст өҫтәргә";
Blockly.Msg.TEXT_APPEND_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated
Blockly.Msg.TEXT_APPEND_TO = "to"; // untranslated
Expand Down
6 changes: 6 additions & 0 deletions OpenRobertaServer/staticResources/blockly/msg/js/bcc.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ Blockly.Msg.COMPASS_GETSAMPLE_TOOLTIP = "Gets the current reading from the compa
Blockly.Msg.COMPASS_TOOLTIP = "Represents a compass sensor."; // untranslated
Blockly.Msg.COMPASS_TOOLTIP_EV3 = "Represents a HiTechnic NXT compass sensor."; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_ACTOR_MISSING = "This actuator is not configured. Please add the corresponding block in the configuration tab!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_ACTUATOR_WRONG = "The defined actuator port/name is wrong. Please check this in the configuration tab!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_DIFFDRIVE_NOT_UNIQUE = "This configuration block may only occur once."; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_MISSING_PIN = "The pin used by this component does not exist!"; // untranslated
Blockly.Msg.CONFIGURATION_ERROR_MOTORS_ROTATION_DIRECTION = "The direction of rotation of the left and right motor is different!"; // untranslated
Expand Down Expand Up @@ -1439,6 +1440,7 @@ Blockly.Msg.POPUP_STARTUP_HELP_TEXT = "In our detailed help, we will explain eve
Blockly.Msg.POPUP_STARTUP_HIDE = "Okay, don't show this window again and remember my choice with a bookmark."; // untranslated
Blockly.Msg.POPUP_STARTUP_START = "back to robot/system selection"; // untranslated
Blockly.Msg.POPUP_STARTUP_TOUR_TEXT = "Would you like to get started, but do not know exactly how? We will show you the first steps in an interactive tutorial."; // untranslated
Blockly.Msg.POPUP_TEXTLY_CONFIRM_CONTINUE = "<br><br><i>Press »OK« to see the errors in the textly editor. Press »Cancel« to return to NEPOprog and discard your work.</i>"; // untranslated
Blockly.Msg.POPUP_TOUR = "take a tour"; // untranslated
Blockly.Msg.POPUP_USERNAME = "Username"; // untranslated
Blockly.Msg.POPUP_USERNAME_LOGOFF = "You are not logged in."; // untranslated
Expand Down Expand Up @@ -1806,6 +1808,7 @@ Blockly.Msg.SIM_BLOCK_NOT_SUPPORTED = "Unfortunately you can not use this block
Blockly.Msg.SIM_CONFIGURATION_WARNING_SENSOR_MISSING = "This sensor is not in the configuration! The behaviour of the program on the real robot will be different than expected!"; // untranslated
Blockly.Msg.SIM_CONFIGURATION_WARNING_WRONG_INFRARED_SENSOR_PORT = "The infrared sensor is not connected in the configuration! The behaviour of the program on the real robot will be different than expected, please check the robot configuration!"; // untranslated
Blockly.Msg.SIM_CONFIGURATION_WARNING_WRONG_SENSOR_PORT = "In this block you have used a wrong sensor port! The behaviour of the program on the real robot will be different than expected, please check the robot configuration!"; // untranslated
Blockly.Msg.SIM_VALUES_NEURON = "Output Neurons Values"; // untranslated
Blockly.Msg.SIM_VALUES_SENSOR = "Sensor Values"; // untranslated
Blockly.Msg.SIM_VALUES_SYSTEM = "System Values"; // untranslated
Blockly.Msg.SIM_VALUES_TIMER = "Timer Values"; // untranslated
Expand Down Expand Up @@ -1952,6 +1955,7 @@ Blockly.Msg.START_SIMULATION = "Simulation"; // untranslated
Blockly.Msg.START_START = "get started"; // untranslated
Blockly.Msg.START_STARTUP_TITLE = "Welcome to Open Roberta Lab"; // untranslated
Blockly.Msg.START_TEASER = "Our open source platform »Open Roberta Lab« let you create your very own programs in no time at all using drag and drop."; // untranslated
Blockly.Msg.START_TEXTLY = "NEPO Java"; // untranslated
Blockly.Msg.START_TOOLTIP = "The starting point for the main program."; // untranslated
Blockly.Msg.START_TOUR_HEADLINE = "Take an interactive tour"; // untranslated
Blockly.Msg.START_WIKI_HEADLINE = "Take a look at our wiki"; // untranslated
Expand All @@ -1970,8 +1974,10 @@ Blockly.Msg.TAB_NN = "Neural Network"; // untranslated
Blockly.Msg.TAB_NN_DEFINE = " Define"; // untranslated
Blockly.Msg.TAB_NN_LEARN = " Learn"; // untranslated
Blockly.Msg.TAB_PROGRAM = "Program"; // untranslated
Blockly.Msg.TAB_TEXTLYJAVA_EDITOR = "Textly Editor"; // untranslated
Blockly.Msg.TEMPERATURE_GETSAMPLE_TOOLTIP = "Gets the current reading from the temperature sensor in °C."; // untranslated
Blockly.Msg.TEMPERATURE_TOOLTIP = "Represents a temperature sensor."; // untranslated
Blockly.Msg.TEXTLY_EDITOR_CLOSE_CONFIRMATION = "There are errors in the code!"; // untranslated
Blockly.Msg.TEXT_APPEND_APPENDTEXT = "الحاق متن";
Blockly.Msg.TEXT_APPEND_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated
Blockly.Msg.TEXT_APPEND_TO = "به";
Expand Down
Loading

0 comments on commit b79c23f

Please sign in to comment.