@cobotar/protocol 0.19.8 → 0.19.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/process/v1/process_recipe_pb.ts +122 -10
- package/lib/process/v1/sequence_definition_pb.ts +81 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
20
20
|
* Describes the file process/v1/process_recipe.proto.
|
|
21
21
|
*/
|
|
22
22
|
export const file_process_v1_process_recipe: GenFile = /*@__PURE__*/
|
|
23
|
-
fileDesc("
|
|
23
|
+
fileDesc("Ch9wcm9jZXNzL3YxL3Byb2Nlc3NfcmVjaXBlLnByb3RvEgpwcm9jZXNzLnYxImsKE1JlY2lwZUFwcGxpY2FiaWxpdHkSKQoHaW5jbHVkZRgBIAMoCzIYLnZhcmlhbmNlLnYxLlZhcmlhbnRSdWxlEikKB2V4Y2x1ZGUYAiADKAsyGC52YXJpYW5jZS52MS5WYXJpYW50UnVsZSKLAwoNUHJvY2Vzc1JlY2lwZRIKCgJpZBgBIAEoCRIXCgRuYW1lGAIgASgJQgm6SAZyBIDxBAESDAoEaWNvbhgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIyCgR0eXBlGAUgASgOMhcucHJvY2Vzcy52MS5Qcm9jZXNzVHlwZUILukgIyAEBggECEAESHQoVcHJvZHVjdF9kZWZpbml0aW9uX2lkGAYgASgJEjYKDWFwcGxpY2FiaWxpdHkYByABKAsyHy5wcm9jZXNzLnYxLlJlY2lwZUFwcGxpY2FiaWxpdHkSGAoQcm9vdF9zZXF1ZW5jZV9pZBgIIAEoCRIUCgxzZXF1ZW5jZV9pZHMYCSADKAkSEAoIdGFza19pZHMYCiADKAkSKgoic3VwcG9ydGVkX2NvbnRhaW5lcl9kZWZpbml0aW9uX2lkcxgLIAMoCRI5ChNleHRlcm5hbF9yZWZlcmVuY2VzGAwgAygLMhwu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oYUFJPQ0VTU19UWVBFX0RJU0FTU0VNQkxZEAISGwoXUFJPQ0VTU19UWVBFX0lOU1BFQ1RJT04QAxIaChZQUk9DRVNTX1RZUEVfQ0hFQ0tMSVNUEAQSGAoUUFJPQ0VTU19UWVBFX0tJVFRJTkcQBRIcChhQUk9DRVNTX1RZUEVfTUFJTlRFTkFOQ0UQBkKxAQoOY29tLnByb2Nlc3MudjFCElByb2Nlc3NSZWNpcGVQcm90b1ABWjlnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcHJvY2Vzcy92MTtwcm9jZXNzdjGiAgNQWFiqAhNNZXNzYWdlcy5Qcm9jZXNzLlYxygIKUHJvY2Vzc1xWMeICFlByb2Nlc3NcVjFcR1BCTWV0YWRhdGHqAgtQcm9jZXNzOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_common_v1_external_references, file_process_v1_sequence_definition, file_process_v1_task_definition, file_validation_v1_predefined_string_rules, file_variance_v1_variant_rule]);
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* @generated from message process.v1.RecipeApplicability
|
|
@@ -130,6 +130,23 @@ export type ProcessRecipe = Message<"process.v1.ProcessRecipe"> & {
|
|
|
130
130
|
export const ProcessRecipeSchema: GenMessage<ProcessRecipe> = /*@__PURE__*/
|
|
131
131
|
messageDesc(file_process_v1_process_recipe, 1);
|
|
132
132
|
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message process.v1.ProcessRecipes
|
|
135
|
+
*/
|
|
136
|
+
export type ProcessRecipes = Message<"process.v1.ProcessRecipes"> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: repeated process.v1.ProcessRecipe items = 1;
|
|
139
|
+
*/
|
|
140
|
+
items: ProcessRecipe[];
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message process.v1.ProcessRecipes.
|
|
145
|
+
* Use `create(ProcessRecipesSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export const ProcessRecipesSchema: GenMessage<ProcessRecipes> = /*@__PURE__*/
|
|
148
|
+
messageDesc(file_process_v1_process_recipe, 2);
|
|
149
|
+
|
|
133
150
|
/**
|
|
134
151
|
* @generated from message process.v1.CreateProcessRecipe
|
|
135
152
|
*/
|
|
@@ -155,24 +172,119 @@ export type CreateProcessRecipe = Message<"process.v1.CreateProcessRecipe"> & {
|
|
|
155
172
|
* Use `create(CreateProcessRecipeSchema)` to create a new message.
|
|
156
173
|
*/
|
|
157
174
|
export const CreateProcessRecipeSchema: GenMessage<CreateProcessRecipe> = /*@__PURE__*/
|
|
158
|
-
messageDesc(file_process_v1_process_recipe,
|
|
175
|
+
messageDesc(file_process_v1_process_recipe, 3);
|
|
159
176
|
|
|
160
177
|
/**
|
|
161
|
-
* @generated from message process.v1.
|
|
178
|
+
* @generated from message process.v1.AddRootSequenceRequest
|
|
162
179
|
*/
|
|
163
|
-
export type
|
|
180
|
+
export type AddRootSequenceRequest = Message<"process.v1.AddRootSequenceRequest"> & {
|
|
164
181
|
/**
|
|
165
|
-
* @generated from field:
|
|
182
|
+
* @generated from field: string recipe_id = 1;
|
|
166
183
|
*/
|
|
167
|
-
|
|
184
|
+
recipeId: string;
|
|
168
185
|
};
|
|
169
186
|
|
|
170
187
|
/**
|
|
171
|
-
* Describes the message process.v1.
|
|
172
|
-
* Use `create(
|
|
188
|
+
* Describes the message process.v1.AddRootSequenceRequest.
|
|
189
|
+
* Use `create(AddRootSequenceRequestSchema)` to create a new message.
|
|
173
190
|
*/
|
|
174
|
-
export const
|
|
175
|
-
messageDesc(file_process_v1_process_recipe,
|
|
191
|
+
export const AddRootSequenceRequestSchema: GenMessage<AddRootSequenceRequest> = /*@__PURE__*/
|
|
192
|
+
messageDesc(file_process_v1_process_recipe, 4);
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from message process.v1.AddChildSequenceRequest
|
|
196
|
+
*/
|
|
197
|
+
export type AddChildSequenceRequest = Message<"process.v1.AddChildSequenceRequest"> & {
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: string recipe_id = 1;
|
|
200
|
+
*/
|
|
201
|
+
recipeId: string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: string sequence_id = 2;
|
|
205
|
+
*/
|
|
206
|
+
sequenceId: string;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Describes the message process.v1.AddChildSequenceRequest.
|
|
211
|
+
* Use `create(AddChildSequenceRequestSchema)` to create a new message.
|
|
212
|
+
*/
|
|
213
|
+
export const AddChildSequenceRequestSchema: GenMessage<AddChildSequenceRequest> = /*@__PURE__*/
|
|
214
|
+
messageDesc(file_process_v1_process_recipe, 5);
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @generated from message process.v1.RemoveSequenceRequest
|
|
218
|
+
*/
|
|
219
|
+
export type RemoveSequenceRequest = Message<"process.v1.RemoveSequenceRequest"> & {
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string recipe_id = 1;
|
|
222
|
+
*/
|
|
223
|
+
recipeId: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: string sequence_id = 2;
|
|
227
|
+
*/
|
|
228
|
+
sequenceId: string;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* If true, all children are assign to the parent of the sequence - if the sequence have a parent
|
|
232
|
+
*
|
|
233
|
+
* @generated from field: bool try_keep_children = 3;
|
|
234
|
+
*/
|
|
235
|
+
tryKeepChildren: boolean;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Describes the message process.v1.RemoveSequenceRequest.
|
|
240
|
+
* Use `create(RemoveSequenceRequestSchema)` to create a new message.
|
|
241
|
+
*/
|
|
242
|
+
export const RemoveSequenceRequestSchema: GenMessage<RemoveSequenceRequest> = /*@__PURE__*/
|
|
243
|
+
messageDesc(file_process_v1_process_recipe, 6);
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* @generated from message process.v1.AddChildTaskRequest
|
|
247
|
+
*/
|
|
248
|
+
export type AddChildTaskRequest = Message<"process.v1.AddChildTaskRequest"> & {
|
|
249
|
+
/**
|
|
250
|
+
* @generated from field: string recipe_id = 1;
|
|
251
|
+
*/
|
|
252
|
+
recipeId: string;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: string sequence_id = 2;
|
|
256
|
+
*/
|
|
257
|
+
sequenceId: string;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Describes the message process.v1.AddChildTaskRequest.
|
|
262
|
+
* Use `create(AddChildTaskRequestSchema)` to create a new message.
|
|
263
|
+
*/
|
|
264
|
+
export const AddChildTaskRequestSchema: GenMessage<AddChildTaskRequest> = /*@__PURE__*/
|
|
265
|
+
messageDesc(file_process_v1_process_recipe, 7);
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from message process.v1.RemoveTaskRequest
|
|
269
|
+
*/
|
|
270
|
+
export type RemoveTaskRequest = Message<"process.v1.RemoveTaskRequest"> & {
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: string recipe_id = 1;
|
|
273
|
+
*/
|
|
274
|
+
recipeId: string;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @generated from field: string task_id = 2;
|
|
278
|
+
*/
|
|
279
|
+
taskId: string;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Describes the message process.v1.RemoveTaskRequest.
|
|
284
|
+
* Use `create(RemoveTaskRequestSchema)` to create a new message.
|
|
285
|
+
*/
|
|
286
|
+
export const RemoveTaskRequestSchema: GenMessage<RemoveTaskRequest> = /*@__PURE__*/
|
|
287
|
+
messageDesc(file_process_v1_process_recipe, 8);
|
|
176
288
|
|
|
177
289
|
/**
|
|
178
290
|
* @generated from enum process.v1.ProcessType
|
|
@@ -14,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
14
14
|
* Describes the file process/v1/sequence_definition.proto.
|
|
15
15
|
*/
|
|
16
16
|
export const file_process_v1_sequence_definition: GenFile = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
17
|
+
fileDesc("CiRwcm9jZXNzL3YxL3NlcXVlbmNlX2RlZmluaXRpb24ucHJvdG8SCnByb2Nlc3MudjEi6AIKElNlcXVlbmNlRGVmaW5pdGlvbhIKCgJpZBgBIAEoCRIXCgRuYW1lGAIgASgJQgm6SAZyBIDxBAESDAoEaWNvbhgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIgCg9zZXF1ZW5jZV9udW1iZXIYBSABKAVCB7pIBBoCKAASGgoScGFyZW50X3NlcXVlbmNlX2lkGAYgASgJEjsKCG9wZXJhdG9yGAcgASgOMhwucHJvY2Vzcy52MS5TZXF1ZW5jZU9wZXJhdG9yQgu6SAjIAQGCAQIQARIaChJjaGlsZF9zZXF1ZW5jZV9pZHMYCCADKAkSFgoOY2hpbGRfdGFza19pZHMYCSADKAkSLgoMbG9jYWxfdGFyZ2V0GAogASgLMhguZ2VvbWV0cnkudjEuTG9jYWxUYXJnZXQSEAoIb3B0aW9uYWwYCyABKAgSGQoRY2FuX2J1bGtfY29tcGxldGUYDCABKAgiRAoTU2VxdWVuY2VEZWZpbml0aW9ucxItCgVpdGVtcxgBIAMoCzIeLnByb2Nlc3MudjEuU2VxdWVuY2VEZWZpbml0aW9uKrYBChBTZXF1ZW5jZU9wZXJhdG9yEiEKHVNFUVVFTkNFX09QRVJBVE9SX1VOU1BFQ0lGSUVEEAASHQoZU0VRVUVOQ0VfT1BFUkFUT1JfT1JERVJFRBABEh4KGlNFUVVFTkNFX09QRVJBVE9SX1BBUkFMTEVMEAISHwobU0VRVUVOQ0VfT1BFUkFUT1JfRVhDTFVTSVZFEAMSHwobU0VRVUVOQ0VfT1BFUkFUT1JfSU5DTFVTSVZFEARCtgEKDmNvbS5wcm9jZXNzLnYxQhdTZXF1ZW5jZURlZmluaXRpb25Qcm90b1ABWjlnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcHJvY2Vzcy92MTtwcm9jZXNzdjGiAgNQWFiqAhNNZXNzYWdlcy5Qcm9jZXNzLlYxygIKUHJvY2Vzc1xWMeICFlByb2Nlc3NcVjFcR1BCTWV0YWRhdGHqAgtQcm9jZXNzOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_geometry_v1_local_target, file_validation_v1_predefined_string_rules]);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @generated from message process.v1.SequenceDefinition
|
|
@@ -106,28 +106,95 @@ export const SequenceDefinitionsSchema: GenMessage<SequenceDefinitions> = /*@__P
|
|
|
106
106
|
messageDesc(file_process_v1_sequence_definition, 1);
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
+
* Defines how the children of a SequenceDefinition are executed and how the
|
|
110
|
+
* sequence determines completion.
|
|
111
|
+
*
|
|
112
|
+
* A sequence may contain both child sequences and tasks. The operator
|
|
113
|
+
* determines the control-flow semantics for those children.
|
|
114
|
+
*
|
|
109
115
|
* @generated from enum process.v1.SequenceOperator
|
|
110
116
|
*/
|
|
111
117
|
export enum SequenceOperator {
|
|
112
118
|
/**
|
|
119
|
+
* Default / undefined behavior.
|
|
120
|
+
*
|
|
121
|
+
* Should normally not appear in valid process definitions. Runtimes may
|
|
122
|
+
* treat this as SEQUENCE for backward compatibility or reject the recipe
|
|
123
|
+
* during validation.
|
|
124
|
+
*
|
|
113
125
|
* @generated from enum value: SEQUENCE_OPERATOR_UNSPECIFIED = 0;
|
|
114
126
|
*/
|
|
115
127
|
UNSPECIFIED = 0,
|
|
116
128
|
|
|
117
129
|
/**
|
|
118
|
-
*
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
*
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
* Children execute sequentially in the order they are defined.
|
|
131
|
+
*
|
|
132
|
+
* Each child starts only after the previous child has completed.
|
|
133
|
+
* The sequence completes when the final child completes.
|
|
134
|
+
*
|
|
135
|
+
* Example:
|
|
136
|
+
* Pick part → Align part → Fasten part → Inspect assembly
|
|
137
|
+
*
|
|
138
|
+
* @generated from enum value: SEQUENCE_OPERATOR_ORDERED = 1;
|
|
139
|
+
*/
|
|
140
|
+
ORDERED = 1,
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* All children may execute concurrently.
|
|
144
|
+
*
|
|
145
|
+
* The runtime may start all children at the same time if resources allow.
|
|
146
|
+
* The sequence completes only when all children have completed.
|
|
147
|
+
*
|
|
148
|
+
* This operator is commonly used for human-robot collaboration or when
|
|
149
|
+
* multiple independent tasks can be performed in parallel.
|
|
150
|
+
*
|
|
151
|
+
* Example:
|
|
152
|
+
* Robot holds component
|
|
153
|
+
* Human installs screws
|
|
154
|
+
* Vision system verifies alignment
|
|
155
|
+
*
|
|
156
|
+
* @generated from enum value: SEQUENCE_OPERATOR_PARALLEL = 2;
|
|
157
|
+
*/
|
|
158
|
+
PARALLEL = 2,
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Exactly one child is selected and executed.
|
|
162
|
+
*
|
|
163
|
+
* The runtime chooses a single branch based on conditions such as:
|
|
164
|
+
* - variant configuration
|
|
165
|
+
* - resource availability
|
|
166
|
+
* - actor capabilities
|
|
167
|
+
* - runtime decision logic
|
|
168
|
+
*
|
|
169
|
+
* The sequence completes when the selected child completes.
|
|
170
|
+
*
|
|
171
|
+
* Example:
|
|
172
|
+
* Robot tightening procedure
|
|
173
|
+
* OR
|
|
174
|
+
* Human tightening procedure
|
|
175
|
+
*
|
|
176
|
+
* @generated from enum value: SEQUENCE_OPERATOR_EXCLUSIVE = 3;
|
|
177
|
+
*/
|
|
178
|
+
EXCLUSIVE = 3,
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* One or more children may execute.
|
|
182
|
+
*
|
|
183
|
+
* The runtime evaluates each child independently and may execute any
|
|
184
|
+
* subset of them based on conditions such as variant configuration,
|
|
185
|
+
* process parameters, or runtime state.
|
|
186
|
+
*
|
|
187
|
+
* The sequence completes when all selected children have completed.
|
|
188
|
+
*
|
|
189
|
+
* Example:
|
|
190
|
+
* Optional inspections:
|
|
191
|
+
* - Visual inspection
|
|
192
|
+
* - Torque verification
|
|
193
|
+
* - Leak test
|
|
194
|
+
*
|
|
195
|
+
* @generated from enum value: SEQUENCE_OPERATOR_INCLUSIVE = 4;
|
|
196
|
+
*/
|
|
197
|
+
INCLUSIVE = 4,
|
|
131
198
|
}
|
|
132
199
|
|
|
133
200
|
/**
|