From b38e2176a85f5629b640524c229d3924d0390203 Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Wed, 28 Jul 2021 10:02:05 +0200
Subject: [PATCH] add subscription request

---
 interfaces/SimpleScene/SimpleScene.proto | 26 ++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/interfaces/SimpleScene/SimpleScene.proto b/interfaces/SimpleScene/SimpleScene.proto
index 0574143..1506c94 100644
--- a/interfaces/SimpleScene/SimpleScene.proto
+++ b/interfaces/SimpleScene/SimpleScene.proto
@@ -56,3 +56,29 @@ message IposSimpleOrientation {
   float z = 3; // there is no orientation
   float w = 4; // available
 }
+
+message IposSubscriptionRequest {
+
+  string subscription_id = 1;
+
+  Selection type_selection = 2;
+  repeated string types = 3;
+
+  Selection object_selection = 4;
+  repeated string objects = 5;
+
+  Selection zone_selection = 6;
+  repeated string zones = 7;
+
+  double minimum_position_delta = 8;
+  double max_update_frequency = 9;
+
+}
+
+enum Selection {
+  SELECTION_UNSPECIFIED = 0;
+  SELECTION_ALL = 1;
+  SELECTION_NONE = 2;
+  SELECTION_ONLY_LIST = 3;
+  SELECTION_EXCEPT_LIST = 4;
+}
\ No newline at end of file
-- 
GitLab