aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-01-11 13:16:59 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-01-11 13:16:59 -0500
commit9315ded6555a7afb8f11d96e5a4c446389f157cb (patch)
treeb52ab5c1cd63f622e423667bb700f52582505d2d
parentd9747bd0c2598a06baeaf16dca8ff3b6469d4613 (diff)
Some config changes to make everything a little more palatable.
-rw-r--r--behaviors/AddPixelEvent.py4
-rw-r--r--behaviors/LoopAndDie.xml2
-rw-r--r--config/Outdoor.xml2
-rw-r--r--layouts/50PixelStrip.xml2
-rw-r--r--renderers/SixStripUDP.xml4
5 files changed, 9 insertions, 5 deletions
diff --git a/behaviors/AddPixelEvent.py b/behaviors/AddPixelEvent.py
new file mode 100644
index 0000000..bf3cfff
--- /dev/null
+++ b/behaviors/AddPixelEvent.py
@@ -0,0 +1,4 @@
+from operationscore.Behavior import *
+class AddPixelEvent(Behavior):
+ def initBehavior(self):
+ className = self['Class']
diff --git a/behaviors/LoopAndDie.xml b/behaviors/LoopAndDie.xml
index af26562..e2940e4 100644
--- a/behaviors/LoopAndDie.xml
+++ b/behaviors/LoopAndDie.xml
@@ -1,6 +1,6 @@
<Behavior>
<Class>behaviors.RecursiveDecay</Class>
<Args>
- <InitialResponseCount>70</InitialResponseCount>
+ <InitialResponseCount>20</InitialResponseCount>
</Args>
</Behavior>
diff --git a/config/Outdoor.xml b/config/Outdoor.xml
index f0995b1..9ee0c3a 100644
--- a/config/Outdoor.xml
+++ b/config/Outdoor.xml
@@ -87,7 +87,7 @@
<Behavior Id="recursivedecay">
<InheritsFrom>behaviors/LoopAndDie.xml</InheritsFrom>
<Args>
- <InitialResponseCount>2000</InitialResponseCount>
+ <InitialResponseCount>200</InitialResponseCount>
</Args>
</Behavior>
<Behavior>
diff --git a/layouts/50PixelStrip.xml b/layouts/50PixelStrip.xml
index 11fa5e1..beabb97 100644
--- a/layouts/50PixelStrip.xml
+++ b/layouts/50PixelStrip.xml
@@ -3,6 +3,6 @@
<Args>
<pixelToPixelSpacing>4</pixelToPixelSpacing>
<spacing>4</spacing>
- <numPixels>500</numPixels>
+ <numPixels>50</numPixels>
</Args>
</PixelStrip>
diff --git a/renderers/SixStripUDP.xml b/renderers/SixStripUDP.xml
index f3c9e75..04f493b 100644
--- a/renderers/SixStripUDP.xml
+++ b/renderers/SixStripUDP.xml
@@ -3,11 +3,11 @@
<Args>
<Id>indoorRenderer</Id>
<PowerSupply>
- <IP>10.31.255.233</IP>
+ <IP>10.32.97.17</IP>
<PortMapping>{'strip1':1, 'strip2':2}</PortMapping>
</PowerSupply>
<PowerSupply>
- <IP>10.32.97.17</IP>
+ <IP>10.31.255.233</IP>
<PortMapping>{'strip3':1, 'strip4':2}</PortMapping>
</PowerSupply>
<PowerSupply>