if you plan to control a vehicle with moveToXY, you can add it with am empty routeID :traci.vehicle.add(vehicleID)
Am Sa., 23. Nov. 2019 um 18:14 Uhr schrieb Mirko Barthauer < m.bartha...@t-online.de>: > You can only move already existing vehicles, just as the function name > suggests and what can be deduced from the error message you got. Please > add first vehicle "125" and then call moveToXY. > > Regards > Mirko > > Am 23.11.2019 um 17:19 schrieb Mohsin Memon: > > Do I need to first insert a vehicle with ID '125' into the network or I > can > > directly place a new vehicle with ID '125' into the sumo network by > giving > > its position ? > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user