Source code for qvl.yield_sign
from qvl.actor import QLabsActor
import math
import struct
[docs]class QLabsYieldSign(QLabsActor):
"""This class is for spawning yield signs."""
ID_YIELD_SIGN = 10070
"""Class ID"""
def __init__(self, qlabs, verbose=False):
""" Constructor Method
:param qlabs: A QuanserInteractiveLabs object
:param verbose: (Optional) Print error information to the console.
:type qlabs: object
:type verbose: boolean
"""
self._qlabs = qlabs
self._verbose = verbose
self.classID = self.ID_YIELD_SIGN
return