Hi Jakob,
I tried adding vehicle with ID '125' but again I am getting an error :
Error in traci.vehicle.add (line 44)
p.parse(vehID, routeID, varargin{:})
I am just calling traci.vehicle.add(veh_ID); in matlab.
veh_ID = '125'
I would be very much obliged if you reply me in this matter.
And I want to know how to add vehicle with ID '125' in sumo network using
route file: it shows : vehicle 125 has no route.
here is my code :
clear
close all
clc
import traci.constants
scenarioPath=['C:\Users\m_memon\Desktop\SUMO\CS.sumocfg'];
system(['sumo-gui -c' '"' scenarioPath '"' ' --remote-port 8813 --start&']);
traci.init
traci.vehicle.moveToXY(vehID, edgeID, lane, x, y, angle, keepRoute);
traci.vehicle.add(veh_ID);
traci.simulationStep();
maybe I am doing some mistakes in this, could you please help me with this.
--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user