From 620bfbf024afce33898e18c5012031d266384d71 Mon Sep 17 00:00:00 2001 From: Johannes Mey <johannes.mey@tu-dresden.de> Date: Wed, 28 Jul 2021 10:45:25 +0200 Subject: [PATCH] apply style guide --- interfaces/SimpleScene/SimpleScene.proto | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/interfaces/SimpleScene/SimpleScene.proto b/interfaces/SimpleScene/SimpleScene.proto index 1506c94..1ac6410 100644 --- a/interfaces/SimpleScene/SimpleScene.proto +++ b/interfaces/SimpleScene/SimpleScene.proto @@ -1,25 +1,25 @@ syntax = "proto3"; message IposConfig { - repeated IposFrame frame = 1; - repeated IposObject object = 2; + repeated IposFrame frames = 1; + repeated IposObject objects = 2; } message IposPositionUpdate { - repeated IposObject object = 1; + repeated IposObject objects = 1; } message IposObject { // required: string id = 1; // unique for each object, but there may be multiple sensors - string sensorId = 2; // unique + string sensor_id = 2; // unique string type = 3; // Applications may send BOX,BIN,ZONE,ROBOT,HUMAN,OTHER // optional: IposRelativePosition position = 4; IposSimpleOrientation orientation = 5; - string lastPosUpdate = 6; // https://en.wikipedia.org/wiki/ISO_8601 + string last_pos_update = 6; // https://en.wikipedia.org/wiki/ISO_8601 } @@ -32,7 +32,7 @@ message IposFrame { // relative coordinates message IposRelativePosition { - string IposFrame_id = 1; + string frame_id = 1; IposPosition pos = 2; } -- GitLab