-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from chrisgilldc/new_config
0.2.0-Alpha
- Loading branch information
Showing
14 changed files
with
1,705 additions
and
1,122 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,53 @@ | ||
# Various constants | ||
|
||
## General constants. Multiple types of objects need these. | ||
GEN_UNKNOWN = 'unknown' | ||
GEN_UNAVAILABLE = 'unavailable' | ||
|
||
## Bay states | ||
BAYSTATE_DOCKING = 'docking' | ||
BAYSTATE_UNDOCKING = 'undocking' | ||
BAYSTATE_READY = 'ready' | ||
BAYSTATE_NOTREADY = 'not_ready' | ||
|
||
## System States | ||
SYSSTATE_READY = 'ready' | ||
SYSSTATE_DOCKING = 'docking' | ||
SYSSTATE_UNDOCKING = 'undocking' | ||
SYSSTATE_MOTION = (SYSSTATE_DOCKING, SYSSTATE_UNDOCKING) | ||
|
||
## Sensor states. | ||
STATE_FAULT = "fault" | ||
STATE_DISABLED = "disabled" | ||
STATE_ENABLED = "enabled" | ||
STATE_RANGING = "ranging" | ||
STATE_NOTRANGING = "not_ranging" | ||
SENSTATE_FAULT = 'fault' | ||
SENSTATE_DISABLED = 'disabled' | ||
SENSTATE_ENABLED = 'enabled' | ||
SENSTATE_RANGING = 'ranging' | ||
SENSTATE_NOTRANGING = 'not_ranging' | ||
|
||
# Non-Quantity values the sensor can be in without | ||
SENSOR_VALUE_OK = "ok" | ||
SENSOR_VALUE_WEAK = "weak" | ||
SENSOR_VALUE_STRONG = "strong" | ||
SENSOR_VALUE_FLOOD = "flood" | ||
SENSOR_VALUE_OK = 'ok' | ||
SENSOR_VALUE_WEAK = 'weak' | ||
SENSOR_VALUE_STRONG = 'strong' | ||
SENSOR_VALUE_FLOOD = 'flood' | ||
SENSOR_VALUE_TOOCLOSE = 'tooclose' | ||
|
||
# Detector quality values. | ||
DETECTOR_QUALITY_OK = "ok" | ||
DETECTOR_QUALITY_BASE = "base" | ||
DETECTOR_QUALITY_FINAL = "final" | ||
DETECTOR_QUALITY_PARK = "park" | ||
DETECTOR_QUALITY_BACKUP = "backup" | ||
DETECTOR_QUALITY_NOOBJ = "no_object" | ||
DETECTOR_QUALITY_EMERG = "emergency" | ||
DETECTOR_QUALITY_DOOROPEN = "door_open" | ||
DETECTOR_NOREADING = "no_reading" | ||
DETECTOR_QUALITY_OK = 'ok' | ||
DETECTOR_QUALITY_WARN = 'warning' | ||
DETECTOR_QUALITY_CRIT = 'critical' | ||
DETECTOR_QUALITY_BASE = 'base' | ||
DETECTOR_QUALITY_FINAL = 'final' | ||
DETECTOR_QUALITY_PARK = 'park' | ||
DETECTOR_QUALITY_BACKUP = 'backup' | ||
DETECTOR_QUALITY_NOOBJ = 'no_object' | ||
DETECTOR_QUALITY_EMERG = 'emergency' | ||
DETECTOR_QUALITY_DOOROPEN = 'door_open' | ||
DETECTOR_QUALITY_BEYOND = 'beyond_range' | ||
DETECTOR_NOREADING = 'no_reading' | ||
DETECTOR_NOINTERCEPT = 'not_intercepted' | ||
|
||
# Directional values | ||
DIR_FWD = 'forward' | ||
DIR_REV = 'reverse' | ||
DIR_STILL = 'still' | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.