openarm-idl-py 26.7.1__tar.gz

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.
Files changed (51) hide show
  1. openarm_idl_py-26.7.1/PKG-INFO +22 -0
  2. openarm_idl_py-26.7.1/README.md +3 -0
  3. openarm_idl_py-26.7.1/pyproject.toml +3 -0
  4. openarm_idl_py-26.7.1/setup.cfg +4 -0
  5. openarm_idl_py-26.7.1/setup.py +24 -0
  6. openarm_idl_py-26.7.1/src/openarm_idl_py/__init__.py +1 -0
  7. openarm_idl_py-26.7.1/src/openarm_idl_py/common/__init__.py +1 -0
  8. openarm_idl_py-26.7.1/src/openarm_idl_py/common/v1/__init__.py +1 -0
  9. openarm_idl_py-26.7.1/src/openarm_idl_py/common/v1/arm_pb2.py +37 -0
  10. openarm_idl_py-26.7.1/src/openarm_idl_py/common/v1/arm_pb2.pyi +14 -0
  11. openarm_idl_py-26.7.1/src/openarm_idl_py/common/v1/arm_pb2_grpc.py +4 -0
  12. openarm_idl_py-26.7.1/src/openarm_idl_py/common/v1/options_pb2.py +36 -0
  13. openarm_idl_py-26.7.1/src/openarm_idl_py/common/v1/options_pb2.pyi +9 -0
  14. openarm_idl_py-26.7.1/src/openarm_idl_py/common/v1/options_pb2_grpc.py +4 -0
  15. openarm_idl_py-26.7.1/src/openarm_idl_py/control/__init__.py +1 -0
  16. openarm_idl_py-26.7.1/src/openarm_idl_py/control/cartesian/__init__.py +1 -0
  17. openarm_idl_py-26.7.1/src/openarm_idl_py/control/cartesian/v1/__init__.py +1 -0
  18. openarm_idl_py-26.7.1/src/openarm_idl_py/control/cartesian/v1/cartesian_control_pb2.py +58 -0
  19. openarm_idl_py-26.7.1/src/openarm_idl_py/control/cartesian/v1/cartesian_control_pb2.pyi +111 -0
  20. openarm_idl_py-26.7.1/src/openarm_idl_py/control/cartesian/v1/cartesian_control_pb2_grpc.py +213 -0
  21. openarm_idl_py-26.7.1/src/openarm_idl_py/control/drag/__init__.py +1 -0
  22. openarm_idl_py-26.7.1/src/openarm_idl_py/control/drag/v1/__init__.py +1 -0
  23. openarm_idl_py-26.7.1/src/openarm_idl_py/control/drag/v1/drag_mode_pb2.py +42 -0
  24. openarm_idl_py-26.7.1/src/openarm_idl_py/control/drag/v1/drag_mode_pb2.pyi +22 -0
  25. openarm_idl_py-26.7.1/src/openarm_idl_py/control/drag/v1/drag_mode_pb2_grpc.py +81 -0
  26. openarm_idl_py-26.7.1/src/openarm_idl_py/control/joint/__init__.py +1 -0
  27. openarm_idl_py-26.7.1/src/openarm_idl_py/control/joint/v1/__init__.py +1 -0
  28. openarm_idl_py-26.7.1/src/openarm_idl_py/control/joint/v1/joint_control_pb2.py +50 -0
  29. openarm_idl_py-26.7.1/src/openarm_idl_py/control/joint/v1/joint_control_pb2.pyi +60 -0
  30. openarm_idl_py-26.7.1/src/openarm_idl_py/control/joint/v1/joint_control_pb2_grpc.py +169 -0
  31. openarm_idl_py-26.7.1/src/openarm_idl_py/control/teleoperation/__init__.py +1 -0
  32. openarm_idl_py-26.7.1/src/openarm_idl_py/control/teleoperation/v1/__init__.py +1 -0
  33. openarm_idl_py-26.7.1/src/openarm_idl_py/control/teleoperation/v1/teleoperation_pb2.py +51 -0
  34. openarm_idl_py-26.7.1/src/openarm_idl_py/control/teleoperation/v1/teleoperation_pb2.pyi +39 -0
  35. openarm_idl_py-26.7.1/src/openarm_idl_py/control/teleoperation/v1/teleoperation_pb2_grpc.py +125 -0
  36. openarm_idl_py-26.7.1/src/openarm_idl_py/parameters/__init__.py +1 -0
  37. openarm_idl_py-26.7.1/src/openarm_idl_py/parameters/v1/__init__.py +1 -0
  38. openarm_idl_py-26.7.1/src/openarm_idl_py/parameters/v1/joint_params_pb2.py +133 -0
  39. openarm_idl_py-26.7.1/src/openarm_idl_py/parameters/v1/joint_params_pb2.pyi +297 -0
  40. openarm_idl_py-26.7.1/src/openarm_idl_py/parameters/v1/joint_params_pb2_grpc.py +697 -0
  41. openarm_idl_py-26.7.1/src/openarm_idl_py/state/__init__.py +1 -0
  42. openarm_idl_py-26.7.1/src/openarm_idl_py/state/joint/__init__.py +1 -0
  43. openarm_idl_py-26.7.1/src/openarm_idl_py/state/joint/v1/__init__.py +1 -0
  44. openarm_idl_py-26.7.1/src/openarm_idl_py/state/joint/v1/joint_state_pb2.py +48 -0
  45. openarm_idl_py-26.7.1/src/openarm_idl_py/state/joint/v1/joint_state_pb2.pyi +50 -0
  46. openarm_idl_py-26.7.1/src/openarm_idl_py/state/joint/v1/joint_state_pb2_grpc.py +125 -0
  47. openarm_idl_py-26.7.1/src/openarm_idl_py.egg-info/PKG-INFO +22 -0
  48. openarm_idl_py-26.7.1/src/openarm_idl_py.egg-info/SOURCES.txt +49 -0
  49. openarm_idl_py-26.7.1/src/openarm_idl_py.egg-info/dependency_links.txt +1 -0
  50. openarm_idl_py-26.7.1/src/openarm_idl_py.egg-info/requires.txt +2 -0
  51. openarm_idl_py-26.7.1/src/openarm_idl_py.egg-info/top_level.txt +1 -0
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.4
2
+ Name: openarm_idl_py
3
+ Version: 26.7.1
4
+ Summary: openarm idl
5
+ Home-page:
6
+ Author: oymotion
7
+ Author-email: info@oymotion.com
8
+ License: BSD-2-Clause
9
+ Description-Content-Type: text/markdown
10
+ Requires-Dist: protobuf<7,>=6.33.2
11
+ Requires-Dist: grpcio>=1.68.0
12
+ Dynamic: author
13
+ Dynamic: author-email
14
+ Dynamic: description
15
+ Dynamic: description-content-type
16
+ Dynamic: license
17
+ Dynamic: requires-dist
18
+ Dynamic: summary
19
+
20
+ ## Notice
21
+
22
+ This repository is automatically generated. Please do not manually modify any files in this repository.
@@ -0,0 +1,3 @@
1
+ ## Notice
2
+
3
+ This repository is automatically generated. Please do not manually modify any files in this repository.
@@ -0,0 +1,3 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,24 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ VERSION = "26.7.1"
4
+
5
+ INSTALL_REQUIRES = [
6
+ "protobuf>=6.33.2,<7",
7
+ "grpcio>=1.68.0",
8
+ ]
9
+ EXCLUDE_PACKAGES = []
10
+
11
+ setup(
12
+ name="openarm_idl_py",
13
+ version=VERSION,
14
+ author="oymotion",
15
+ author_email="info@oymotion.com",
16
+ long_description=open("README.md", "r", encoding="utf-8").read(),
17
+ long_description_content_type="text/markdown",
18
+ license="BSD-2-Clause",
19
+ description="openarm idl",
20
+ url="",
21
+ packages=find_packages(where="src", exclude=EXCLUDE_PACKAGES),
22
+ package_dir={"":"src"},
23
+ install_requires=INSTALL_REQUIRES
24
+ )
@@ -0,0 +1 @@
1
+ # Auto-generated __init__.py
@@ -0,0 +1 @@
1
+ # Auto-generated __init__.py
@@ -0,0 +1 @@
1
+ # Auto-generated __init__.py
@@ -0,0 +1,37 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: common/v1/arm.proto
5
+ # Protobuf Python Version: 6.33.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 2,
17
+ '',
18
+ 'common/v1/arm.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x63ommon/v1/arm.proto\x12\tcommon.v1*B\n\x05\x41rmId\x12\x16\n\x12\x41RM_ID_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41RM_ID_LEFT\x10\x01\x12\x10\n\x0c\x41RM_ID_RIGHT\x10\x02\x42\x94\x01\n\rcom.common.v1B\x08\x41rmProtoP\x01Z4github.com/openvmi/openarm_go/gen/common/v1;commonv1\xa2\x02\x03\x43XX\xaa\x02\tCommon.V1\xca\x02\tCommon\\V1\xe2\x02\x15\x43ommon\\V1\\GPBMetadata\xea\x02\nCommon::V1b\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.v1.arm_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n\rcom.common.v1B\010ArmProtoP\001Z4github.com/openvmi/openarm_go/gen/common/v1;commonv1\242\002\003CXX\252\002\tCommon.V1\312\002\tCommon\\V1\342\002\025Common\\V1\\GPBMetadata\352\002\nCommon::V1'
35
+ _globals['_ARMID']._serialized_start=34
36
+ _globals['_ARMID']._serialized_end=100
37
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,14 @@
1
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
2
+ from google.protobuf import descriptor as _descriptor
3
+ from typing import ClassVar as _ClassVar
4
+
5
+ DESCRIPTOR: _descriptor.FileDescriptor
6
+
7
+ class ArmId(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
8
+ __slots__ = ()
9
+ ARM_ID_UNSPECIFIED: _ClassVar[ArmId]
10
+ ARM_ID_LEFT: _ClassVar[ArmId]
11
+ ARM_ID_RIGHT: _ClassVar[ArmId]
12
+ ARM_ID_UNSPECIFIED: ArmId
13
+ ARM_ID_LEFT: ArmId
14
+ ARM_ID_RIGHT: ArmId
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: common/v1/options.proto
5
+ # Protobuf Python Version: 6.33.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 2,
17
+ '',
18
+ 'common/v1/options.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x63ommon/v1/options.proto\x12\tcommon.v1\x1a google/protobuf/descriptor.proto:B\n\x0b\x64\x65scription\x12\x1e.google.protobuf.MethodOptions\x18\xd1\x86\x03 \x01(\tR\x0b\x64\x65scription:C\n\x0cis_supported\x12\x1e.google.protobuf.MethodOptions\x18\xd2\x86\x03 \x01(\x08R\x0bisSupportedB\x98\x01\n\rcom.common.v1B\x0cOptionsProtoP\x01Z4github.com/openvmi/openarm_go/gen/common/v1;commonv1\xa2\x02\x03\x43XX\xaa\x02\tCommon.V1\xca\x02\tCommon\\V1\xe2\x02\x15\x43ommon\\V1\\GPBMetadata\xea\x02\nCommon::V1b\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.v1.options_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\rcom.common.v1B\014OptionsProtoP\001Z4github.com/openvmi/openarm_go/gen/common/v1;commonv1\242\002\003CXX\252\002\tCommon.V1\312\002\tCommon\\V1\342\002\025Common\\V1\\GPBMetadata\352\002\nCommon::V1'
36
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,9 @@
1
+ from google.protobuf import descriptor_pb2 as _descriptor_pb2
2
+ from google.protobuf import descriptor as _descriptor
3
+ from typing import ClassVar as _ClassVar
4
+
5
+ DESCRIPTOR: _descriptor.FileDescriptor
6
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
7
+ description: _descriptor.FieldDescriptor
8
+ IS_SUPPORTED_FIELD_NUMBER: _ClassVar[int]
9
+ is_supported: _descriptor.FieldDescriptor
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1 @@
1
+ # Auto-generated __init__.py
@@ -0,0 +1 @@
1
+ # Auto-generated __init__.py
@@ -0,0 +1 @@
1
+ # Auto-generated __init__.py
@@ -0,0 +1,58 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: control/cartesian/v1/cartesian_control.proto
5
+ # Protobuf Python Version: 6.33.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 2,
17
+ '',
18
+ 'control/cartesian/v1/cartesian_control.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from openarm_idl_py.common.v1 import arm_pb2 as common_dot_v1_dot_arm__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,control/cartesian/v1/cartesian_control.proto\x12\x14\x63ontrol.cartesian.v1\x1a\x13\x63ommon/v1/arm.proto\"i\n\rCartesianPose\x12\x0c\n\x01x\x18\x01 \x01(\x05R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x05R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x05R\x01z\x12\x0e\n\x02rx\x18\x04 \x01(\x05R\x02rx\x12\x0e\n\x02ry\x18\x05 \x01(\x05R\x02ry\x12\x0e\n\x02rz\x18\x06 \x01(\x05R\x02rz\"\x99\x01\n\x0cMoveLRequest\x12\'\n\x06\x61rm_id\x18\x01 \x01(\x0e\x32\x10.common.v1.ArmIdR\x05\x61rmId\x12\x1a\n\x08velocity\x18\x02 \x01(\x05R\x08velocity\x12\x44\n\x0btarget_pose\x18\x03 \x01(\x0b\x32#.control.cartesian.v1.CartesianPoseR\ntargetPose\"C\n\rMoveLResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\"\x99\x01\n\x0cMovePRequest\x12\'\n\x06\x61rm_id\x18\x01 \x01(\x0e\x32\x10.common.v1.ArmIdR\x05\x61rmId\x12\x1a\n\x08velocity\x18\x02 \x01(\x05R\x08velocity\x12\x44\n\x0btarget_pose\x18\x03 \x01(\x0b\x32#.control.cartesian.v1.CartesianPoseR\ntargetPose\"C\n\rMovePResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\"\x93\x01\n\x13JogCartesianRequest\x12\'\n\x06\x61rm_id\x18\x01 \x01(\x0e\x32\x10.common.v1.ArmIdR\x05\x61rmId\x12\x37\n\x04\x61xis\x18\x02 \x01(\x0e\x32#.control.cartesian.v1.CartesianAxisR\x04\x61xis\x12\x1a\n\x08velocity\x18\x03 \x01(\x05R\x08velocity\"J\n\x14JogCartesianResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\"\x90\x01\n\x0eStopJogRequest\x12,\n\x06\x61rm_id\x18\x01 \x01(\x0e\x32\x10.common.v1.ArmIdH\x00R\x05\x61rmId\x88\x01\x01\x12<\n\x04\x61xis\x18\x02 \x01(\x0e\x32#.control.cartesian.v1.CartesianAxisH\x01R\x04\x61xis\x88\x01\x01\x42\t\n\x07_arm_idB\x07\n\x05_axis\"E\n\x0fStopJogResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message*\xb6\x01\n\rCartesianAxis\x12\x1e\n\x1a\x43\x41RTESIAN_AXIS_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43\x41RTESIAN_AXIS_X\x10\x01\x12\x14\n\x10\x43\x41RTESIAN_AXIS_Y\x10\x02\x12\x14\n\x10\x43\x41RTESIAN_AXIS_Z\x10\x03\x12\x15\n\x11\x43\x41RTESIAN_AXIS_RX\x10\x04\x12\x15\n\x11\x43\x41RTESIAN_AXIS_RY\x10\x05\x12\x15\n\x11\x43\x41RTESIAN_AXIS_RZ\x10\x06\x32\xfc\x02\n\x17\x43\x61rtesianControlService\x12P\n\x05MoveL\x12\".control.cartesian.v1.MoveLRequest\x1a#.control.cartesian.v1.MoveLResponse\x12P\n\x05MoveP\x12\".control.cartesian.v1.MovePRequest\x1a#.control.cartesian.v1.MovePResponse\x12\x65\n\x0cJogCartesian\x12).control.cartesian.v1.JogCartesianRequest\x1a*.control.cartesian.v1.JogCartesianResponse\x12V\n\x07StopJog\x12$.control.cartesian.v1.StopJogRequest\x1a%.control.cartesian.v1.StopJogResponseB\xe7\x01\n\x18\x63om.control.cartesian.v1B\x15\x43\x61rtesianControlProtoP\x01ZBgithub.com/openvmi/openarm_go/gen/control/cartesian/v1;cartesianv1\xa2\x02\x03\x43\x43X\xaa\x02\x14\x43ontrol.Cartesian.V1\xca\x02\x14\x43ontrol\\Cartesian\\V1\xe2\x02 Control\\Cartesian\\V1\\GPBMetadata\xea\x02\x16\x43ontrol::Cartesian::V1b\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'control.cartesian.v1.cartesian_control_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\030com.control.cartesian.v1B\025CartesianControlProtoP\001ZBgithub.com/openvmi/openarm_go/gen/control/cartesian/v1;cartesianv1\242\002\003CCX\252\002\024Control.Cartesian.V1\312\002\024Control\\Cartesian\\V1\342\002 Control\\Cartesian\\V1\\GPBMetadata\352\002\026Control::Cartesian::V1'
36
+ _globals['_CARTESIANAXIS']._serialized_start=1093
37
+ _globals['_CARTESIANAXIS']._serialized_end=1275
38
+ _globals['_CARTESIANPOSE']._serialized_start=91
39
+ _globals['_CARTESIANPOSE']._serialized_end=196
40
+ _globals['_MOVELREQUEST']._serialized_start=199
41
+ _globals['_MOVELREQUEST']._serialized_end=352
42
+ _globals['_MOVELRESPONSE']._serialized_start=354
43
+ _globals['_MOVELRESPONSE']._serialized_end=421
44
+ _globals['_MOVEPREQUEST']._serialized_start=424
45
+ _globals['_MOVEPREQUEST']._serialized_end=577
46
+ _globals['_MOVEPRESPONSE']._serialized_start=579
47
+ _globals['_MOVEPRESPONSE']._serialized_end=646
48
+ _globals['_JOGCARTESIANREQUEST']._serialized_start=649
49
+ _globals['_JOGCARTESIANREQUEST']._serialized_end=796
50
+ _globals['_JOGCARTESIANRESPONSE']._serialized_start=798
51
+ _globals['_JOGCARTESIANRESPONSE']._serialized_end=872
52
+ _globals['_STOPJOGREQUEST']._serialized_start=875
53
+ _globals['_STOPJOGREQUEST']._serialized_end=1019
54
+ _globals['_STOPJOGRESPONSE']._serialized_start=1021
55
+ _globals['_STOPJOGRESPONSE']._serialized_end=1090
56
+ _globals['_CARTESIANCONTROLSERVICE']._serialized_start=1278
57
+ _globals['_CARTESIANCONTROLSERVICE']._serialized_end=1658
58
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,111 @@
1
+ from openarm_idl_py.common.v1 import arm_pb2 as _arm_pb2
2
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
3
+ from google.protobuf import descriptor as _descriptor
4
+ from google.protobuf import message as _message
5
+ from collections.abc import Mapping as _Mapping
6
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
7
+
8
+ DESCRIPTOR: _descriptor.FileDescriptor
9
+
10
+ class CartesianAxis(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
11
+ __slots__ = ()
12
+ CARTESIAN_AXIS_UNSPECIFIED: _ClassVar[CartesianAxis]
13
+ CARTESIAN_AXIS_X: _ClassVar[CartesianAxis]
14
+ CARTESIAN_AXIS_Y: _ClassVar[CartesianAxis]
15
+ CARTESIAN_AXIS_Z: _ClassVar[CartesianAxis]
16
+ CARTESIAN_AXIS_RX: _ClassVar[CartesianAxis]
17
+ CARTESIAN_AXIS_RY: _ClassVar[CartesianAxis]
18
+ CARTESIAN_AXIS_RZ: _ClassVar[CartesianAxis]
19
+ CARTESIAN_AXIS_UNSPECIFIED: CartesianAxis
20
+ CARTESIAN_AXIS_X: CartesianAxis
21
+ CARTESIAN_AXIS_Y: CartesianAxis
22
+ CARTESIAN_AXIS_Z: CartesianAxis
23
+ CARTESIAN_AXIS_RX: CartesianAxis
24
+ CARTESIAN_AXIS_RY: CartesianAxis
25
+ CARTESIAN_AXIS_RZ: CartesianAxis
26
+
27
+ class CartesianPose(_message.Message):
28
+ __slots__ = ()
29
+ X_FIELD_NUMBER: _ClassVar[int]
30
+ Y_FIELD_NUMBER: _ClassVar[int]
31
+ Z_FIELD_NUMBER: _ClassVar[int]
32
+ RX_FIELD_NUMBER: _ClassVar[int]
33
+ RY_FIELD_NUMBER: _ClassVar[int]
34
+ RZ_FIELD_NUMBER: _ClassVar[int]
35
+ x: int
36
+ y: int
37
+ z: int
38
+ rx: int
39
+ ry: int
40
+ rz: int
41
+ def __init__(self, x: _Optional[int] = ..., y: _Optional[int] = ..., z: _Optional[int] = ..., rx: _Optional[int] = ..., ry: _Optional[int] = ..., rz: _Optional[int] = ...) -> None: ...
42
+
43
+ class MoveLRequest(_message.Message):
44
+ __slots__ = ()
45
+ ARM_ID_FIELD_NUMBER: _ClassVar[int]
46
+ VELOCITY_FIELD_NUMBER: _ClassVar[int]
47
+ TARGET_POSE_FIELD_NUMBER: _ClassVar[int]
48
+ arm_id: _arm_pb2.ArmId
49
+ velocity: int
50
+ target_pose: CartesianPose
51
+ def __init__(self, arm_id: _Optional[_Union[_arm_pb2.ArmId, str]] = ..., velocity: _Optional[int] = ..., target_pose: _Optional[_Union[CartesianPose, _Mapping]] = ...) -> None: ...
52
+
53
+ class MoveLResponse(_message.Message):
54
+ __slots__ = ()
55
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
56
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
57
+ success: bool
58
+ message: str
59
+ def __init__(self, success: _Optional[bool] = ..., message: _Optional[str] = ...) -> None: ...
60
+
61
+ class MovePRequest(_message.Message):
62
+ __slots__ = ()
63
+ ARM_ID_FIELD_NUMBER: _ClassVar[int]
64
+ VELOCITY_FIELD_NUMBER: _ClassVar[int]
65
+ TARGET_POSE_FIELD_NUMBER: _ClassVar[int]
66
+ arm_id: _arm_pb2.ArmId
67
+ velocity: int
68
+ target_pose: CartesianPose
69
+ def __init__(self, arm_id: _Optional[_Union[_arm_pb2.ArmId, str]] = ..., velocity: _Optional[int] = ..., target_pose: _Optional[_Union[CartesianPose, _Mapping]] = ...) -> None: ...
70
+
71
+ class MovePResponse(_message.Message):
72
+ __slots__ = ()
73
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
74
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
75
+ success: bool
76
+ message: str
77
+ def __init__(self, success: _Optional[bool] = ..., message: _Optional[str] = ...) -> None: ...
78
+
79
+ class JogCartesianRequest(_message.Message):
80
+ __slots__ = ()
81
+ ARM_ID_FIELD_NUMBER: _ClassVar[int]
82
+ AXIS_FIELD_NUMBER: _ClassVar[int]
83
+ VELOCITY_FIELD_NUMBER: _ClassVar[int]
84
+ arm_id: _arm_pb2.ArmId
85
+ axis: CartesianAxis
86
+ velocity: int
87
+ def __init__(self, arm_id: _Optional[_Union[_arm_pb2.ArmId, str]] = ..., axis: _Optional[_Union[CartesianAxis, str]] = ..., velocity: _Optional[int] = ...) -> None: ...
88
+
89
+ class JogCartesianResponse(_message.Message):
90
+ __slots__ = ()
91
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
92
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
93
+ success: bool
94
+ message: str
95
+ def __init__(self, success: _Optional[bool] = ..., message: _Optional[str] = ...) -> None: ...
96
+
97
+ class StopJogRequest(_message.Message):
98
+ __slots__ = ()
99
+ ARM_ID_FIELD_NUMBER: _ClassVar[int]
100
+ AXIS_FIELD_NUMBER: _ClassVar[int]
101
+ arm_id: _arm_pb2.ArmId
102
+ axis: CartesianAxis
103
+ def __init__(self, arm_id: _Optional[_Union[_arm_pb2.ArmId, str]] = ..., axis: _Optional[_Union[CartesianAxis, str]] = ...) -> None: ...
104
+
105
+ class StopJogResponse(_message.Message):
106
+ __slots__ = ()
107
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
108
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
109
+ success: bool
110
+ message: str
111
+ def __init__(self, success: _Optional[bool] = ..., message: _Optional[str] = ...) -> None: ...
@@ -0,0 +1,213 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from openarm_idl_py.control.cartesian.v1 import cartesian_control_pb2 as control_dot_cartesian_dot_v1_dot_cartesian__control__pb2
6
+
7
+
8
+ class CartesianControlServiceStub(object):
9
+ """笛卡尔空间运动控制
10
+ """
11
+
12
+ def __init__(self, channel):
13
+ """Constructor.
14
+
15
+ Args:
16
+ channel: A grpc.Channel.
17
+ """
18
+ self.MoveL = channel.unary_unary(
19
+ '/control.cartesian.v1.CartesianControlService/MoveL',
20
+ request_serializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MoveLRequest.SerializeToString,
21
+ response_deserializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MoveLResponse.FromString,
22
+ _registered_method=True)
23
+ self.MoveP = channel.unary_unary(
24
+ '/control.cartesian.v1.CartesianControlService/MoveP',
25
+ request_serializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MovePRequest.SerializeToString,
26
+ response_deserializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MovePResponse.FromString,
27
+ _registered_method=True)
28
+ self.JogCartesian = channel.unary_unary(
29
+ '/control.cartesian.v1.CartesianControlService/JogCartesian',
30
+ request_serializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.JogCartesianRequest.SerializeToString,
31
+ response_deserializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.JogCartesianResponse.FromString,
32
+ _registered_method=True)
33
+ self.StopJog = channel.unary_unary(
34
+ '/control.cartesian.v1.CartesianControlService/StopJog',
35
+ request_serializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.StopJogRequest.SerializeToString,
36
+ response_deserializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.StopJogResponse.FromString,
37
+ _registered_method=True)
38
+
39
+
40
+ class CartesianControlServiceServicer(object):
41
+ """笛卡尔空间运动控制
42
+ """
43
+
44
+ def MoveL(self, request, context):
45
+ """直线运动到目标位姿
46
+ """
47
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
48
+ context.set_details('Method not implemented!')
49
+ raise NotImplementedError('Method not implemented!')
50
+
51
+ def MoveP(self, request, context):
52
+ """点到点运动到目标位姿(路径不限定为直线)
53
+ """
54
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
55
+ context.set_details('Method not implemented!')
56
+ raise NotImplementedError('Method not implemented!')
57
+
58
+ def JogCartesian(self, request, context):
59
+ """笛卡尔点动
60
+ """
61
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
62
+ context.set_details('Method not implemented!')
63
+ raise NotImplementedError('Method not implemented!')
64
+
65
+ def StopJog(self, request, context):
66
+ """停止点动
67
+ """
68
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
69
+ context.set_details('Method not implemented!')
70
+ raise NotImplementedError('Method not implemented!')
71
+
72
+
73
+ def add_CartesianControlServiceServicer_to_server(servicer, server):
74
+ rpc_method_handlers = {
75
+ 'MoveL': grpc.unary_unary_rpc_method_handler(
76
+ servicer.MoveL,
77
+ request_deserializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MoveLRequest.FromString,
78
+ response_serializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MoveLResponse.SerializeToString,
79
+ ),
80
+ 'MoveP': grpc.unary_unary_rpc_method_handler(
81
+ servicer.MoveP,
82
+ request_deserializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MovePRequest.FromString,
83
+ response_serializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MovePResponse.SerializeToString,
84
+ ),
85
+ 'JogCartesian': grpc.unary_unary_rpc_method_handler(
86
+ servicer.JogCartesian,
87
+ request_deserializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.JogCartesianRequest.FromString,
88
+ response_serializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.JogCartesianResponse.SerializeToString,
89
+ ),
90
+ 'StopJog': grpc.unary_unary_rpc_method_handler(
91
+ servicer.StopJog,
92
+ request_deserializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.StopJogRequest.FromString,
93
+ response_serializer=control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.StopJogResponse.SerializeToString,
94
+ ),
95
+ }
96
+ generic_handler = grpc.method_handlers_generic_handler(
97
+ 'control.cartesian.v1.CartesianControlService', rpc_method_handlers)
98
+ server.add_generic_rpc_handlers((generic_handler,))
99
+ server.add_registered_method_handlers('control.cartesian.v1.CartesianControlService', rpc_method_handlers)
100
+
101
+
102
+ # This class is part of an EXPERIMENTAL API.
103
+ class CartesianControlService(object):
104
+ """笛卡尔空间运动控制
105
+ """
106
+
107
+ @staticmethod
108
+ def MoveL(request,
109
+ target,
110
+ options=(),
111
+ channel_credentials=None,
112
+ call_credentials=None,
113
+ insecure=False,
114
+ compression=None,
115
+ wait_for_ready=None,
116
+ timeout=None,
117
+ metadata=None):
118
+ return grpc.experimental.unary_unary(
119
+ request,
120
+ target,
121
+ '/control.cartesian.v1.CartesianControlService/MoveL',
122
+ control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MoveLRequest.SerializeToString,
123
+ control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MoveLResponse.FromString,
124
+ options,
125
+ channel_credentials,
126
+ insecure,
127
+ call_credentials,
128
+ compression,
129
+ wait_for_ready,
130
+ timeout,
131
+ metadata,
132
+ _registered_method=True)
133
+
134
+ @staticmethod
135
+ def MoveP(request,
136
+ target,
137
+ options=(),
138
+ channel_credentials=None,
139
+ call_credentials=None,
140
+ insecure=False,
141
+ compression=None,
142
+ wait_for_ready=None,
143
+ timeout=None,
144
+ metadata=None):
145
+ return grpc.experimental.unary_unary(
146
+ request,
147
+ target,
148
+ '/control.cartesian.v1.CartesianControlService/MoveP',
149
+ control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MovePRequest.SerializeToString,
150
+ control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.MovePResponse.FromString,
151
+ options,
152
+ channel_credentials,
153
+ insecure,
154
+ call_credentials,
155
+ compression,
156
+ wait_for_ready,
157
+ timeout,
158
+ metadata,
159
+ _registered_method=True)
160
+
161
+ @staticmethod
162
+ def JogCartesian(request,
163
+ target,
164
+ options=(),
165
+ channel_credentials=None,
166
+ call_credentials=None,
167
+ insecure=False,
168
+ compression=None,
169
+ wait_for_ready=None,
170
+ timeout=None,
171
+ metadata=None):
172
+ return grpc.experimental.unary_unary(
173
+ request,
174
+ target,
175
+ '/control.cartesian.v1.CartesianControlService/JogCartesian',
176
+ control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.JogCartesianRequest.SerializeToString,
177
+ control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.JogCartesianResponse.FromString,
178
+ options,
179
+ channel_credentials,
180
+ insecure,
181
+ call_credentials,
182
+ compression,
183
+ wait_for_ready,
184
+ timeout,
185
+ metadata,
186
+ _registered_method=True)
187
+
188
+ @staticmethod
189
+ def StopJog(request,
190
+ target,
191
+ options=(),
192
+ channel_credentials=None,
193
+ call_credentials=None,
194
+ insecure=False,
195
+ compression=None,
196
+ wait_for_ready=None,
197
+ timeout=None,
198
+ metadata=None):
199
+ return grpc.experimental.unary_unary(
200
+ request,
201
+ target,
202
+ '/control.cartesian.v1.CartesianControlService/StopJog',
203
+ control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.StopJogRequest.SerializeToString,
204
+ control_dot_cartesian_dot_v1_dot_cartesian__control__pb2.StopJogResponse.FromString,
205
+ options,
206
+ channel_credentials,
207
+ insecure,
208
+ call_credentials,
209
+ compression,
210
+ wait_for_ready,
211
+ timeout,
212
+ metadata,
213
+ _registered_method=True)
@@ -0,0 +1 @@
1
+ # Auto-generated __init__.py
@@ -0,0 +1 @@
1
+ # Auto-generated __init__.py
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: control/drag/v1/drag_mode.proto
5
+ # Protobuf Python Version: 6.33.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 2,
17
+ '',
18
+ 'control/drag/v1/drag_mode.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from openarm_idl_py.common.v1 import arm_pb2 as common_dot_v1_dot_arm__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63ontrol/drag/v1/drag_mode.proto\x12\x0f\x63ontrol.drag.v1\x1a\x13\x63ommon/v1/arm.proto\"W\n\x12SetDragModeRequest\x12\'\n\x06\x61rm_id\x18\x01 \x01(\x0e\x32\x10.common.v1.ArmIdR\x05\x61rmId\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled\"I\n\x13SetDragModeResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message2k\n\x0f\x44ragModeService\x12X\n\x0bSetDragMode\x12#.control.drag.v1.SetDragModeRequest\x1a$.control.drag.v1.SetDragModeResponseB\xbc\x01\n\x13\x63om.control.drag.v1B\rDragModeProtoP\x01Z8github.com/openvmi/openarm_go/gen/control/drag/v1;dragv1\xa2\x02\x03\x43\x44X\xaa\x02\x0f\x43ontrol.Drag.V1\xca\x02\x0f\x43ontrol\\Drag\\V1\xe2\x02\x1b\x43ontrol\\Drag\\V1\\GPBMetadata\xea\x02\x11\x43ontrol::Drag::V1b\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'control.drag.v1.drag_mode_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\023com.control.drag.v1B\rDragModeProtoP\001Z8github.com/openvmi/openarm_go/gen/control/drag/v1;dragv1\242\002\003CDX\252\002\017Control.Drag.V1\312\002\017Control\\Drag\\V1\342\002\033Control\\Drag\\V1\\GPBMetadata\352\002\021Control::Drag::V1'
36
+ _globals['_SETDRAGMODEREQUEST']._serialized_start=73
37
+ _globals['_SETDRAGMODEREQUEST']._serialized_end=160
38
+ _globals['_SETDRAGMODERESPONSE']._serialized_start=162
39
+ _globals['_SETDRAGMODERESPONSE']._serialized_end=235
40
+ _globals['_DRAGMODESERVICE']._serialized_start=237
41
+ _globals['_DRAGMODESERVICE']._serialized_end=344
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,22 @@
1
+ from openarm_idl_py.common.v1 import arm_pb2 as _arm_pb2
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import message as _message
4
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
5
+
6
+ DESCRIPTOR: _descriptor.FileDescriptor
7
+
8
+ class SetDragModeRequest(_message.Message):
9
+ __slots__ = ()
10
+ ARM_ID_FIELD_NUMBER: _ClassVar[int]
11
+ ENABLED_FIELD_NUMBER: _ClassVar[int]
12
+ arm_id: _arm_pb2.ArmId
13
+ enabled: bool
14
+ def __init__(self, arm_id: _Optional[_Union[_arm_pb2.ArmId, str]] = ..., enabled: _Optional[bool] = ...) -> None: ...
15
+
16
+ class SetDragModeResponse(_message.Message):
17
+ __slots__ = ()
18
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
19
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
20
+ success: bool
21
+ message: str
22
+ def __init__(self, success: _Optional[bool] = ..., message: _Optional[str] = ...) -> None: ...