aboutsummaryrefslogtreecommitdiff
path: root/inputs/RandomLocs.py
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-01-27 16:50:59 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-01-27 16:50:59 -0500
commit5fb3ea060025241105dc8e9a174513c112f9a133 (patch)
treee98b1b3eab0b05b0e518b08cbab086d224fd9250 /inputs/RandomLocs.py
parent5d29906fff79bc6e4ba83be7028e1380a0014d21 (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 'inputs/RandomLocs.py')
-rw-r--r--inputs/RandomLocs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/inputs/RandomLocs.py b/inputs/RandomLocs.py
index d1ce1c7..2719981 100644
--- a/inputs/RandomLocs.py
+++ b/inputs/RandomLocs.py
@@ -4,6 +4,9 @@ import util.Geo as Geo
import util.Strings as Strings
from operationscore.Input import *
class RandomLocs(Input):
+ """RandomLocs is an Input that generates RandomLocations at a preset time interval. Just a
+ prototype, some assembly required."""
+
def inputInit(self):
self['LastEvent'] = clock.time()
def sensingLoop(self): #TODO: move to params