diff options
author | rcoh <rcoh@mit.edu> | 2011-01-27 16:50:59 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2011-01-27 16:50:59 -0500 |
commit | 5fb3ea060025241105dc8e9a174513c112f9a133 (patch) | |
tree | e98b1b3eab0b05b0e518b08cbab086d224fd9250 /behaviors/Expand.py | |
parent | 5d29906fff79bc6e4ba83be7028e1380a0014d21 (diff) |
A metric $#%$-ton of changes. Added doc-strings to EVERYTHING. Phew. Fixed a massive bug that
increases performance in by up to a factor of 60. A bunch of new behaviors for the class.
Diffstat (limited to 'behaviors/Expand.py')
-rw-r--r-- | behaviors/Expand.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/behaviors/Expand.py b/behaviors/Expand.py index 3415966..323e71f 100644 --- a/behaviors/Expand.py +++ b/behaviors/Expand.py @@ -1,5 +1,9 @@ from operationscore.Behavior import * class Expand(Behavior): + """Expand is a behavior that generates a response that grows horizontally starting a location + specifed in input. Required Args: + <ExpandRate>123</ExpandRate> which is the expandrate in units/response""" + def processResponse(self, sensorInputs, recurs): ret = [] for data in sensorInputs: |