eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.55k stars 1.43k forks source link

stateReplay does not replay traffic light states originating from traci.trafficlight.setRedYellowGreenState #14214

Open spacian opened 10 months ago

spacian commented 10 months ago

When replaying a simulation with the stateReplay tool, link states originating from traci.trafficlight.setRedYellowGreenState and traci.trafficlight.setLinkState in the source simulation are currently not replayed in the target simulation as signal states are assumed to be determinable by programID, phase and duration through the network configuration.

SUMO-version: 1.19.0

operating system: Target simulation: Windows 10 + WSL 1 (Ubuntu 22.04) Source simulation: Ubuntu 20.04

behrisch commented 9 months ago

We should save the modified traffic light programs in the state