wandelbots-api-client 25.7.0.dev41__py3-none-any.whl → 25.8.0.dev2__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_client.py +1 -1
- wandelbots_api_client/configuration.py +1 -1
- wandelbots_api_client/v2/__init__.py +1 -1
- wandelbots_api_client/v2/api_client.py +1 -1
- wandelbots_api_client/v2/configuration.py +1 -1
- wandelbots_api_client/v2/models/__init__.py +0 -2
- wandelbots_api_client/v2/models/joint_trajectory.py +2 -19
- wandelbots_api_client/v2/models/joint_velocity_request.py +4 -8
- wandelbots_api_client/v2/models/motion_group_state.py +8 -18
- {wandelbots_api_client-25.7.0.dev41.dist-info → wandelbots_api_client-25.8.0.dev2.dist-info}/METADATA +2 -2
- {wandelbots_api_client-25.7.0.dev41.dist-info → wandelbots_api_client-25.8.0.dev2.dist-info}/RECORD +14 -15
- wandelbots_api_client/v2/models/joints.py +0 -91
- {wandelbots_api_client-25.7.0.dev41.dist-info → wandelbots_api_client-25.8.0.dev2.dist-info}/LICENSE +0 -0
- {wandelbots_api_client-25.7.0.dev41.dist-info → wandelbots_api_client-25.8.0.dev2.dist-info}/WHEEL +0 -0
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'Wandelbots-Nova-API-Python-Client/25.
|
|
93
|
+
self.user_agent = 'Wandelbots-Nova-API-Python-Client/25.8.0.dev2'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
async def __aenter__(self):
|
|
@@ -524,7 +524,7 @@ conf = wandelbots_api_client.Configuration(
|
|
|
524
524
|
"OS: {env}\n"\
|
|
525
525
|
"Python Version: {pyversion}\n"\
|
|
526
526
|
"Version of the API: 1.0.0\n"\
|
|
527
|
-
"SDK Package Version: 25.
|
|
527
|
+
"SDK Package Version: 25.8.0.dev2".\
|
|
528
528
|
format(env=sys.platform, pyversion=sys.version)
|
|
529
529
|
|
|
530
530
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'Wandelbots-Nova-API-Python-Client/25.
|
|
93
|
+
self.user_agent = 'Wandelbots-Nova-API-Python-Client/25.8.0.dev2'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
async def __aenter__(self):
|
|
@@ -524,7 +524,7 @@ conf = wandelbots_api_client.v2.Configuration(
|
|
|
524
524
|
"OS: {env}\n"\
|
|
525
525
|
"Python Version: {pyversion}\n"\
|
|
526
526
|
"Version of the API: 2.0.0 beta\n"\
|
|
527
|
-
"SDK Package Version: 25.
|
|
527
|
+
"SDK Package Version: 25.8.0.dev2".\
|
|
528
528
|
format(env=sys.platform, pyversion=sys.version)
|
|
529
529
|
|
|
530
530
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -127,7 +127,6 @@ from .joint_limits import JointLimits
|
|
|
127
127
|
from .joint_trajectory import JointTrajectory
|
|
128
128
|
from .joint_velocity_request import JointVelocityRequest
|
|
129
129
|
from .joint_velocity_response import JointVelocityResponse
|
|
130
|
-
from .joints import Joints
|
|
131
130
|
from .kuka_controller import KukaController
|
|
132
131
|
from .kuka_controller_rsi_server import KukaControllerRsiServer
|
|
133
132
|
from .license import License
|
|
@@ -356,7 +355,6 @@ __all__ = [
|
|
|
356
355
|
"JointTrajectory",
|
|
357
356
|
"JointVelocityRequest",
|
|
358
357
|
"JointVelocityResponse",
|
|
359
|
-
"Joints",
|
|
360
358
|
"KukaController",
|
|
361
359
|
"KukaControllerRsiServer",
|
|
362
360
|
"License",
|
|
@@ -19,7 +19,6 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Union
|
|
22
|
-
from wandelbots_api_client.v2.models.joints import Joints
|
|
23
22
|
from typing import Optional, Set
|
|
24
23
|
from typing_extensions import Self
|
|
25
24
|
|
|
@@ -27,7 +26,7 @@ class JointTrajectory(BaseModel):
|
|
|
27
26
|
"""
|
|
28
27
|
JointTrajectory
|
|
29
28
|
""" # noqa: E501
|
|
30
|
-
joint_positions: List[
|
|
29
|
+
joint_positions: List[List[Union[StrictFloat, StrictInt]]] = Field(description="List of joint positions [rad] for each sample. The number of samples must match the number of timestamps provided in the times field. ")
|
|
31
30
|
times: List[Union[StrictFloat, StrictInt]] = Field(description="Timestamp for each sample [s].")
|
|
32
31
|
locations: List[Union[StrictFloat, StrictInt]] = Field(description="Location for each sample, scalar value defining a position along a path. Typical range: 0 to `n`, `n` denoting the number of motion commands. Each integer value of the location corresponds to a specific motion command. If provided, the number of samples must match the number of timestamps provided in the times field. ")
|
|
33
32
|
__properties: ClassVar[List[str]] = ["joint_positions", "times", "locations"]
|
|
@@ -75,16 +74,6 @@ class JointTrajectory(BaseModel):
|
|
|
75
74
|
exclude=excluded_fields,
|
|
76
75
|
exclude_none=True,
|
|
77
76
|
)
|
|
78
|
-
# override the default output from pydantic by calling `to_dict()` of each item in joint_positions (list)
|
|
79
|
-
_items = []
|
|
80
|
-
if self.joint_positions:
|
|
81
|
-
for _item in self.joint_positions:
|
|
82
|
-
# >>> Modified from https://github.com/OpenAPITools/openapi-generator/blob/v7.6.0/modules/openapi-generator/src/main/resources/python/model_generic.mustache
|
|
83
|
-
# to not drop empty elements in lists
|
|
84
|
-
if _item is not None:
|
|
85
|
-
_items.append(_item.to_dict())
|
|
86
|
-
# <<< End modification
|
|
87
|
-
_dict['joint_positions'] = _items
|
|
88
77
|
return _dict
|
|
89
78
|
|
|
90
79
|
@classmethod
|
|
@@ -97,13 +86,7 @@ class JointTrajectory(BaseModel):
|
|
|
97
86
|
return cls.model_validate(obj)
|
|
98
87
|
|
|
99
88
|
_obj = cls.model_validate({
|
|
100
|
-
"joint_positions":
|
|
101
|
-
# >>> Modified from https://github.com/OpenAPITools/openapi-generator/blob/v7.6.0/modules/openapi-generator/src/main/resources/python/model_generic.mustache
|
|
102
|
-
# to allow dicts in lists
|
|
103
|
-
Joints.from_dict(_item) if hasattr(Joints, 'from_dict') else _item
|
|
104
|
-
# <<< End modification
|
|
105
|
-
for _item in obj["joint_positions"]
|
|
106
|
-
] if obj.get("joint_positions") is not None else None,
|
|
89
|
+
"joint_positions": obj.get("joint_positions"),
|
|
107
90
|
"times": obj.get("times"),
|
|
108
91
|
"locations": obj.get("locations")
|
|
109
92
|
})
|
|
@@ -17,9 +17,8 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
21
|
-
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
-
from wandelbots_api_client.v2.models.joints import Joints
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
23
22
|
from typing import Optional, Set
|
|
24
23
|
from typing_extensions import Self
|
|
25
24
|
|
|
@@ -28,7 +27,7 @@ class JointVelocityRequest(BaseModel):
|
|
|
28
27
|
Sets target joint velocities for jogging a motion group.
|
|
29
28
|
""" # noqa: E501
|
|
30
29
|
message_type: Optional[StrictStr] = Field(default='JointVelocityRequest', description="Type specifier for server, set automatically.")
|
|
31
|
-
velocity:
|
|
30
|
+
velocity: List[Union[StrictFloat, StrictInt]] = Field(description="This structure describes a set of joint values (e.g. positions, currents, torques) of a motion group. Float precision is the default. ")
|
|
32
31
|
__properties: ClassVar[List[str]] = ["message_type", "velocity"]
|
|
33
32
|
|
|
34
33
|
@field_validator('message_type')
|
|
@@ -84,9 +83,6 @@ class JointVelocityRequest(BaseModel):
|
|
|
84
83
|
exclude=excluded_fields,
|
|
85
84
|
exclude_none=True,
|
|
86
85
|
)
|
|
87
|
-
# override the default output from pydantic by calling `to_dict()` of velocity
|
|
88
|
-
if self.velocity:
|
|
89
|
-
_dict['velocity'] = self.velocity.to_dict()
|
|
90
86
|
return _dict
|
|
91
87
|
|
|
92
88
|
@classmethod
|
|
@@ -100,7 +96,7 @@ class JointVelocityRequest(BaseModel):
|
|
|
100
96
|
|
|
101
97
|
_obj = cls.model_validate({
|
|
102
98
|
"message_type": obj.get("message_type") if obj.get("message_type") is not None else 'JointVelocityRequest',
|
|
103
|
-
"velocity":
|
|
99
|
+
"velocity": obj.get("velocity")
|
|
104
100
|
})
|
|
105
101
|
return _obj
|
|
106
102
|
|
|
@@ -18,10 +18,9 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
from datetime import datetime
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
22
|
-
from typing import Any, ClassVar, Dict, List, Optional
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
23
23
|
from wandelbots_api_client.v2.models.execute import Execute
|
|
24
|
-
from wandelbots_api_client.v2.models.joints import Joints
|
|
25
24
|
from wandelbots_api_client.v2.models.motion_group_state_joint_limit_reached import MotionGroupStateJointLimitReached
|
|
26
25
|
from wandelbots_api_client.v2.models.pose import Pose
|
|
27
26
|
from typing import Optional, Set
|
|
@@ -35,10 +34,10 @@ class MotionGroupState(BaseModel):
|
|
|
35
34
|
sequence_number: StrictInt = Field(description="Sequence number of the controller state. It starts with 0 upon establishing the connection with a physical controller. The sequence number is reset when the connection to the physical controller is closed and re-established. ")
|
|
36
35
|
motion_group: StrictStr = Field(description="Identifier of the motion group.")
|
|
37
36
|
controller: StrictStr = Field(description="Convenience: Identifier of the robot controller the motion group is attached to.")
|
|
38
|
-
joint_position:
|
|
37
|
+
joint_position: List[Union[StrictFloat, StrictInt]] = Field(description="This structure describes a set of joint values (e.g. positions, currents, torques) of a motion group. Float precision is the default. ")
|
|
39
38
|
joint_limit_reached: MotionGroupStateJointLimitReached = Field(description="Indicates whether the joint is in a limit for all joints of the motion group. ")
|
|
40
|
-
joint_torque: Optional[
|
|
41
|
-
joint_current: Optional[
|
|
39
|
+
joint_torque: Optional[List[Union[StrictFloat, StrictInt]]] = Field(default=None, description="This structure describes a set of joint values (e.g. positions, currents, torques) of a motion group. Float precision is the default. ")
|
|
40
|
+
joint_current: Optional[List[Union[StrictFloat, StrictInt]]] = Field(default=None, description="This structure describes a set of joint values (e.g. positions, currents, torques) of a motion group. Float precision is the default. ")
|
|
42
41
|
flange_pose: Optional[Pose] = Field(default=None, description="Pose of the flange. Positions are in [mm]. Oriantations are in [rad]. The pose is relative to the response_coordinate_system specified in the request. For robot arms a flange pose is always returned, for positioners the flange might not be available, depending on the model. ")
|
|
43
42
|
tcp: Optional[StrictStr] = Field(default=None, description="Unique identifier addressing the active TCP. Might not be returned for positioners as some do not support TCPs, depending on the model. ")
|
|
44
43
|
tcp_pose: Optional[Pose] = Field(default=None, description="Pose of the TCP selected on the robot control panel. Positions are in [mm]. Oriantations are in [rad]. The pose is relative to the response_coordinate_system specified in the request. Might not be returned for positioners as some do not support TCPs, depending on the model. ")
|
|
@@ -91,18 +90,9 @@ class MotionGroupState(BaseModel):
|
|
|
91
90
|
exclude=excluded_fields,
|
|
92
91
|
exclude_none=True,
|
|
93
92
|
)
|
|
94
|
-
# override the default output from pydantic by calling `to_dict()` of joint_position
|
|
95
|
-
if self.joint_position:
|
|
96
|
-
_dict['joint_position'] = self.joint_position.to_dict()
|
|
97
93
|
# override the default output from pydantic by calling `to_dict()` of joint_limit_reached
|
|
98
94
|
if self.joint_limit_reached:
|
|
99
95
|
_dict['joint_limit_reached'] = self.joint_limit_reached.to_dict()
|
|
100
|
-
# override the default output from pydantic by calling `to_dict()` of joint_torque
|
|
101
|
-
if self.joint_torque:
|
|
102
|
-
_dict['joint_torque'] = self.joint_torque.to_dict()
|
|
103
|
-
# override the default output from pydantic by calling `to_dict()` of joint_current
|
|
104
|
-
if self.joint_current:
|
|
105
|
-
_dict['joint_current'] = self.joint_current.to_dict()
|
|
106
96
|
# override the default output from pydantic by calling `to_dict()` of flange_pose
|
|
107
97
|
if self.flange_pose:
|
|
108
98
|
_dict['flange_pose'] = self.flange_pose.to_dict()
|
|
@@ -128,10 +118,10 @@ class MotionGroupState(BaseModel):
|
|
|
128
118
|
"sequence_number": obj.get("sequence_number"),
|
|
129
119
|
"motion_group": obj.get("motion_group"),
|
|
130
120
|
"controller": obj.get("controller"),
|
|
131
|
-
"joint_position":
|
|
121
|
+
"joint_position": obj.get("joint_position"),
|
|
132
122
|
"joint_limit_reached": MotionGroupStateJointLimitReached.from_dict(obj["joint_limit_reached"]) if obj.get("joint_limit_reached") is not None else None,
|
|
133
|
-
"joint_torque":
|
|
134
|
-
"joint_current":
|
|
123
|
+
"joint_torque": obj.get("joint_torque"),
|
|
124
|
+
"joint_current": obj.get("joint_current"),
|
|
135
125
|
"flange_pose": Pose.from_dict(obj["flange_pose"]) if obj.get("flange_pose") is not None else None,
|
|
136
126
|
"tcp": obj.get("tcp"),
|
|
137
127
|
"tcp_pose": Pose.from_dict(obj["tcp_pose"]) if obj.get("tcp_pose") is not None else None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wandelbots-api-client
|
|
3
|
-
Version: 25.
|
|
3
|
+
Version: 25.8.0.dev2
|
|
4
4
|
Summary: Wandelbots Python Client: Interact with robots in an easy and intuitive way.
|
|
5
5
|
Home-page: https://wandelbots.com/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -35,7 +35,7 @@ Description-Content-Type: text/markdown
|
|
|
35
35
|
Interact with robots in an easy and intuitive way.
|
|
36
36
|
|
|
37
37
|
- Compatible API version: 1.0.0 (can be found at the home screen of your instance -> API)
|
|
38
|
-
- Package version: 25.
|
|
38
|
+
- Package version: 25.8.0.dev2
|
|
39
39
|
|
|
40
40
|
Sign up for our [Wandelbots Developers Beta program](https://www.wandelbots.com/developers-beta) to get access to the Wandelbots API.
|
|
41
41
|
|
{wandelbots_api_client-25.7.0.dev41.dist-info → wandelbots_api_client-25.8.0.dev2.dist-info}/RECORD
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
wandelbots_api_client/__init__.py,sha256=
|
|
1
|
+
wandelbots_api_client/__init__.py,sha256=5amZ8JBGra3hcQIrYaL-bngrl3vezxh_Yp82fle0u_o,1022
|
|
2
2
|
wandelbots_api_client/api/__init__.py,sha256=LCro2rt4NjT1jOBiLAWzPYZgTFleOUX7TajzN7O2G3o,2157
|
|
3
3
|
wandelbots_api_client/api/application_api.py,sha256=vvoLPlOi2GIkJu3wlxRVp0WdJl4dJBJgS-p5XCl-NoM,70751
|
|
4
4
|
wandelbots_api_client/api/cell_api.py,sha256=0ZrGAhqweezISLmm_wnY9Ywp4PvlqChZpjAu2XvRTdc,66053
|
|
@@ -27,9 +27,9 @@ wandelbots_api_client/api/virtual_robot_api.py,sha256=nPxDJV5M7DoxAPe4Fquq7MTLJH
|
|
|
27
27
|
wandelbots_api_client/api/virtual_robot_behavior_api.py,sha256=6ynJEaNMxX8cz-QW8j_VVBXegGE4MspoEmTbbPaSYvQ,32181
|
|
28
28
|
wandelbots_api_client/api/virtual_robot_mode_api.py,sha256=gy6u0fUjWQwBI--EfYSc6jkO5bgG1ukPfL7IT-oA0TM,73437
|
|
29
29
|
wandelbots_api_client/api/virtual_robot_setup_api.py,sha256=MY9SIYbC1-WoGRG4ItnKgKgBWw1iuVU_6iptc0xNTa8,103324
|
|
30
|
-
wandelbots_api_client/api_client.py,sha256=
|
|
30
|
+
wandelbots_api_client/api_client.py,sha256=HeAYD3gI2TRa9x35YTNPBFwGNbrHSWdNvFtBnZYvIaw,27595
|
|
31
31
|
wandelbots_api_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
32
|
-
wandelbots_api_client/configuration.py,sha256=
|
|
32
|
+
wandelbots_api_client/configuration.py,sha256=XTfdF6nAGTQPg7GJlw8vUU7ww03zu-kgPBYKB16GxNw,18312
|
|
33
33
|
wandelbots_api_client/exceptions.py,sha256=4ukZiylEwTUCen4G_zzHViQOC0Desk52mRekPGrRcKQ,6428
|
|
34
34
|
wandelbots_api_client/models/__init__.py,sha256=0XG98LJK9Iqxv-r207BQNB3_imHWLkXtxTqLV2n0Kh4,23771
|
|
35
35
|
wandelbots_api_client/models/abb_controller.py,sha256=NyphxMVPomm1xuYtoPEhEJ17YV4a3Lbri_KTqjL3mSE,4049
|
|
@@ -325,7 +325,7 @@ wandelbots_api_client/models/virtual_robot_configuration.py,sha256=KcgjymCdWxcHE
|
|
|
325
325
|
wandelbots_api_client/models/yaskawa_controller.py,sha256=_DkR9wvTKrGqMZGIcg0d3cu0G45YSf9iekykTyBKrbE,3203
|
|
326
326
|
wandelbots_api_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
327
327
|
wandelbots_api_client/rest.py,sha256=_X74qGWiiOLYoP_QpNiI9u8kABK4reJYHznf01UKER4,7208
|
|
328
|
-
wandelbots_api_client/v2/__init__.py,sha256=
|
|
328
|
+
wandelbots_api_client/v2/__init__.py,sha256=2mTCCVDPvXxKNaW28aiBbIqGgOat9BOk3RZA615iPqo,1110
|
|
329
329
|
wandelbots_api_client/v2/api/__init__.py,sha256=dexyi24I9ZSXj4ei9x2hFxVxqrE6mitH4lDTg6dmMdk,1670
|
|
330
330
|
wandelbots_api_client/v2/api/application_api.py,sha256=BPHnTrdMEmcz3yeRFxvU2hWUvFCYUbJegQfOy5OgDfg,71005
|
|
331
331
|
wandelbots_api_client/v2/api/bus_inputs_outputs_api.py,sha256=B_nSU5TioFTEd7b980H_AGsmQGUqE3co9S_mOA4osAM,146414
|
|
@@ -347,11 +347,11 @@ wandelbots_api_client/v2/api/trajectory_planning_api.py,sha256=q4XDwYCY5-d3gASap
|
|
|
347
347
|
wandelbots_api_client/v2/api/virtual_controller_api.py,sha256=ZiAobfkwfuy57FizSibrjFZbzPmV2mXdRbSDX_vOVqg,195784
|
|
348
348
|
wandelbots_api_client/v2/api/virtual_controller_behavior_api.py,sha256=36WMfZUr8vVgsF2q5bxEdF9nlqP-ZN3Rg4QWIdXmJZY,42381
|
|
349
349
|
wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py,sha256=6WI9bdK78-A0IyfG-u0aYcaYQKoIQnmECpSsuwarsI0,42483
|
|
350
|
-
wandelbots_api_client/v2/api_client.py,sha256=
|
|
350
|
+
wandelbots_api_client/v2/api_client.py,sha256=mHV_oDedzUoXUiBYzx5xQ578zzhfnLbwnr035DGVQ54,27701
|
|
351
351
|
wandelbots_api_client/v2/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
352
|
-
wandelbots_api_client/v2/configuration.py,sha256=
|
|
352
|
+
wandelbots_api_client/v2/configuration.py,sha256=s0AhHUx06a1bKfwBxhaqh4t5nGNCOLXpjQdIRf_qKrY,18411
|
|
353
353
|
wandelbots_api_client/v2/exceptions.py,sha256=dAl-6ZWR0W3REJYdNiRpXHF9yH_6QNlr6dWAaUUMM3E,6516
|
|
354
|
-
wandelbots_api_client/v2/models/__init__.py,sha256=
|
|
354
|
+
wandelbots_api_client/v2/models/__init__.py,sha256=uDlGoLrfNI4jjaC3_JGXHNXEsfew3qtMZOsG9IaJhok,18506
|
|
355
355
|
wandelbots_api_client/v2/models/abb_controller.py,sha256=XZZ6vqKWzYzgBE1MJVD7QfZ9z5PkCTpNjXthX2Pqysc,4071
|
|
356
356
|
wandelbots_api_client/v2/models/abb_controller_egm_server.py,sha256=Ssh2iVQFxuMw1uvQhsJ3PyFpuEufy3UEA4wqGPrBcT0,2858
|
|
357
357
|
wandelbots_api_client/v2/models/activate_license_request.py,sha256=agPG10-o3E1Kn7iRmbCi-vWKmfIIjOA9iZJvobAj4jc,2776
|
|
@@ -462,10 +462,9 @@ wandelbots_api_client/v2/models/jogging_paused_on_io.py,sha256=caxZ27ZepJiyRHZE0
|
|
|
462
462
|
wandelbots_api_client/v2/models/jogging_running.py,sha256=8UShD2RhrA7ytCkriCzGCCglE_1WV9ywnpCEJsEc1MI,2890
|
|
463
463
|
wandelbots_api_client/v2/models/joint_limit_exceeded.py,sha256=uw-GxWPprUXzAfqOOj5nueXtsUUUyiBORC-3kh0Vi5w,3158
|
|
464
464
|
wandelbots_api_client/v2/models/joint_limits.py,sha256=Pqd2Z_YC3E9xNEw_f7m06rw5VAHH8HmXGdJBWGRAWzU,3349
|
|
465
|
-
wandelbots_api_client/v2/models/joint_trajectory.py,sha256=
|
|
466
|
-
wandelbots_api_client/v2/models/joint_velocity_request.py,sha256=
|
|
465
|
+
wandelbots_api_client/v2/models/joint_trajectory.py,sha256=BV1JVPUG35yM3dLZ9gK5ALSnYHW6todlOY4rae0N_lA,3504
|
|
466
|
+
wandelbots_api_client/v2/models/joint_velocity_request.py,sha256=fg4xK92ZS9nAHWSVumuQHTnJYESBjVVE_hTwxg5BV8o,3568
|
|
467
467
|
wandelbots_api_client/v2/models/joint_velocity_response.py,sha256=iIzsPdjb91DRez7nJuM8b_ze_Xse7RM6cQvE-tMqyxo,3167
|
|
468
|
-
wandelbots_api_client/v2/models/joints.py,sha256=lx13kjqq29afwVlGxu7aj81ASMXa3C6RM78XyImCUqw,3076
|
|
469
468
|
wandelbots_api_client/v2/models/kuka_controller.py,sha256=MiVTe9rlU2auWGusrSwE_R49ZPo-lAuZaTAf7qbwBdU,3990
|
|
470
469
|
wandelbots_api_client/v2/models/kuka_controller_rsi_server.py,sha256=DDn7f3j6muwGTf5U5x260eTielp4cFu-RQu2Vt02Rmg,2842
|
|
471
470
|
wandelbots_api_client/v2/models/license.py,sha256=f7Ds6utSh0MVZa6AM5FZfIigpwLB6H6vlMsXSMjWGbs,4667
|
|
@@ -485,7 +484,7 @@ wandelbots_api_client/v2/models/motion_group_description.py,sha256=qY3GJc-16GeAk
|
|
|
485
484
|
wandelbots_api_client/v2/models/motion_group_info.py,sha256=sP-jhVH9BETPTG4rJvbyc3gwfzlPPHW25amtn9ztUEM,3099
|
|
486
485
|
wandelbots_api_client/v2/models/motion_group_joints.py,sha256=Bc4Q-vSwY7QuyDWBbT5lzjfoNHtW1OPMyQUvqTZdQvc,3540
|
|
487
486
|
wandelbots_api_client/v2/models/motion_group_setup.py,sha256=z_N7og3qLyTjxxVz_tuhZAz5Fq5C3dVy53gPriimuhY,6121
|
|
488
|
-
wandelbots_api_client/v2/models/motion_group_state.py,sha256=
|
|
487
|
+
wandelbots_api_client/v2/models/motion_group_state.py,sha256=xTuG8vClv9Omdu7TdpC9y-jKd_KLWzJKm29UyaIr6QA,8320
|
|
489
488
|
wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py,sha256=W186UVQmonIfKvEDUIwuPgB5N8fxJmkqOdTwnyM22Lg,2995
|
|
490
489
|
wandelbots_api_client/v2/models/movement_error_response.py,sha256=OXDYPnOa495BfdVhtwzuP7Hxd5O2obDgskjPXyRF--Q,3162
|
|
491
490
|
wandelbots_api_client/v2/models/nan_value.py,sha256=BMeF7xvvZutWXoSx9jlEmBBPDU3rrOCtBOXpEFKsaHY,2979
|
|
@@ -581,7 +580,7 @@ wandelbots_api_client/v2/models/wait_for_io_event_request.py,sha256=fN26w26nC0u7
|
|
|
581
580
|
wandelbots_api_client/v2/models/yaskawa_controller.py,sha256=25SUJjdLyy3ZGHsGLhPYQpyGO9Bp2nGT9luk2B7_dA0,3257
|
|
582
581
|
wandelbots_api_client/v2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
583
582
|
wandelbots_api_client/v2/rest.py,sha256=6a7yb-r1BWnJgC8_9PgI_k_RRX29eJQvltiKCUU5XW0,7299
|
|
584
|
-
wandelbots_api_client-25.
|
|
585
|
-
wandelbots_api_client-25.
|
|
586
|
-
wandelbots_api_client-25.
|
|
587
|
-
wandelbots_api_client-25.
|
|
583
|
+
wandelbots_api_client-25.8.0.dev2.dist-info/LICENSE,sha256=PJyUaZgTVC0_nJmhRpcbnOcXvmTqJGE6axeSifngIGY,11344
|
|
584
|
+
wandelbots_api_client-25.8.0.dev2.dist-info/METADATA,sha256=dqXkwInz4bdef11-CJraY0JEQmEB_AzDBr5MLPFx6oM,1969
|
|
585
|
+
wandelbots_api_client-25.8.0.dev2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
586
|
+
wandelbots_api_client-25.8.0.dev2.dist-info/RECORD,,
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Wandelbots NOVA API
|
|
5
|
-
|
|
6
|
-
Interact with robots in an easy and intuitive way. > **Note:** API version 2 is experimental and will experience functional changes.
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 2.0.0 beta
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from __future__ import annotations
|
|
16
|
-
import pprint
|
|
17
|
-
import re # noqa: F401
|
|
18
|
-
import json
|
|
19
|
-
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt
|
|
21
|
-
from typing import Any, ClassVar, Dict, List, Union
|
|
22
|
-
from typing import Optional, Set
|
|
23
|
-
from typing_extensions import Self
|
|
24
|
-
|
|
25
|
-
class Joints(BaseModel):
|
|
26
|
-
"""
|
|
27
|
-
This structure describes a set of joint values of a motion group. We call a set of joint values describing the current position in joint space of a motion group a \"joint position\". Joint position was chosen as the term to be consistent with the terms \"joint velocity\" and \"joint acceleration\". `joints` must have as many entries as the motion group's degrees of freedom to be valid. Float precision is the default.
|
|
28
|
-
""" # noqa: E501
|
|
29
|
-
joints: List[Union[StrictFloat, StrictInt]]
|
|
30
|
-
__properties: ClassVar[List[str]] = ["joints"]
|
|
31
|
-
|
|
32
|
-
model_config = ConfigDict(
|
|
33
|
-
populate_by_name=True,
|
|
34
|
-
validate_assignment=True,
|
|
35
|
-
protected_namespaces=(),
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
def to_str(self) -> str:
|
|
40
|
-
"""Returns the string representation of the model using alias"""
|
|
41
|
-
return pprint.pformat(self.model_dump(by_alias=True, exclude_none=True))
|
|
42
|
-
|
|
43
|
-
def to_json(self) -> str:
|
|
44
|
-
"""
|
|
45
|
-
Returns the JSON representation of the model using alias
|
|
46
|
-
|
|
47
|
-
Do not use pydantic v2 .model_dump_json(by_alias=True, exclude_unset=True) here!
|
|
48
|
-
It is unable to resolve nested types generated by openapi-generator.
|
|
49
|
-
"""
|
|
50
|
-
return json.dumps(self.to_dict())
|
|
51
|
-
|
|
52
|
-
@classmethod
|
|
53
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
54
|
-
"""Create an instance of Joints from a JSON string"""
|
|
55
|
-
return cls.from_dict(json.loads(json_str))
|
|
56
|
-
|
|
57
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
58
|
-
"""Return the dictionary representation of the model using alias.
|
|
59
|
-
|
|
60
|
-
This has the following differences from calling pydantic's
|
|
61
|
-
`self.model_dump(by_alias=True)`:
|
|
62
|
-
|
|
63
|
-
* `None` is only added to the output dict for nullable fields that
|
|
64
|
-
were set at model initialization. Other fields with value `None`
|
|
65
|
-
are ignored.
|
|
66
|
-
"""
|
|
67
|
-
excluded_fields: Set[str] = set([
|
|
68
|
-
])
|
|
69
|
-
|
|
70
|
-
_dict = self.model_dump(
|
|
71
|
-
by_alias=True,
|
|
72
|
-
exclude=excluded_fields,
|
|
73
|
-
exclude_none=True,
|
|
74
|
-
)
|
|
75
|
-
return _dict
|
|
76
|
-
|
|
77
|
-
@classmethod
|
|
78
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
79
|
-
"""Create an instance of Joints from a dict"""
|
|
80
|
-
if obj is None:
|
|
81
|
-
return None
|
|
82
|
-
|
|
83
|
-
if not isinstance(obj, dict):
|
|
84
|
-
return cls.model_validate(obj)
|
|
85
|
-
|
|
86
|
-
_obj = cls.model_validate({
|
|
87
|
-
"joints": obj.get("joints")
|
|
88
|
-
})
|
|
89
|
-
return _obj
|
|
90
|
-
|
|
91
|
-
|
{wandelbots_api_client-25.7.0.dev41.dist-info → wandelbots_api_client-25.8.0.dev2.dist-info}/LICENSE
RENAMED
|
File without changes
|
{wandelbots_api_client-25.7.0.dev41.dist-info → wandelbots_api_client-25.8.0.dev2.dist-info}/WHEEL
RENAMED
|
File without changes
|