The error message indicates that the route with id 'i_r1` does not exist. Am Do., 22. Okt. 2020 um 04:58 Uhr schrieb 謝昀宸 <[email protected]>:
> 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 > > > Michael Behrisch <[email protected]> 於 2020年10月22日 週四 上午2:22寫道: > >> 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 >> > [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 >> > _______________________________________________ > 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
