Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] TraCI quits on "Error: bad allocation"

Today's version already includes the crash fix. The other issue is fixed on github now (https://github.com/eclipse/sumo/issues/7075) and you can download the updated version tomorrow.

Am Di., 26. Mai 2020 um 11:41 Uhr schrieb marcelreppi <marcelreppi@xxxxxxxxx>:
Hello Jakob,

thank you so much for looking into it and fixing it so quickly!
Will the next nightly build include the fix?

I have tested your suggestion.
In my tests changing the period value worked but the change only seems to
take effect after the first rerouting with the initial value.

I started the simulation again with

<routing>
    <device.rerouting.probability value="1.0"/>
    <device.rerouting.period value="300"/>
</routing>

in my simulation config file.
Then I rerouted the vehicle with TraCI at insertion and immediately executed
this:

traci.vehicle.setParameter(vid, "device.rerouting.period", "10")

Here is an example of my vehroute-output (I removed some unrelated
attributes):

<routeDistribution>
  <route reason="traci:rerouteTraveltime" replacedAtTime="61.00" />
  <route reason="device.rerouting" replacedAtTime="360.00" />
  <route reason="device.rerouting" replacedAtTime="380.00" />
  <route reason="device.rerouting" replacedAtTime="390.00" />
  <route reason="device.rerouting" replacedAtTime="400.00" />
  <route reason="device.rerouting" replacedAtTime="410.00" />
  <route reason="device.rerouting" replacedAtTime="420.00" />
</routeDistribution>

It seems that there is still something wrong because I would expect the
change in rerouting period to take effect immediately.

Thanks a lot!

Best regards
Marcel



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
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