Created
November 5, 2013 19:06
-
-
Save Tendrid/7324314 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/favis/brunch_src/app/views/stats/inspection.coffee b/favis/brunch_src/app/views/stats/inspection.coffee | |
index 06d4e9a..373e9f2 100644 | |
--- a/favis/brunch_src/app/views/stats/inspection.coffee | |
+++ b/favis/brunch_src/app/views/stats/inspection.coffee | |
@@ -11,7 +11,8 @@ module.exports = class Inspection extends Dashboard | |
initialize: => | |
super() | |
@socketSubscribe("status/", @updateModal) | |
- @socketSubscribe("frame/", @receive) | |
+ @socketSubscribe("complete/", @loadByRecent) | |
+ #@socketSubscribe("frame/", @receive) | |
return @ | |
select:(params=[]) => | |
diff --git a/states-trigger-vision-plc.py b/states-trigger-vision-plc.py | |
index 243df1d..e2275cc 100644 | |
--- a/states-trigger-vision-plc.py | |
+++ b/states-trigger-vision-plc.py | |
@@ -154,6 +154,7 @@ def wait_for_vision_trigger_1(state): | |
core.process(f) | |
log.info("Vision plugin ran successful") | |
f.save() | |
+ state.core.publish('complete/', dict(u='data', m='Scan Complete')) | |
return state.core.state('wait_pfcs') | |
#~ taillight.image.show() | |
#~ state.transition('run_first_cameras') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment