]> defiant.homedns.org Git - ros_wild_thumper.git/blobdiff - scripts/christmas.py
updated pyshared
[ros_wild_thumper.git] / scripts / christmas.py
index ae8c18466cfd15bda8c0e8647d17851b8741f9ff..9f493320037980db2d2f1df6a19c7045c9c32338 100755 (executable)
@@ -23,7 +23,7 @@ if __name__ == "__main__":
        while not rospy.is_shutdown():
                if light <= ldr_thres or val != 0:
                        now = datetime.now()
-                       if light <= ldr_thres and now.hour >= 18 and now.hour <= 22:
+                       if light <= ldr_thres and now.hour >= 18 and now.hour < 22:
                                val = max_val
                        else:
                                val = 0