TraCI/Change Lane State

From Sumo
Jump to: navigation, search

Command 0xc3: Change Lanes State

ubyte string ubyte <value_type>
Variable Lane ID Type of the value New Value

Changes the state of a lane. Because it is possible to change different values of a lane, the given value may have different types. The following values can be changed, the type of the value to given is also shown in the table.

Overview Changeable Lane Variables
Variable ValueType Description Python Method
allowed vehicle classes (0x34) stringList Sets the given classes as classes allowed on the lane. setAllowed
disallowed vehicle classes (0x35) stringList Sets the given classes as classes not allowed on the lane. setDisallowed
length (0x44) double Sets the given value as the lane's new length [m]. setLength
vmax (0x41) double Sets the given value as the new maximum velocity allowed on the lane [m/s]. setMaxSpeed