diff options
author | rcoh <rcoh@mit.edu> | 2011-01-29 21:15:28 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2011-01-29 21:15:28 -0500 |
commit | 277a5143165d2553ce5e97f151cc6b3cea426468 (patch) | |
tree | 4e48c5b8a6a6d36d9f1bdb7702a2121ff557c37b /behaviors | |
parent | 9f69f7a2e174da12e6b2554c4270b5cadc52ff23 (diff) |
A couple bits of cleanup to the firefly code
Diffstat (limited to 'behaviors')
-rw-r--r-- | behaviors/Flasher.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/behaviors/Flasher.py b/behaviors/Flasher.py index 4a2dad4..1d79d41 100644 --- a/behaviors/Flasher.py +++ b/behaviors/Flasher.py @@ -1,14 +1,14 @@ -# Implements a pulsing/flashing behavior. -# Jim Salem: jsalem@gmail.com -# -# Args: -# Factor - The speed of flashing. Must be b/w 0 and 1. Default is .95 -# from operationscore.Behavior import * import util.ColorOps as colorops import pdb class Flasher(Behavior): + """Implements a pulsing/flashing behavior. + Jim Salem: jsalem@gmail.com + + Args: + Factor - The speed of flashing. Must be b/w 0 and 1. Default is .95 + """ def processResponse(self, sensorInputs, recursiveInputs): ret = [] for response in sensorInputs: |