Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] moveToXY

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.barthauer@xxxxxxxxxxx>:
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@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top