OpenRoberta / openroberta-lab

The programming environment »Open Roberta Lab« by Fraunhofer IAIS enables children and adolescents to program robots. A variety of different programming blocks are provided to program motors and sensors of the robot. Open Roberta Lab uses an approach of graphical programming so that beginners can seamlessly start coding. As a cloud-based application, the platform can be used without prior installation of specific software but runs in any popular browser, independent of operating system and device.
Apache License 2.0
122 stars 118 forks source link

OR SIM does not open #1629

Open Thorlogy opened 4 months ago

Thorlogy commented 4 months ago

Describe the bug -The SIM-Windows window does not open when function is deactivated

To Reproduce Steps to reproduce the behavior:

  1. Go to 'OR Lab'
  2. Click on 'use a function and deactivate the function'
  3. Try to open the SIM Window
  4. See error

Expected behavior

Screenshots

image

Device information

rbudde commented 4 months ago

the source code view opens, but the generated code is wrong. There must be a checker activated (a classical typechecker would be a good candidate), which detects, that the called functions is not defined.

This error will occur almost never, as user use the deactivate of blockly very seldom. It's likely, that this error exists since the first version of the lab has been deployed :-)