From 10d918d943249d2709846b9c369b6e5b17d82ac6 Mon Sep 17 00:00:00 2001
From: rschoene <rene.schoene@tu-dresden.de>
Date: Tue, 12 Apr 2022 15:02:06 +0200
Subject: [PATCH] add coordinator start buttons

---
 main.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/main.py b/main.py
index 8e30332..ccb658b 100644
--- a/main.py
+++ b/main.py
@@ -34,10 +34,12 @@ commands = {
     'send-place-a-model': ('place-a/model', '1'),
     'send-place-a-model-details': ('place-a/model', 'details'),
     'send-place-a-rewind': ('place-a/rewind', '1'),
+    'send-place-a-start': ('coordinating/rag-a/command', 'start'),
     'send-place-a-exit': ('place-a/exit', '1'),
     'send-place-b-model': ('place-b/model', '1'),
     'send-place-b-model-details': ('place-b/model', 'details'),
     'send-place-b-rewind': ('place-b/rewind', '1'),
+    'send-place-b-start': ('coordinating/rag-b/command', 'start'),
     'send-place-b-exit': ('place-b/exit', '1'),
     'send-place-a-demo-objRed-blue': ('place-a/demo/move/objectRed1/blue', '1'),
     'send-place-a-demo-objRed-red': ('place-a/demo/move/objectRed1/red', '1'),
@@ -161,6 +163,7 @@ app.layout = html.Div([
             html.Button('Model', id='send-place-a-model', style=button_style_normal),
             html.Button('Model (Details)', id='send-place-a-model-details', style=button_style_normal),
             html.Button('Rewind', id='send-place-a-rewind', style=button_style_normal),
+            html.Button('Start', id='send-place-a-start', style=button_style_normal),
             html.Button('Exit', id='send-place-a-exit', style=button_style_exit),
             html.Button('obj-Red -> Red', id='send-place-a-demo-objRed-red', style=button_style_normal),
             html.Button('obj-Red -> Blue', id='send-place-a-demo-objRed-blue', style=button_style_normal),
@@ -170,6 +173,7 @@ app.layout = html.Div([
             html.Button('Model', id='send-place-b-model', style=button_style_normal),
             html.Button('Model (Details)', id='send-place-b-model-details', style=button_style_normal),
             html.Button('Rewind', id='send-place-b-rewind', style=button_style_normal),
+            html.Button('Start', id='send-place-b-start', style=button_style_normal),
             html.Button('Exit', id='send-place-b-exit', style=button_style_exit),
             html.Button('obj-Red -> Red', id='send-place-b-demo-objRed-red', style=button_style_normal),
         ], className="four columns"),
-- 
GitLab