1) you cannot change it from TraCI but you can change it in your sumo configuration by loading a gui-settings file: http://sumo-sim.org/wiki/SUMO-GUI#Configuration_Files
2) you can set lane change mode to 0b1000010101 (533) to disable the (regulatory) changes to the right. However, this will make it harder for faster vehicles to overtake slower ones since slower vehicle do not move to the right by themselves. Vehicles should still change lanes to overtake a standing obstacle when using this mode. regards, Jakob 2014-06-06 8:59 GMT+02:00 Mani Amoozadeh <[email protected]>: > > Hi, > Question 1: I was wondering whether we can change the 'Show As' setting > of > Vehicles in SUMO-gui from TraCI ? > I want to change it to 'raster image', every time the simulation starts. > Question 2: I am simulating a long straight three-lane highway where > vehicles are inserted into either lane 0 or 1 or 2 randomly. > Vehicle adding is done through TraCI. Vehicles are added into the > corresponding lane perfectly, but they eventually change to lane 0. > So after 200 meters, you can see that all vehicles are travelling on > lane 0! > Can I change this behavious in a way that each vehicle continue its > journy > from the lane that was inserted into? > I tried to change the lane change mode from its default value ( > 0b1001010101 > = 597), according to the documentation, but other problem occurred. > When vehicles encounter an obstacle ahead (a non moving vehicle), they > do > not change lane to pass it and they start to accumulate behind the > obstacle! > Thank you in advanced. > - Mani > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
