Difference between revisions of "Simulation/Variable Speed Signs"

From Sumo
Jump to navigation Jump to search
(New page: =Variable Speed Signs (VSS)= One of the trigger objects that may be specified within an additional file allows the simulation of variable speed signs. The syntax for such an object is: <sp...)
 
(Variable Speed Signs (VSS))
Line 1: Line 1:
 
=Variable Speed Signs (VSS)=
 
=Variable Speed Signs (VSS)=
One of the trigger objects that may be specified within an additional file allows the simulation of variable speed signs. The syntax for such an object is: <span class="xml><variableSpeedSign id="<VSS_ID>" lanes="<LANE_ID>[;<LANE_ID>]*" file="<DEF_FILE>"/></span>.
+
One of the trigger objects that may be specified within an additional file allows the simulation of variable speed signs. The syntax for such an object is: <span class="inlxml"><variableSpeedSign id="<VSS_ID>" lanes="<LANE_ID>[;<LANE_ID>]*" file="<DEF_FILE>"/></span>.
  
 
A file name must be supplied, called <DEF_FILE> within the schema above. This file must contain the information about when a certain speed shall be set onto the lane. This file has the following format:
 
A file name must be supplied, called <DEF_FILE> within the schema above. This file must contain the information about when a certain speed shall be set onto the lane. This file has the following format:

Revision as of 18:57, 8 April 2009

Variable Speed Signs (VSS)

One of the trigger objects that may be specified within an additional file allows the simulation of variable speed signs. The syntax for such an object is: <variableSpeedSign id="<VSS_ID>" lanes="<LANE_ID>[;<LANE_ID>]*" file="<DEF_FILE>"/>.

A file name must be supplied, called <DEF_FILE> within the schema above. This file must contain the information about when a certain speed shall be set onto the lane. This file has the following format:

<vss>
   <step time="<TIME>" speed="<SPEED>"/>
   <step time="<TIME>" speed="<SPEED>"/>

   ... further entries ...

   <step time="<TIME>" speed="<SPEED>"/>
</vss>

Each step is a combination of the time the next new speed shall be set and the speed to set itself.

A small example for usage of vss' within SUMO may be found in "data/examples/extended/variable_speed_signs".