PyANGKernel.GKSpeedChange

class GKSpeedChange

Modifies the speed of a section (in Km/h). It can modify the whole section’s speed or distinguish by lane and/or segment

Inheritance diagram of PyANGKernel.GKSpeedChange

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
getOverrideSectionMaximumSpeed()
Return type:

bool

Gets whether the new speed overrides the section speed limit (when the parameter returned is true) or the section speed limit and vehicle speed limit acceptance (when false)

getSpeed()
Return type:

str

The new speed. It can be a variable.

setOverrideSectionMaximumSpeed(override)
Parameters:

override – bool

Sets whether the new speed will override the section speed limit (when the parameter is true) or the section speed limit and vehicle speed limit acceptance (when false)

setSpeed(aspeed)
Parameters:

aspeed – str

The new speed. It can be a variable.