23 lines
632 B
Python
23 lines
632 B
Python
"""
|
|
This program has been developed by students from the bachelor Computer Science at Utrecht
|
|
University within the Software Project course.
|
|
© Copyright Utrecht University (Department of Information and Computing Sciences)
|
|
"""
|
|
|
|
from enum import Enum
|
|
|
|
PROGRAM_STATUS = b"internal/program_status"
|
|
"""A topic key for the program status."""
|
|
|
|
|
|
class ProgramStatus(Enum):
|
|
"""
|
|
Used in internal communication, to tell agents what the status of the program is.
|
|
|
|
For example, the VAD agent only starts listening when the program is RUNNING.
|
|
"""
|
|
|
|
STARTING = b"starting"
|
|
RUNNING = b"running"
|
|
STOPPING = b"stopping"
|