- setting the angle, currently does not work (http://sumo.dlr.de/trac.wsgi/ticket/1872) - if you can only see a single lane, you need to modify/rebuild your network. You could do this with Netedit (available in the development version). regards, Jakob
On 10/03/2015 05:43 PM, Sharan, S. wrote: > Hi Michael, > > Thank you for the clarification. > > I have another doubt regarding the initiation of the scenario. > The scenario includes, > 1. I have 4 vehicles in a straight road going from west to east with 2 lanes. > 2. Movement of vehicles on both the lanes are in west to east direction. > 3. The scenario starts with 2 vehicles on lane 0 and 2 vehicles on lane 1. > > So my question is how can I incorporate the above mentioned (Point 3) in sumo. > In which file should I make the necessary changes. > I tried changing route file by adding departLane="random" , but still all > the vehicles start from a single lane and I can only see one lane. Also I > have already created type file and mentioned numLanes="2". > > > Best Regards, > Sujit Sharan > > > ________________________________________ > From: Michael Behrisch [[email protected]] > Sent: 03 October 2015 14:15:46 > To: Sharan, S.; [email protected] > Subject: Re: [sumo-user] Lateral movement while lane changing > > Hi Sujit Sharan, > >> The simulation is to visualize the lane change of the platoon which > is governed by the >> Lateral controller (just like the controllers of "Cruise Control", > "Adaptive Cruise Control" in longitudinal direction). >> The lane change of the vehicles in SUMO has to be governed by the > Simulink/Matlab output as lateral velocity and yaw of the vehicle. >> (Not by lane and edges defined in SUMO). >> Traci.constants does have VAR_ANGLE, but can SUMO get input of yaw > angle or lateral velocity from client( Matlab/Simulink in this case). > > You could use traci.vehicle.moveToVTD which accepts precise coordinates > and an angle as input. You cannot set lateral velocity though, you would > need to update the position yourself in every step. > > Regards, > Michael > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
