wandelbots_api_client 26.4.0.dev49__py3-none-any.whl → 26.4.0.dev51__py3-none-any.whl
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.
- wandelbots_api_client/__init__.py +1 -1
- wandelbots_api_client/api/license_api.py +6 -6
- wandelbots_api_client/api_client.py +1 -1
- wandelbots_api_client/configuration.py +1 -1
- wandelbots_api_client/v2/__init__.py +1 -1
- wandelbots_api_client/v2/api/kinematics_api.py +513 -0
- wandelbots_api_client/v2/api/license_api.py +3 -3
- wandelbots_api_client/v2/api/virtual_controller_api.py +3 -3
- wandelbots_api_client/v2/api_client.py +1 -1
- wandelbots_api_client/v2/configuration.py +1 -1
- wandelbots_api_client/v2/models/__init__.py +26 -0
- wandelbots_api_client/v2/models/abb_confdata.py +95 -0
- wandelbots_api_client/v2/models/abb_configured_pose.py +97 -0
- wandelbots_api_client/v2/models/abb_pose.py +99 -0
- wandelbots_api_client/v2/models/axis_range.py +90 -0
- wandelbots_api_client/v2/models/configured_pose.py +99 -0
- wandelbots_api_client/v2/models/configured_pose_inverse422_response.py +93 -0
- wandelbots_api_client/v2/models/configured_pose_inverse_failed_response.py +99 -0
- wandelbots_api_client/v2/models/configured_pose_inverse_request.py +147 -0
- wandelbots_api_client/v2/models/configured_pose_inverse_response.py +89 -0
- wandelbots_api_client/v2/models/configured_pose_inverse_response_response.py +150 -0
- wandelbots_api_client/v2/models/convert_vendor_configured_pose422_response.py +93 -0
- wandelbots_api_client/v2/models/convert_vendor_configured_pose_request.py +95 -0
- wandelbots_api_client/v2/models/convert_vendor_configured_pose_request_vendor_configured_poses.py +155 -0
- wandelbots_api_client/v2/models/feedback_axis_range_exceeded.py +99 -0
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +1 -1
- wandelbots_api_client/v2/models/inverse_feedback_at_index.py +95 -0
- wandelbots_api_client/v2/models/inverse_feedback_at_index_error_feedback.py +246 -0
- wandelbots_api_client/v2/models/kinematic_branch.py +94 -0
- wandelbots_api_client/v2/models/kinematic_branch_elbow.py +34 -0
- wandelbots_api_client/v2/models/kinematic_branch_shoulder.py +34 -0
- wandelbots_api_client/v2/models/kinematic_branch_wrist.py +34 -0
- wandelbots_api_client/v2/models/kinematic_configuration.py +101 -0
- wandelbots_api_client/v2/models/kuka_configured_pose.py +99 -0
- wandelbots_api_client/v2/models/kuka_pose.py +90 -0
- wandelbots_api_client/v2/models/kuka_status_and_turn_bits.py +89 -0
- wandelbots_api_client/v2_pydantic/__init__.py +1 -1
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +513 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +3 -3
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +3 -3
- wandelbots_api_client/v2_pydantic/api_client.py +1 -1
- wandelbots_api_client/v2_pydantic/configuration.py +1 -1
- wandelbots_api_client/v2_pydantic/models/__init__.py +52 -2
- wandelbots_api_client/v2_pydantic/models/models.py +358 -2
- {wandelbots_api_client-26.4.0.dev49.dist-info → wandelbots_api_client-26.4.0.dev51.dist-info}/METADATA +2 -2
- {wandelbots_api_client-26.4.0.dev49.dist-info → wandelbots_api_client-26.4.0.dev51.dist-info}/RECORD +47 -23
- {wandelbots_api_client-26.4.0.dev49.dist-info → wandelbots_api_client-26.4.0.dev51.dist-info}/WHEEL +0 -0
|
@@ -481,7 +481,7 @@ class LicenseApi:
|
|
|
481
481
|
) -> License:
|
|
482
482
|
"""Get license
|
|
483
483
|
|
|
484
|
-
**Required permissions:** `
|
|
484
|
+
**Required permissions:** `can_access_license` - View license status ___ Get information on the license used with the Wandelbots NOVA instance, e.g. licensed product, expiration date, license status.
|
|
485
485
|
|
|
486
486
|
:param _request_timeout: timeout setting for this request. If one
|
|
487
487
|
number provided, it will be total request
|
|
@@ -533,7 +533,7 @@ class LicenseApi:
|
|
|
533
533
|
) -> ApiResponse[License]:
|
|
534
534
|
"""Get license
|
|
535
535
|
|
|
536
|
-
**Required permissions:** `
|
|
536
|
+
**Required permissions:** `can_access_license` - View license status ___ Get information on the license used with the Wandelbots NOVA instance, e.g. licensed product, expiration date, license status.
|
|
537
537
|
|
|
538
538
|
:param _request_timeout: timeout setting for this request. If one
|
|
539
539
|
number provided, it will be total request
|
|
@@ -585,7 +585,7 @@ class LicenseApi:
|
|
|
585
585
|
) -> RESTResponseType:
|
|
586
586
|
"""Get license
|
|
587
587
|
|
|
588
|
-
**Required permissions:** `
|
|
588
|
+
**Required permissions:** `can_access_license` - View license status ___ Get information on the license used with the Wandelbots NOVA instance, e.g. licensed product, expiration date, license status.
|
|
589
589
|
|
|
590
590
|
:param _request_timeout: timeout setting for this request. If one
|
|
591
591
|
number provided, it will be total request
|
|
@@ -679,7 +679,7 @@ class LicenseApi:
|
|
|
679
679
|
) -> LicenseStatus:
|
|
680
680
|
"""Get license status
|
|
681
681
|
|
|
682
|
-
**Required permissions:** `
|
|
682
|
+
**Required permissions:** `can_access_system` - View system status and metadata ___ Get the license status. If `valid`, Wandelbots NOVA can be used. If `expired`, the license has to be renewed in order to use Wandelbots NOVA.
|
|
683
683
|
|
|
684
684
|
:param _request_timeout: timeout setting for this request. If one
|
|
685
685
|
number provided, it will be total request
|
|
@@ -731,7 +731,7 @@ class LicenseApi:
|
|
|
731
731
|
) -> ApiResponse[LicenseStatus]:
|
|
732
732
|
"""Get license status
|
|
733
733
|
|
|
734
|
-
**Required permissions:** `
|
|
734
|
+
**Required permissions:** `can_access_system` - View system status and metadata ___ Get the license status. If `valid`, Wandelbots NOVA can be used. If `expired`, the license has to be renewed in order to use Wandelbots NOVA.
|
|
735
735
|
|
|
736
736
|
:param _request_timeout: timeout setting for this request. If one
|
|
737
737
|
number provided, it will be total request
|
|
@@ -783,7 +783,7 @@ class LicenseApi:
|
|
|
783
783
|
) -> RESTResponseType:
|
|
784
784
|
"""Get license status
|
|
785
785
|
|
|
786
|
-
**Required permissions:** `
|
|
786
|
+
**Required permissions:** `can_access_system` - View system status and metadata ___ Get the license status. If `valid`, Wandelbots NOVA can be used. If `expired`, the license has to be renewed in order to use Wandelbots NOVA.
|
|
787
787
|
|
|
788
788
|
:param _request_timeout: timeout setting for this request. If one
|
|
789
789
|
number provided, it will be total request
|
|
@@ -83,7 +83,7 @@ class ApiClient:
|
|
|
83
83
|
self.default_headers[header_name] = header_value
|
|
84
84
|
self.cookie = cookie
|
|
85
85
|
# Set default User-Agent.
|
|
86
|
-
self.user_agent = "Wandelbots-Nova-API-Python-Client/26.4.0.
|
|
86
|
+
self.user_agent = "Wandelbots-Nova-API-Python-Client/26.4.0.dev51"
|
|
87
87
|
self.client_side_validation = configuration.client_side_validation
|
|
88
88
|
|
|
89
89
|
async def __aenter__(self):
|
|
@@ -512,7 +512,7 @@ class Configuration:
|
|
|
512
512
|
"OS: {env}\n"
|
|
513
513
|
"Python Version: {pyversion}\n"
|
|
514
514
|
"Version of the API: 1.5.0 dev\n"
|
|
515
|
-
"SDK Package Version: 26.4.0.
|
|
515
|
+
"SDK Package Version: 26.4.0.dev51".format(env=sys.platform, pyversion=sys.version)
|
|
516
516
|
)
|
|
517
517
|
|
|
518
518
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -23,7 +23,12 @@ from typing_extensions import Annotated
|
|
|
23
23
|
from urllib.parse import quote
|
|
24
24
|
|
|
25
25
|
from pydantic import Field, StrictStr
|
|
26
|
+
from typing import List
|
|
26
27
|
from typing_extensions import Annotated
|
|
28
|
+
from wandelbots_api_client.v2.models.configured_pose import ConfiguredPose
|
|
29
|
+
from wandelbots_api_client.v2.models.configured_pose_inverse_request import ConfiguredPoseInverseRequest
|
|
30
|
+
from wandelbots_api_client.v2.models.configured_pose_inverse_response import ConfiguredPoseInverseResponse
|
|
31
|
+
from wandelbots_api_client.v2.models.convert_vendor_configured_pose_request import ConvertVendorConfiguredPoseRequest
|
|
27
32
|
from wandelbots_api_client.v2.models.forward_kinematics_request import ForwardKinematicsRequest
|
|
28
33
|
from wandelbots_api_client.v2.models.forward_kinematics_response import ForwardKinematicsResponse
|
|
29
34
|
from wandelbots_api_client.v2.models.inverse_kinematics_request import InverseKinematicsRequest
|
|
@@ -52,6 +57,514 @@ class KinematicsApi:
|
|
|
52
57
|
api_client = ApiClient.get_default()
|
|
53
58
|
self.api_client = api_client
|
|
54
59
|
|
|
60
|
+
@validate_call
|
|
61
|
+
async def configured_pose_inverse(
|
|
62
|
+
self,
|
|
63
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
64
|
+
configured_pose_inverse_request: ConfiguredPoseInverseRequest,
|
|
65
|
+
_request_timeout: Union[
|
|
66
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
67
|
+
] = None,
|
|
68
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
69
|
+
_content_type: Optional[StrictStr] = None,
|
|
70
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
71
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
72
|
+
) -> ConfiguredPoseInverseResponse:
|
|
73
|
+
"""Inverse kinematics configured pose
|
|
74
|
+
|
|
75
|
+
**Required permissions:** `can_plan_motion` - Plan robot motions and trajectories ___ Returns the reachable joint positions for a list of given poses.
|
|
76
|
+
|
|
77
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
78
|
+
:type cell: str
|
|
79
|
+
:param configured_pose_inverse_request: (required)
|
|
80
|
+
:type configured_pose_inverse_request: ConfiguredPoseInverseRequest
|
|
81
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
82
|
+
number provided, it will be total request
|
|
83
|
+
timeout. It can also be a pair (tuple) of
|
|
84
|
+
(connection, read) timeouts.
|
|
85
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
86
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
87
|
+
request; this effectively ignores the
|
|
88
|
+
authentication in the spec for a single request.
|
|
89
|
+
:type _request_auth: dict, optional
|
|
90
|
+
:param _content_type: force content-type for the request.
|
|
91
|
+
:type _content_type: str, Optional
|
|
92
|
+
:param _headers: set to override the headers for a single
|
|
93
|
+
request; this effectively ignores the headers
|
|
94
|
+
in the spec for a single request.
|
|
95
|
+
:type _headers: dict, optional
|
|
96
|
+
:param _host_index: set to override the host_index for a single
|
|
97
|
+
request; this effectively ignores the host_index
|
|
98
|
+
in the spec for a single request.
|
|
99
|
+
:type _host_index: int, optional
|
|
100
|
+
:return: Returns the result object.
|
|
101
|
+
""" # noqa: E501
|
|
102
|
+
|
|
103
|
+
_param = self._configured_pose_inverse_serialize(
|
|
104
|
+
cell=cell,
|
|
105
|
+
configured_pose_inverse_request=configured_pose_inverse_request,
|
|
106
|
+
_request_auth=_request_auth,
|
|
107
|
+
_content_type=_content_type,
|
|
108
|
+
_headers=_headers,
|
|
109
|
+
_host_index=_host_index,
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
113
|
+
"200": "ConfiguredPoseInverseResponse",
|
|
114
|
+
"404": None,
|
|
115
|
+
"422": "ConfiguredPoseInverse422Response",
|
|
116
|
+
"500": None,
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
120
|
+
await response_data.read()
|
|
121
|
+
return self.api_client.response_deserialize(
|
|
122
|
+
response_data=response_data,
|
|
123
|
+
response_types_map=_response_types_map,
|
|
124
|
+
).data
|
|
125
|
+
|
|
126
|
+
@validate_call
|
|
127
|
+
async def configured_pose_inverse_with_http_info(
|
|
128
|
+
self,
|
|
129
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
130
|
+
configured_pose_inverse_request: ConfiguredPoseInverseRequest,
|
|
131
|
+
_request_timeout: Union[
|
|
132
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
133
|
+
] = None,
|
|
134
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
135
|
+
_content_type: Optional[StrictStr] = None,
|
|
136
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
137
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
138
|
+
) -> ApiResponse[ConfiguredPoseInverseResponse]:
|
|
139
|
+
"""Inverse kinematics configured pose
|
|
140
|
+
|
|
141
|
+
**Required permissions:** `can_plan_motion` - Plan robot motions and trajectories ___ Returns the reachable joint positions for a list of given poses.
|
|
142
|
+
|
|
143
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
144
|
+
:type cell: str
|
|
145
|
+
:param configured_pose_inverse_request: (required)
|
|
146
|
+
:type configured_pose_inverse_request: ConfiguredPoseInverseRequest
|
|
147
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
148
|
+
number provided, it will be total request
|
|
149
|
+
timeout. It can also be a pair (tuple) of
|
|
150
|
+
(connection, read) timeouts.
|
|
151
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
152
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
153
|
+
request; this effectively ignores the
|
|
154
|
+
authentication in the spec for a single request.
|
|
155
|
+
:type _request_auth: dict, optional
|
|
156
|
+
:param _content_type: force content-type for the request.
|
|
157
|
+
:type _content_type: str, Optional
|
|
158
|
+
:param _headers: set to override the headers for a single
|
|
159
|
+
request; this effectively ignores the headers
|
|
160
|
+
in the spec for a single request.
|
|
161
|
+
:type _headers: dict, optional
|
|
162
|
+
:param _host_index: set to override the host_index for a single
|
|
163
|
+
request; this effectively ignores the host_index
|
|
164
|
+
in the spec for a single request.
|
|
165
|
+
:type _host_index: int, optional
|
|
166
|
+
:return: Returns the result object.
|
|
167
|
+
""" # noqa: E501
|
|
168
|
+
|
|
169
|
+
_param = self._configured_pose_inverse_serialize(
|
|
170
|
+
cell=cell,
|
|
171
|
+
configured_pose_inverse_request=configured_pose_inverse_request,
|
|
172
|
+
_request_auth=_request_auth,
|
|
173
|
+
_content_type=_content_type,
|
|
174
|
+
_headers=_headers,
|
|
175
|
+
_host_index=_host_index,
|
|
176
|
+
)
|
|
177
|
+
|
|
178
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
179
|
+
"200": "ConfiguredPoseInverseResponse",
|
|
180
|
+
"404": None,
|
|
181
|
+
"422": "ConfiguredPoseInverse422Response",
|
|
182
|
+
"500": None,
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
186
|
+
await response_data.read()
|
|
187
|
+
return self.api_client.response_deserialize(
|
|
188
|
+
response_data=response_data,
|
|
189
|
+
response_types_map=_response_types_map,
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
@validate_call
|
|
193
|
+
async def configured_pose_inverse_without_preload_content(
|
|
194
|
+
self,
|
|
195
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
196
|
+
configured_pose_inverse_request: ConfiguredPoseInverseRequest,
|
|
197
|
+
_request_timeout: Union[
|
|
198
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
199
|
+
] = None,
|
|
200
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
201
|
+
_content_type: Optional[StrictStr] = None,
|
|
202
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
203
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
204
|
+
) -> RESTResponseType:
|
|
205
|
+
"""Inverse kinematics configured pose
|
|
206
|
+
|
|
207
|
+
**Required permissions:** `can_plan_motion` - Plan robot motions and trajectories ___ Returns the reachable joint positions for a list of given poses.
|
|
208
|
+
|
|
209
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
210
|
+
:type cell: str
|
|
211
|
+
:param configured_pose_inverse_request: (required)
|
|
212
|
+
:type configured_pose_inverse_request: ConfiguredPoseInverseRequest
|
|
213
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
214
|
+
number provided, it will be total request
|
|
215
|
+
timeout. It can also be a pair (tuple) of
|
|
216
|
+
(connection, read) timeouts.
|
|
217
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
218
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
219
|
+
request; this effectively ignores the
|
|
220
|
+
authentication in the spec for a single request.
|
|
221
|
+
:type _request_auth: dict, optional
|
|
222
|
+
:param _content_type: force content-type for the request.
|
|
223
|
+
:type _content_type: str, Optional
|
|
224
|
+
:param _headers: set to override the headers for a single
|
|
225
|
+
request; this effectively ignores the headers
|
|
226
|
+
in the spec for a single request.
|
|
227
|
+
:type _headers: dict, optional
|
|
228
|
+
:param _host_index: set to override the host_index for a single
|
|
229
|
+
request; this effectively ignores the host_index
|
|
230
|
+
in the spec for a single request.
|
|
231
|
+
:type _host_index: int, optional
|
|
232
|
+
:return: Returns the result object.
|
|
233
|
+
""" # noqa: E501
|
|
234
|
+
|
|
235
|
+
_param = self._configured_pose_inverse_serialize(
|
|
236
|
+
cell=cell,
|
|
237
|
+
configured_pose_inverse_request=configured_pose_inverse_request,
|
|
238
|
+
_request_auth=_request_auth,
|
|
239
|
+
_content_type=_content_type,
|
|
240
|
+
_headers=_headers,
|
|
241
|
+
_host_index=_host_index,
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
245
|
+
"200": "ConfiguredPoseInverseResponse",
|
|
246
|
+
"404": None,
|
|
247
|
+
"422": "ConfiguredPoseInverse422Response",
|
|
248
|
+
"500": None,
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
252
|
+
return response_data.response
|
|
253
|
+
|
|
254
|
+
def _configured_pose_inverse_serialize(
|
|
255
|
+
self,
|
|
256
|
+
cell,
|
|
257
|
+
configured_pose_inverse_request,
|
|
258
|
+
_request_auth,
|
|
259
|
+
_content_type,
|
|
260
|
+
_headers,
|
|
261
|
+
_host_index,
|
|
262
|
+
) -> RequestSerialized:
|
|
263
|
+
|
|
264
|
+
_host = None
|
|
265
|
+
|
|
266
|
+
_collection_formats: Dict[str, str] = {}
|
|
267
|
+
|
|
268
|
+
_path_params: Dict[str, str] = {}
|
|
269
|
+
_query_params: List[Tuple[str, str]] = []
|
|
270
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
271
|
+
_form_params: List[Tuple[str, str]] = []
|
|
272
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
273
|
+
_body_params: Optional[bytes] = None
|
|
274
|
+
|
|
275
|
+
# process the path parameters
|
|
276
|
+
if cell is not None:
|
|
277
|
+
_path_params["cell"] = cell
|
|
278
|
+
# process the query parameters
|
|
279
|
+
# process the header parameters
|
|
280
|
+
# process the form parameters
|
|
281
|
+
# process the body parameter
|
|
282
|
+
if configured_pose_inverse_request is not None:
|
|
283
|
+
_body_params = configured_pose_inverse_request
|
|
284
|
+
|
|
285
|
+
# set the HTTP header `Accept`
|
|
286
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
287
|
+
|
|
288
|
+
# set the HTTP header `Content-Type`
|
|
289
|
+
if _content_type:
|
|
290
|
+
_header_params["Content-Type"] = _content_type
|
|
291
|
+
else:
|
|
292
|
+
_default_content_type = self.api_client.select_header_content_type(["application/json"])
|
|
293
|
+
if _default_content_type is not None:
|
|
294
|
+
_header_params["Content-Type"] = _default_content_type
|
|
295
|
+
|
|
296
|
+
# authentication setting
|
|
297
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
298
|
+
|
|
299
|
+
return self.api_client.param_serialize(
|
|
300
|
+
method="POST",
|
|
301
|
+
resource_path="/experimental/cells/{cell}/kinematic/configured-pose-inverse",
|
|
302
|
+
path_params=_path_params,
|
|
303
|
+
query_params=_query_params,
|
|
304
|
+
header_params=_header_params,
|
|
305
|
+
body=_body_params,
|
|
306
|
+
post_params=_form_params,
|
|
307
|
+
files=_files,
|
|
308
|
+
auth_settings=_auth_settings,
|
|
309
|
+
collection_formats=_collection_formats,
|
|
310
|
+
_host=_host,
|
|
311
|
+
_request_auth=_request_auth,
|
|
312
|
+
)
|
|
313
|
+
|
|
314
|
+
@validate_call
|
|
315
|
+
async def convert_vendor_configured_pose(
|
|
316
|
+
self,
|
|
317
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
318
|
+
convert_vendor_configured_pose_request: ConvertVendorConfiguredPoseRequest,
|
|
319
|
+
_request_timeout: Union[
|
|
320
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
321
|
+
] = None,
|
|
322
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
323
|
+
_content_type: Optional[StrictStr] = None,
|
|
324
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
325
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
326
|
+
) -> List[ConfiguredPose]:
|
|
327
|
+
"""Convert vendor-configured pose
|
|
328
|
+
|
|
329
|
+
**Required permissions:** `can_plan_motion` - Plan robot motions and trajectories ___ Converts a vendor-specific pose with configuration data to a vendor-independent pose with kinematic configuration.
|
|
330
|
+
|
|
331
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
332
|
+
:type cell: str
|
|
333
|
+
:param convert_vendor_configured_pose_request: (required)
|
|
334
|
+
:type convert_vendor_configured_pose_request: ConvertVendorConfiguredPoseRequest
|
|
335
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
336
|
+
number provided, it will be total request
|
|
337
|
+
timeout. It can also be a pair (tuple) of
|
|
338
|
+
(connection, read) timeouts.
|
|
339
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
340
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
341
|
+
request; this effectively ignores the
|
|
342
|
+
authentication in the spec for a single request.
|
|
343
|
+
:type _request_auth: dict, optional
|
|
344
|
+
:param _content_type: force content-type for the request.
|
|
345
|
+
:type _content_type: str, Optional
|
|
346
|
+
:param _headers: set to override the headers for a single
|
|
347
|
+
request; this effectively ignores the headers
|
|
348
|
+
in the spec for a single request.
|
|
349
|
+
:type _headers: dict, optional
|
|
350
|
+
:param _host_index: set to override the host_index for a single
|
|
351
|
+
request; this effectively ignores the host_index
|
|
352
|
+
in the spec for a single request.
|
|
353
|
+
:type _host_index: int, optional
|
|
354
|
+
:return: Returns the result object.
|
|
355
|
+
""" # noqa: E501
|
|
356
|
+
|
|
357
|
+
_param = self._convert_vendor_configured_pose_serialize(
|
|
358
|
+
cell=cell,
|
|
359
|
+
convert_vendor_configured_pose_request=convert_vendor_configured_pose_request,
|
|
360
|
+
_request_auth=_request_auth,
|
|
361
|
+
_content_type=_content_type,
|
|
362
|
+
_headers=_headers,
|
|
363
|
+
_host_index=_host_index,
|
|
364
|
+
)
|
|
365
|
+
|
|
366
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
367
|
+
"200": "List[ConfiguredPose]",
|
|
368
|
+
"404": None,
|
|
369
|
+
"422": "ConvertVendorConfiguredPose422Response",
|
|
370
|
+
"500": None,
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
374
|
+
await response_data.read()
|
|
375
|
+
return self.api_client.response_deserialize(
|
|
376
|
+
response_data=response_data,
|
|
377
|
+
response_types_map=_response_types_map,
|
|
378
|
+
).data
|
|
379
|
+
|
|
380
|
+
@validate_call
|
|
381
|
+
async def convert_vendor_configured_pose_with_http_info(
|
|
382
|
+
self,
|
|
383
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
384
|
+
convert_vendor_configured_pose_request: ConvertVendorConfiguredPoseRequest,
|
|
385
|
+
_request_timeout: Union[
|
|
386
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
387
|
+
] = None,
|
|
388
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
389
|
+
_content_type: Optional[StrictStr] = None,
|
|
390
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
391
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
392
|
+
) -> ApiResponse[List[ConfiguredPose]]:
|
|
393
|
+
"""Convert vendor-configured pose
|
|
394
|
+
|
|
395
|
+
**Required permissions:** `can_plan_motion` - Plan robot motions and trajectories ___ Converts a vendor-specific pose with configuration data to a vendor-independent pose with kinematic configuration.
|
|
396
|
+
|
|
397
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
398
|
+
:type cell: str
|
|
399
|
+
:param convert_vendor_configured_pose_request: (required)
|
|
400
|
+
:type convert_vendor_configured_pose_request: ConvertVendorConfiguredPoseRequest
|
|
401
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
402
|
+
number provided, it will be total request
|
|
403
|
+
timeout. It can also be a pair (tuple) of
|
|
404
|
+
(connection, read) timeouts.
|
|
405
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
406
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
407
|
+
request; this effectively ignores the
|
|
408
|
+
authentication in the spec for a single request.
|
|
409
|
+
:type _request_auth: dict, optional
|
|
410
|
+
:param _content_type: force content-type for the request.
|
|
411
|
+
:type _content_type: str, Optional
|
|
412
|
+
:param _headers: set to override the headers for a single
|
|
413
|
+
request; this effectively ignores the headers
|
|
414
|
+
in the spec for a single request.
|
|
415
|
+
:type _headers: dict, optional
|
|
416
|
+
:param _host_index: set to override the host_index for a single
|
|
417
|
+
request; this effectively ignores the host_index
|
|
418
|
+
in the spec for a single request.
|
|
419
|
+
:type _host_index: int, optional
|
|
420
|
+
:return: Returns the result object.
|
|
421
|
+
""" # noqa: E501
|
|
422
|
+
|
|
423
|
+
_param = self._convert_vendor_configured_pose_serialize(
|
|
424
|
+
cell=cell,
|
|
425
|
+
convert_vendor_configured_pose_request=convert_vendor_configured_pose_request,
|
|
426
|
+
_request_auth=_request_auth,
|
|
427
|
+
_content_type=_content_type,
|
|
428
|
+
_headers=_headers,
|
|
429
|
+
_host_index=_host_index,
|
|
430
|
+
)
|
|
431
|
+
|
|
432
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
433
|
+
"200": "List[ConfiguredPose]",
|
|
434
|
+
"404": None,
|
|
435
|
+
"422": "ConvertVendorConfiguredPose422Response",
|
|
436
|
+
"500": None,
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
440
|
+
await response_data.read()
|
|
441
|
+
return self.api_client.response_deserialize(
|
|
442
|
+
response_data=response_data,
|
|
443
|
+
response_types_map=_response_types_map,
|
|
444
|
+
)
|
|
445
|
+
|
|
446
|
+
@validate_call
|
|
447
|
+
async def convert_vendor_configured_pose_without_preload_content(
|
|
448
|
+
self,
|
|
449
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
450
|
+
convert_vendor_configured_pose_request: ConvertVendorConfiguredPoseRequest,
|
|
451
|
+
_request_timeout: Union[
|
|
452
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
453
|
+
] = None,
|
|
454
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
455
|
+
_content_type: Optional[StrictStr] = None,
|
|
456
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
457
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
458
|
+
) -> RESTResponseType:
|
|
459
|
+
"""Convert vendor-configured pose
|
|
460
|
+
|
|
461
|
+
**Required permissions:** `can_plan_motion` - Plan robot motions and trajectories ___ Converts a vendor-specific pose with configuration data to a vendor-independent pose with kinematic configuration.
|
|
462
|
+
|
|
463
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
464
|
+
:type cell: str
|
|
465
|
+
:param convert_vendor_configured_pose_request: (required)
|
|
466
|
+
:type convert_vendor_configured_pose_request: ConvertVendorConfiguredPoseRequest
|
|
467
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
468
|
+
number provided, it will be total request
|
|
469
|
+
timeout. It can also be a pair (tuple) of
|
|
470
|
+
(connection, read) timeouts.
|
|
471
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
472
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
473
|
+
request; this effectively ignores the
|
|
474
|
+
authentication in the spec for a single request.
|
|
475
|
+
:type _request_auth: dict, optional
|
|
476
|
+
:param _content_type: force content-type for the request.
|
|
477
|
+
:type _content_type: str, Optional
|
|
478
|
+
:param _headers: set to override the headers for a single
|
|
479
|
+
request; this effectively ignores the headers
|
|
480
|
+
in the spec for a single request.
|
|
481
|
+
:type _headers: dict, optional
|
|
482
|
+
:param _host_index: set to override the host_index for a single
|
|
483
|
+
request; this effectively ignores the host_index
|
|
484
|
+
in the spec for a single request.
|
|
485
|
+
:type _host_index: int, optional
|
|
486
|
+
:return: Returns the result object.
|
|
487
|
+
""" # noqa: E501
|
|
488
|
+
|
|
489
|
+
_param = self._convert_vendor_configured_pose_serialize(
|
|
490
|
+
cell=cell,
|
|
491
|
+
convert_vendor_configured_pose_request=convert_vendor_configured_pose_request,
|
|
492
|
+
_request_auth=_request_auth,
|
|
493
|
+
_content_type=_content_type,
|
|
494
|
+
_headers=_headers,
|
|
495
|
+
_host_index=_host_index,
|
|
496
|
+
)
|
|
497
|
+
|
|
498
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
499
|
+
"200": "List[ConfiguredPose]",
|
|
500
|
+
"404": None,
|
|
501
|
+
"422": "ConvertVendorConfiguredPose422Response",
|
|
502
|
+
"500": None,
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
506
|
+
return response_data.response
|
|
507
|
+
|
|
508
|
+
def _convert_vendor_configured_pose_serialize(
|
|
509
|
+
self,
|
|
510
|
+
cell,
|
|
511
|
+
convert_vendor_configured_pose_request,
|
|
512
|
+
_request_auth,
|
|
513
|
+
_content_type,
|
|
514
|
+
_headers,
|
|
515
|
+
_host_index,
|
|
516
|
+
) -> RequestSerialized:
|
|
517
|
+
|
|
518
|
+
_host = None
|
|
519
|
+
|
|
520
|
+
_collection_formats: Dict[str, str] = {}
|
|
521
|
+
|
|
522
|
+
_path_params: Dict[str, str] = {}
|
|
523
|
+
_query_params: List[Tuple[str, str]] = []
|
|
524
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
525
|
+
_form_params: List[Tuple[str, str]] = []
|
|
526
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
527
|
+
_body_params: Optional[bytes] = None
|
|
528
|
+
|
|
529
|
+
# process the path parameters
|
|
530
|
+
if cell is not None:
|
|
531
|
+
_path_params["cell"] = cell
|
|
532
|
+
# process the query parameters
|
|
533
|
+
# process the header parameters
|
|
534
|
+
# process the form parameters
|
|
535
|
+
# process the body parameter
|
|
536
|
+
if convert_vendor_configured_pose_request is not None:
|
|
537
|
+
_body_params = convert_vendor_configured_pose_request
|
|
538
|
+
|
|
539
|
+
# set the HTTP header `Accept`
|
|
540
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
541
|
+
|
|
542
|
+
# set the HTTP header `Content-Type`
|
|
543
|
+
if _content_type:
|
|
544
|
+
_header_params["Content-Type"] = _content_type
|
|
545
|
+
else:
|
|
546
|
+
_default_content_type = self.api_client.select_header_content_type(["application/json"])
|
|
547
|
+
if _default_content_type is not None:
|
|
548
|
+
_header_params["Content-Type"] = _default_content_type
|
|
549
|
+
|
|
550
|
+
# authentication setting
|
|
551
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
552
|
+
|
|
553
|
+
return self.api_client.param_serialize(
|
|
554
|
+
method="POST",
|
|
555
|
+
resource_path="/experimental/cells/{cell}/kinematic/convert-vendor-configured-pose",
|
|
556
|
+
path_params=_path_params,
|
|
557
|
+
query_params=_query_params,
|
|
558
|
+
header_params=_header_params,
|
|
559
|
+
body=_body_params,
|
|
560
|
+
post_params=_form_params,
|
|
561
|
+
files=_files,
|
|
562
|
+
auth_settings=_auth_settings,
|
|
563
|
+
collection_formats=_collection_formats,
|
|
564
|
+
_host=_host,
|
|
565
|
+
_request_auth=_request_auth,
|
|
566
|
+
)
|
|
567
|
+
|
|
55
568
|
@validate_call
|
|
56
569
|
async def forward_kinematics(
|
|
57
570
|
self,
|
|
@@ -487,7 +487,7 @@ class LicenseApi:
|
|
|
487
487
|
) -> License:
|
|
488
488
|
"""Get license
|
|
489
489
|
|
|
490
|
-
**Required permissions:** `
|
|
490
|
+
**Required permissions:** `can_access_license` - View license status ___ Get information on the license used with the Wandelbots NOVA instance, e.g., licensed product, expiration date, license status.
|
|
491
491
|
|
|
492
492
|
:param _request_timeout: timeout setting for this request. If one
|
|
493
493
|
number provided, it will be total request
|
|
@@ -540,7 +540,7 @@ class LicenseApi:
|
|
|
540
540
|
) -> ApiResponse[License]:
|
|
541
541
|
"""Get license
|
|
542
542
|
|
|
543
|
-
**Required permissions:** `
|
|
543
|
+
**Required permissions:** `can_access_license` - View license status ___ Get information on the license used with the Wandelbots NOVA instance, e.g., licensed product, expiration date, license status.
|
|
544
544
|
|
|
545
545
|
:param _request_timeout: timeout setting for this request. If one
|
|
546
546
|
number provided, it will be total request
|
|
@@ -593,7 +593,7 @@ class LicenseApi:
|
|
|
593
593
|
) -> RESTResponseType:
|
|
594
594
|
"""Get license
|
|
595
595
|
|
|
596
|
-
**Required permissions:** `
|
|
596
|
+
**Required permissions:** `can_access_license` - View license status ___ Get information on the license used with the Wandelbots NOVA instance, e.g., licensed product, expiration date, license status.
|
|
597
597
|
|
|
598
598
|
:param _request_timeout: timeout setting for this request. If one
|
|
599
599
|
number provided, it will be total request
|