Draft: fix add clean-up to light bulbs on gt gen environment

Currently:

  • Adding multiple traffic lights will always increment the light bulb count if the binary executing the simulation is not reset

After this merge:

  • light ids were extracted from a function static variable to a class static variable
  • A function was created to reset light ids into the expected start value
  • gtgen enviroment now calls the reset in its constructor, ensuring that no traffic light ids survive from previous runs.
  • Tests were added

Merge request reports

Loading