Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] SUMO Error with sumo-gui / moveTONextLane Assertion

The assertion may be invalid if you are using traci to influence pedestrian behavior.
The easiest work-around would be to switch to the release build of sumo (assertions are only checked in the debug build).
You could also try switching to the latest development version.

Am Di., 1. Sept. 2020 um 14:11 Uhr schrieb Kevin Lin <thankyou-always@xxxxxxxxxxxx>:
Hi!

I've come across a strange sumo error that I've never seen before - would you have any ideas on why this error occurs / what this error message relating to the assertion means?

I'm on Ubuntu 18.04 using sumo 1.6.0.

sumo-gui: /build/sumo-XNbkta/sumo-1.6.0+dfsg1/src/microsim/transportables/MSPModel_Striping.cpp:1555: bool MSPModel_Striping::PState::moveToNextLane(SUMOTime): Assertion `OptionsCont::getOptions().getBool("ignore-route-errors")' failed.

Traceback (most recent call last):
  File "examples/sumo/l2_obscured_pedestrian.py", line 244, in <module>
    exp.run(1, 1000, multiagent=True)
  File "/home/thankyou-always/TODO/research/bayesian_reasoning_traffic/flow/core/experiment.py", line 127, in run
    state, reward, done, _ = self.env.step(rl_actions(state))
  File "/home/thankyou-always/TODO/research/bayesian_reasoning_traffic/flow/envs/multiagent/bayesian_0_no_grid_env.py", line 503, in step
    action = "">  File "/home/thankyou-always/TODO/research/bayesian_reasoning_traffic/flow/controllers/bayesian_predict_controller.py", line 266, in get_action
    accel = self.get_accel(env)
  File "/home/thankyou-always/TODO/research/bayesian_reasoning_traffic/flow/controllers/bayesian_predict_controller.py", line 89, in get_accel
    best_action_sequence, best_score, action_scores_ped = self.look_ahead(env, self.look_ahead_len)
  File "/home/thankyou-always/TODO/research/bayesian_reasoning_traffic/flow/controllers/bayesian_predict_controller.py", line 160, in look_ahead
    env.query_env.step(None)
  File "/home/thankyou-always/TODO/research/bayesian_reasoning_traffic/flow/envs/multiagent/bayesian_0_no_grid_env.py", line 535, in step
    self.k.simulation.simulation_step()
  File "/home/thankyou-always/TODO/research/bayesian_reasoning_traffic/flow/core/kernel/simulation/traci.py", line 56, in simulation_step
    self.kernel_api.simulationStep()
  File "/home/thankyou-always/sumo-1.6.0/tools/traci/connection.py", line 323, in simulationStep
    result = self._sendExact()
  File "/home/thankyou-always/sumo-1.6.0/tools/traci/connection.py", line 101, in _sendExact
    raise FatalTraCIError("connection closed by SUMO")
traci.exceptions.FatalTraCIError: connection closed by SUMO

Kevin
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top