Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Loading simulation fails when collision has occurred

save state snippet* 
<vehicle id="-gneE1__gneE2__light.34" type="DEFAULT_VEHTYPE" depart="1274.00" departLane="best" departSpeed="max" speedFactor="0.93" route="!-gneE1__gneE2__light" state="1274000 0 5.10 0 1339000 1 1" pos="6.31" speed="0.00" posLat="0.00">
    <stop lane=":gneJ0_8_0" actualArrival="1318.00" depart="1328.00"/>
    <stop lane=":gneJ0_8_0" startPos="6.31" endPos="6.509999999999999" actualArrival="1331.00"/>
    <device id="tripinfo_-gneE1__gneE2__light.34" state="-gneE1_2 0.00 12.88 281.30"/>
  </vehicle>

On Fri, Oct 16, 2020 at 1:40 PM Marcelo Andrade Rodrigues D Almeida <md@xxxxxxxxx> wrote:
Thank you for your reply

The stop tag seems a lot more complex than I previously anticipated (combination of attributes such as startPos, EndPos, actualArrival, depart, duration, among possible others)

While I'm trying to work around the issue and move on, I stepped on this another case (save state attached)

save state snippet
state="1274000 0 5.10 0 1339000 1 1" pos="6.31" speed="0.00" posLat="0.00">
    <stop lane=":gneJ0_8_0" actualArrival="1318.00" depart="1328.00"/>
    <stop lane=":gneJ0_8_0" startPos="6.31" endPos="6.509999999999999" actualArrival="1331.00"/>
    <device id="tripinfo_-gneE1__gneE2__light.34" state="-gneE1_2 0.00 12.88 281.30"/>
  </vehicle>

error
"Error: stop for vehicle '-gneE1__gneE2__light.34' on lane ':gneJ0_8_0' is not downstream the current route."


Sincerely,

Marcelo d'Almeida

On Thu, Oct 15, 2020 at 5:01 PM Michael Behrisch <oss@xxxxxxxxxxx> wrote:
Hi,
it is a bug, thanks for reporting. Now tracked here:
https://github.com/eclipse/sumo/issues/7696

Best regards,
Michael

Am 15.10.20 um 19:24 schrieb Marcelo Andrade Rodrigues D Almeida:
> Hi everyone,
>
> When I save the simulation within collision stop time
> 'collision.stoptime', I cannot load it later
>
> I receive the following when trying to load
>
> "
> Error: Invalid start or end position for stop on lane ':gneJ0_17_0' in
> vehicle '-gneE1__gneE2__light.7'.
> Error: Invalid start or end position for stop on lane ':gneJ0_11_0' in
> vehicle '-gneE2__gneE0__light.10'.
> "
>
> and the save state file problematic lines are the ones with stop tags
> <stop lane=":gneJ0_17_0" startPos="8.11" endPos="8.11"
> actualArrival="376.00"/>
> <stop lane=":gneJ0_11_0" startPos="4.36" endPos="4.36"
> actualArrival="375.00"/>
>
> Fow now I will have to remove these lines 'manually' and add remaining
> stop time by hand, so collision configuration is respected
>
> Is this somewhat related to some 'Know Issues' or something already
> reported?
>
> Thank you in advance
>
> Sincerely,
>
> Marcelo d'Almeida
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
>


_______________________________________________
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