From 277a5143165d2553ce5e97f151cc6b3cea426468 Mon Sep 17 00:00:00 2001 From: rcoh Date: Sat, 29 Jan 2011 21:15:28 -0500 Subject: A couple bits of cleanup to the firefly code --- behaviors/Flasher.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'behaviors') 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: -- cgit v1.2.3