harmoni_common_lib.constants

Module Contents

Classes

ActionType

Specifies all valid action types.

State

State describes the status of a service.

SensorNameSpace

Generic enumeration.

ActuatorNameSpace

Generic enumeration.

DialogueNameSpace

Generic enumeration.

DetectorNameSpace

Generic enumeration.

Resources

Generic enumeration.

class harmoni_common_lib.constants.ActionType

Bases: enum.IntEnum

Specifies all valid action types.

OFF = 0
ON = 1
PAUSE = 2
REQUEST = 3
DO = 4
class harmoni_common_lib.constants.State

Bases: enum.IntEnum

State describes the status of a service.

INIT: The service has been initialized and is ready to recieve a request. START: The service is doing a long running action. REQUEST: The service has made a request and is waiting for the response. SUCCESS: The service has successfully completed an action or request. FAILED: The service failed to complete an action or request. PAUSE: The service is paused.

INIT = 0
START = 1
REQUEST = 2
SUCCESS = 3
FAILED = 4
PAUSE = 5
class harmoni_common_lib.constants.SensorNameSpace

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

microphone = /harmoni/sensing/microphone/
camera = /harmoni/sensing/camera/
class harmoni_common_lib.constants.ActuatorNameSpace

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

speaker = /harmoni/actuating/speaker/
face = /harmoni/actuating/face/
tts = /harmoni/actuating/tts/
web = /harmoni/actuating/web/
gesture = /harmoni/actuating/gesture/
class harmoni_common_lib.constants.DialogueNameSpace

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

bot = /harmoni/dialoging/bot/
class harmoni_common_lib.constants.DetectorNameSpace

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

stt = /harmoni/detecting/stt/
face_detect = /harmoni/detecting/face_detect/
class harmoni_common_lib.constants.Resources

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

face = ['eyes', 'mouth', 'nose']