harmoni_common_lib.constants¶
Module Contents¶
Classes¶
Specifies all valid action types. |
|
State describes the status of a service. |
|
Generic enumeration. |
|
Generic enumeration. |
|
Generic enumeration. |
|
Generic enumeration. |
|
Generic enumeration. |
- class harmoni_common_lib.constants.ActionType¶
Bases:
enum.IntEnumSpecifies all valid action types.
- OFF = 0¶
- ON = 1¶
- PAUSE = 2¶
- REQUEST = 3¶
- DO = 4¶
- class harmoni_common_lib.constants.State¶
Bases:
enum.IntEnumState 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.EnumGeneric 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.EnumGeneric 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.EnumGeneric enumeration.
Derive from this class to define new enumerations.
- bot = /harmoni/dialoging/bot/¶