Skip to content

Disabling Safety Checks for RL Training with SUMO in Eclipse MOSAIC #434

Answered by kschrab
yibork asked this question in Q&A
Discussion options

You must be logged in to vote

@yibork

I just did a few tests and was successfully able to let two vehicles collide on an intersection, if that's it what you want to do?

I achieved that by mapping a simple application to both vehicles which initially sets the SpeedMode to AGGRESSIVE:

@Override
public void onStartup() {
    getOs().requestVehicleParametersUpdate().changeSpeedMode(SpeedMode.AGGRESSIVE).apply();
}

I also added --collision.action warn --collision.check-junctions true to the sumo_config.json:

{
    "updateInterval" : 100,
    "additionalSumoParameters": "--time-to-teleport 10 --seed 100000 --collision.action warn --collision.check-junctions true"
}

However, I found that in our current implementation we do …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by yibork
Comment options

You must be logged in to vote
0 replies
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