From cb69d2e1c7ced951cbf7a31ee286b0ed92cab8a8 Mon Sep 17 00:00:00 2001 From: rcoh Date: Fri, 18 Feb 2011 16:56:43 -0500 Subject: Adding Epydoc generated docs. --- html/SmootLight.behaviors.DebugBehavior-pysrc.html | 210 +++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 html/SmootLight.behaviors.DebugBehavior-pysrc.html (limited to 'html/SmootLight.behaviors.DebugBehavior-pysrc.html') diff --git a/html/SmootLight.behaviors.DebugBehavior-pysrc.html b/html/SmootLight.behaviors.DebugBehavior-pysrc.html new file mode 100644 index 0000000..ab6181c --- /dev/null +++ b/html/SmootLight.behaviors.DebugBehavior-pysrc.html @@ -0,0 +1,210 @@ + + + + + SmootLight.behaviors.DebugBehavior + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package SmootLight :: + Package behaviors :: + Module DebugBehavior + + + + + + +
[hide private]
[frames] | no frames]
+
+

Source Code for Module SmootLight.behaviors.DebugBehavior

+
+ 1  from operationscore.Behavior import *  
+ 2  from logger import main_log 
+ 3  import pdb 
+
4 -class DebugBehavior(Behavior): +
5 """DebugBehavior simply writes all of its inputs to the logs, currently at the ERROR level for + 6 easy visibility. Will be changed to DEBUG or INFO in the future""" + 7 +
8 - def processResponse(self, sensorInputs, recursiveInputs): +
9 if sensorInputs != []: +10 main_log.error('Sensor Inputs: ' + str(sensorInputs)) +11 return ([], []) +
12 +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + -- cgit v1.2.3