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

Integrate robot Fischertechnik TXT 4.0

Open bjost2s opened this issue 1 year ago • 1 comments

Integrate robot Fischertechnik TXT 4.0 in the OpenRoberta Lab.

TXT 4.0 is a differential drive robot that comes with some sensors and a camera.

  • [x] Check robot capabilities
  • [x] Integrate standard sensors i
  • [x] Integrate actuators
  • [x] Integrate differential drive / omni drive
  • [ ] Add tests
  • [x] Simulation
  • [x] Add background image
  • [x] Add configuration image / front view in simulation
  • [x] Add icon
  • [x] Add wiki entries/help files: english, german, spanish
  • [x] Add program transfer possibilities

bjost2s avatar Apr 15 '24 16:04 bjost2s

@heini208 the tests are currently ignored, because the pylinter is claiming: 2024-05-06 17:30:20,495 INFO PYTHONLINTERSPECIFIC-IT - [[[[[[[[[[ Robot: txt4 check file with pylint : /crossCompilerTests/_expected/robotSpecific/targetLanguage/txt4/camera.py 2024-05-06 17:30:20,843 ERROR PYTHONLINTERSPECIFIC-IT - ---------- Robot: txt4 FAILED issues detected by python linter in file: /crossCompilerTests/_expected/robotSpecific/targetLanguage/txt4/camera.py 2024-05-06 17:30:20,843 INFO PYTHONLINTERSPECIFIC-IT - E0602: 88:11 : Undefined variable 'display' E0602: 95:11 : Undefined variable 'display' E0602: 106:11 : Undefined variable 'display' E0602: 115:11 : Undefined variable 'display' E0602: 122:11 : Undefined variable 'display'

TODO reactivate test with txt4: template: txt4 dir: txt4 suffix: ".py" pylintIgnoredModules: [ "fischertechnik.factories", "display", "fischertechnik.models.Color", "fischertechnik.controller.Motor" ]

and switch from "from display import *" to "import display" and adopt the code generation: display... -> display.display....

bjost2s avatar May 06 '24 15:05 bjost2s