aboutsummaryrefslogtreecommitdiff
path: root/behaviors
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-01-29 21:15:28 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-01-29 21:15:28 -0500
commit277a5143165d2553ce5e97f151cc6b3cea426468 (patch)
tree4e48c5b8a6a6d36d9f1bdb7702a2121ff557c37b /behaviors
parent9f69f7a2e174da12e6b2554c4270b5cadc52ff23 (diff)
A couple bits of cleanup to the firefly code
Diffstat (limited to 'behaviors')
-rw-r--r--behaviors/Flasher.py12
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: