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
127
stars
122
forks
source link
EV3: faulty simulation with non-standard robot configuration #1657
Describe the bug
When using a custom robot configuration by reversing left and right for motors B and C, the simulation does not work properly.
When simulating a line follower with a standard configuration, it works well. Reversing Left and right makes the simulated robot drive in a straight line and not reacting to any input from the light sensor. However the same program just works as expected when uploaded to a EV3.
standard robot configuration
custom robot configuration with left and right reversed
Test program used: line following.
Steps to reproduce the behavior:
write a simple line follow program for the EV3 c4ev3 (see picture)
use standard robot configuration
simulate program - everything should work
switch sides of the motors from left/right (see picture)
simulate the new program - the robot drives in a straight line and does not react to sensor input
Expected behavior
The custom configuration should work like the standard configuration, just with the robot turning to the right instead of the left when not finding a line.
Device information
tested on several Laptops / different OS (Windows10, several debian-based Linux distributions)
tested Browsers: recent Chrome, Firefox, Brave - I tested various Browser versions of these, the problem appeared on everyone of them since I tested
Open Roberta versions: 5.2.4 to 5.2.14 - first notice of the issue: august 2023
Additional context
The programs do work on a real EV3, just the simulation seems bugged.
Describe the bug When using a custom robot configuration by reversing left and right for motors B and C, the simulation does not work properly. When simulating a line follower with a standard configuration, it works well. Reversing Left and right makes the simulated robot drive in a straight line and not reacting to any input from the light sensor. However the same program just works as expected when uploaded to a EV3.
standard robot configuration
custom robot configuration with left and right reversed
Test program used: line following.
Steps to reproduce the behavior:
write a simple line follow program for the EV3 c4ev3 (see picture)
use standard robot configuration
simulate program - everything should work
switch sides of the motors from left/right (see picture)
simulate the new program - the robot drives in a straight line and does not react to sensor input
Expected behavior The custom configuration should work like the standard configuration, just with the robot turning to the right instead of the left when not finding a line.
Device information
Additional context The programs do work on a real EV3, just the simulation seems bugged.