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
Synopsis¶
Methods¶
def
__init__()def
getSpeed()def
setSpeed()
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__()¶
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)
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.