openroberta-lab
openroberta-lab copied to clipboard
Strange behaviour SIM - changing Motor blocks within Robotconfiguration
Describe the bug
- Changing the Motor blocks in the Robotconfiguration from B->A and C->B
- If only motor B is programmed, the robot moves forward. Instead of driving a curve.
To Reproduce Steps to reproduce the behavior:
- Go to 'OR Lab'
- Click on 'OR SIM'
- Configurate the Robot and code the program shown in the screenshot
- See error
Expected behavior
- The robot drives a curve
Screenshots
Device information
- Type laptop
- OS: mac
- Browser chrome
The reason is probably, that the simulation does not take into account, that a motor is removed from a port (say B). Even, if a new motor is connected to B. Consequently both motors start to work. This error happens if the first motor is completely REMOVED, too.
There seem to be more errors: remove the B motor, then the C motor, add a new B motor. Then the block "motor on for duration" doesn't stop anymore (ignores the duration expression)
same as #1657, will be solved there