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
123 stars 118 forks source link

EV3: Simulation Reset Brick Light Not Working Properly #481

Open RohanCheri opened 4 years ago

RohanCheri commented 4 years ago

Describe the bug When using the "Reset Brick Light," the description states that it sets the default bricklight, "green and blinking," but when the block is used, it just resets the bricklight, similar to the "brick light off" function.

To Reproduce Steps to reproduce the behavior:

  1. Go to Action -> Lights and add block "colour [green] [on]" (Any color works)
  2. Add wait after block
  3. Add "reset brick light" after wait
  4. Add another wait at the end
  5. Complie and run program
  6. Observe Behavior
  7. (Optional) Replace "reset brick light' with "brick light off" and observe the exact same behavior.

Expected behavior The bricklight being reset to its default state (green and blinking), as stated in the description of the "reset brick light" block.

Screenshots (Initial Bricklight setting has been changed to orange for testing purposes) Behavior of "Reset Brick" block: ResetBrickNotWorking

Behavior of "Brick Light Off" block: BrickLightOffExample

Device information

Additional context -Occurs with all EV3 Devices

boonto commented 4 years ago

Needs testing whether this is the case for the real robot as well.

boonto commented 4 years ago

Seems to be the case on ev3dev as well: #242. We need to discuss whether the tooltip or the behaviour is wrong.