Skip to content

Scheduled event lies in the past #326

Answered by schwepmo
fabio-r-goncalves asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, I was able to reproduce this issue and also think I found the error source and the issue was exactly what you've described. Looks like we had a little bit of a regression during one of our refactors.

long adjustedTime = adjustToSumoTimeStep(changeSpeedTimestep, sumoConfig.updateInterval);

If you change the above line in the AbstractSumoAmbassador as follows, the times should be properly adjusted to the next simulation step in SUMO. Alternatively, you just wait a couple of days and merge the main-branch into yours.

long adjustedTime = adjustToSu…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@schwepmo
Comment options

schwepmo Jul 4, 2023
Collaborator

@fabio-r-goncalves
Comment options

@schwepmo
Comment options

schwepmo Jul 6, 2023
Collaborator

Answer selected by fabio-r-goncalves
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants