in status_led_pkg/status_led_pkg/status_led_node.py [0:0]
def start(self, effect, **keyword_args):
"""Helper function to add specific effect to the effect queue with the required arguments.
Args:
effect (int): Flag identifying the type of the LED effect.
"""
if effect == constants.SupportedLEDEffects.SOLID_COLOR:
self.effect_queue.put((self.effect_solid_color, keyword_args))
elif effect == constants.SupportedLEDEffects.TWO_COLOR_SIREN:
self.effect_queue.put((self.effect_two_color_siren, keyword_args))