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

NXT sim: motor block moves both wheels

Open AHberta opened this issue 1 year ago • 1 comments

Describe the bug

  • motor block moves both wheels in the sim

To Reproduce Steps to reproduce the behavior:

  1. Import program "issue_motor.xml"
  2. Click on sim to open simulation
  3. Start program
  4. NXT drives only straight

Expected behavior

  • the two wheels are rotated individually in turn

Device information

  • Type: Desktop
  • OS: Windows 10
  • Browser: Chrome, Edge

Additional context

AHberta avatar Jul 14 '24 16:07 AHberta

After further testing, I've discovered that this is mainly due to motor configuration. Motors B and C have to be configured on the right and left side respectively. In the provided program, motors B and C are configured on the opposite sides. As NXT simulation depends on the standard configuration, changing it will result in different behaviors in the simulation. Ultimately, this all depends on the old configuration that also concerns other robots as EV3, mbot and others, which can adapt to only a few changes to the configuration. I assume this should be more of a generic issue of the old configuration, non specific to the NXT. It can be considered as an extra feature.

AyaMoussa avatar Aug 27 '24 10:08 AyaMoussa