[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Adding a new vehicle
|
The error message indicates that the route with id 'i_r1` does not exist.
Thank you for your reply,
I tried to set the allow value of the road to "all", but this problem still occurs.
The annex is a road setting and program fragment diagram, as well as the program itself
Many thanks,
Yu Wang
Hi,
it may be that the vehicle is not allowed to drive on the edge. Please
check the vclass of the vehicle type and the permissions. If the problem
persists, please send the scenario.
Best regards,
Michael
Am 19.10.20 um 08:40 schrieb 謝昀宸:
> Hello,
> I want to add vehicles randomly in the simulation.
> I try traci.route.add and then traci.vehicle.add
> But when I run the simulation, an error message appears as follows:
> traci.exceptions.TraCIException: Invalid route 'i_r1' for vehicle 'i_v1'
>
> I have confirmed that the route is error-free because even if there is
> only one edge left on the route, there is still this problem
>
> What can I solve?
>
> Many thanks,
> Yu Wang
>
> _______________________________________________
> 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
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user