You can use setParameter(vehID, "device.rerouting.period", "0") to disable period rerouting.
Am Sa., 3. Juni 2023 um 18:42 Uhr schrieb manos kampitakis < mankampita...@gmail.com>: > > > ---------- Forwarded message --------- > Από: manos kampitakis <mankampita...@gmail.com> > Date: Σάβ 3 Ιουν 2023 στις 7:01 μ.μ. > Subject: Exclude vehicles from rerouting > To: <u...@eclipse.org> > > > Hi all, > > Is there a way to deactivate a vehicle from rerouting? For example, I want > vehicles to reroute each 5 mins only if they are placed in a certain area > of my network. I tried to set the parameter "has.rerouting.devise" to > "false" but threw an error: "Device removal is not supported for device of > type 'rerouting' ". Is there another way to bypass this? Also, I think that > it would be good to include this in a later version. Thanks in advance. > > Best regards, > Manos > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user