Please provide minimal input files and options for reproducing the problem.
Am Fr., 22. Apr. 2022 um 12:56 Uhr schrieb Alejandro Rodríguez Sánchez < [email protected]>: > Hi, > > I have recently started to use SUMO and I have noticed that I can't > achieve that randomTrips.py consider --edge-permission option when > determining routes. For example, when I use > python3 $SUMO_HOME/tools/randomTrips.py -n sumonetwork.net.xml -r > RandomRoutes.rou.xml --trip-attributes="departLane=\"best\" > departSpeed=\"max\" departPos=\"last\" type=\"vTypeDist\"" > --additional-file cars.add.xml --edge-permission passenger --prefix veh > --validate > > and use the output RandomRoutes.rou.xml as input for routeSampler.py, the > simulation raises the following error: *Error: Vehicle 'veh0_43' has no > valid route. No connection between edge '186641570#4' and edge '135567550#0*' > and I have seen that is because the destination edge does not allow > "passenger" vType. > vTypeDist is defined in cars.add.xml file. > > This error persists when using both --edge-permission > passenger --vehicle-class passenger in randomTrips.py. > If I am doing something wrong I would appreciate it if you can help me. > > Thanks. > _______________________________________________ > 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
