Multiple parkingAreaReroute definitions must be placed in the same rerouter to be used as alternatives for each other. I recommend using the tool https://sumo.dlr.de/docs/Tools/Misc.html#generateparkingarearerouterspy to obtain rerouter definitions for parking search.
regards, Jakob Am Sa., 4. Dez. 2021 um 15:29 Uhr schrieb 何润恺 <[email protected]>: > Dear Users, > I met an issue when I used the sumo parkingAreaReroute function. I want > the blue cars, which wait in front of full occupied parking areas, to > reroute to the other parking spaces. > The route for the blue car is as following: > > > *<route id="trip_parking_1.1" edges="-gneE4 gneE1 -33656211#7 115536558#5 > -355983686.19"> <stop parkingArea="parkingArea_0" > duration="3600.00"/></route>* > But it seems they didn't move, just waited here and waited until the end > of teleporting. > The rerouter xml file is as follows: > > > > > * <rerouter id="myRerouter" edges="58867972 115536558#5 -355983686.19"> > <interval begin="0" end="3600"> <parkingAreaReroute > id="parkingArea_3.1" probability="1"/> </interval> </rerouter>* > Among them,* parkingArea_3.1* is another parking space and is still free. > And for the blue car I have reset the: parking.probability.weight and > parking.distanceto.weight > > > > * <vType id="Parkingflow" color='blue' accel="2" decel="4.5" > departSpeed="max" vClass="passenger"> <param > key="parking.probability.weight" value="1"/> <param > key="parking.distanceto.weight" value="0"/> </vType>* > > Thanks a lot for your help! > > BR, > Runkai > > > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
