openroberta-lab icon indicating copy to clipboard operation
openroberta-lab copied to clipboard

Strange behaviour SIM - changing Motor blocks within Robotconfiguration

Open Thorlogy opened this issue 2 years ago • 1 comments

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:

  1. Go to 'OR Lab'
  2. Click on 'OR SIM'
  3. Configurate the Robot and code the program shown in the screenshot
  4. See error

Expected behavior

  • The robot drives a curve

Screenshots image

image

Device information

  • Type laptop
  • OS: mac
  • Browser chrome

Thorlogy avatar May 15 '23 08:05 Thorlogy

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)

rbudde avatar May 15 '23 13:05 rbudde

same as #1657, will be solved there

bjost2s avatar Jul 02 '24 09:07 bjost2s