wandelbots-api-client 26.4.0.dev34__py3-none-any.whl → 26.4.0.dev36__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 +2 -0
- wandelbots_api_client/v2/models/range.py +84 -0
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +16 -3
- wandelbots_api_client/v2/models/rrt_connect_algorithm_step_size.py +156 -0
- wandelbots_api_client/v2_pydantic/__init__.py +1 -1
- 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 +4 -2
- wandelbots_api_client/v2_pydantic/models/models.py +18 -5
- {wandelbots_api_client-26.4.0.dev34.dist-info → wandelbots_api_client-26.4.0.dev36.dist-info}/METADATA +2 -2
- {wandelbots_api_client-26.4.0.dev34.dist-info → wandelbots_api_client-26.4.0.dev36.dist-info}/RECORD +18 -16
- {wandelbots_api_client-26.4.0.dev34.dist-info → wandelbots_api_client-26.4.0.dev36.dist-info}/WHEEL +0 -0
|
@@ -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.dev36"
|
|
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.dev36".format(env=sys.platform, pyversion=sys.version)
|
|
516
516
|
)
|
|
517
517
|
|
|
518
518
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -85,7 +85,7 @@ class ApiClient:
|
|
|
85
85
|
self.default_headers[header_name] = header_value
|
|
86
86
|
self.cookie = cookie
|
|
87
87
|
# Set default User-Agent.
|
|
88
|
-
self.user_agent = "Wandelbots-Nova-API-Python-Client/26.4.0.
|
|
88
|
+
self.user_agent = "Wandelbots-Nova-API-Python-Client/26.4.0.dev36"
|
|
89
89
|
self.client_side_validation = configuration.client_side_validation
|
|
90
90
|
|
|
91
91
|
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: 2.4.0 dev\n"
|
|
515
|
-
"SDK Package Version: 26.4.0.
|
|
515
|
+
"SDK Package Version: 26.4.0.dev36".format(env=sys.platform, pyversion=sys.version)
|
|
516
516
|
)
|
|
517
517
|
|
|
518
518
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -310,6 +310,8 @@ from wandelbots_api_client.v2.models.project_joint_position_direction_constraint
|
|
|
310
310
|
ProjectJointPositionDirectionConstraintValidationErrorAllOfData,
|
|
311
311
|
)
|
|
312
312
|
from wandelbots_api_client.v2.models.rrt_connect_algorithm import RRTConnectAlgorithm
|
|
313
|
+
from wandelbots_api_client.v2.models.rrt_connect_algorithm_step_size import RRTConnectAlgorithmStepSize
|
|
314
|
+
from wandelbots_api_client.v2.models.range import Range
|
|
313
315
|
from wandelbots_api_client.v2.models.rectangle import Rectangle
|
|
314
316
|
from wandelbots_api_client.v2.models.rectangular_capsule import RectangularCapsule
|
|
315
317
|
from wandelbots_api_client.v2.models.release_channel import ReleaseChannel
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.4.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import pprint
|
|
16
|
+
import re # noqa: F401
|
|
17
|
+
import json
|
|
18
|
+
|
|
19
|
+
from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt
|
|
20
|
+
from typing import Any, ClassVar, Dict, List, Union
|
|
21
|
+
from typing import Optional, Set
|
|
22
|
+
from typing_extensions import Self
|
|
23
|
+
from pydantic_core import to_jsonable_python
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class Range(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
Inclusive range defined by minimum and maximum. [max] must be greater than [min].
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
|
|
31
|
+
min: Union[StrictFloat, StrictInt]
|
|
32
|
+
max: Union[StrictFloat, StrictInt]
|
|
33
|
+
__properties: ClassVar[List[str]] = ["min", "max"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
validate_by_name=True,
|
|
37
|
+
validate_by_alias=True,
|
|
38
|
+
validate_assignment=True,
|
|
39
|
+
protected_namespaces=(),
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
+
"""Create an instance of Range from a JSON string"""
|
|
53
|
+
return cls.from_dict(json.loads(json_str))
|
|
54
|
+
|
|
55
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
+
"""Return the dictionary representation of the model using alias.
|
|
57
|
+
|
|
58
|
+
This has the following differences from calling pydantic's
|
|
59
|
+
`self.model_dump(by_alias=True)`:
|
|
60
|
+
|
|
61
|
+
* `None` is only added to the output dict for nullable fields that
|
|
62
|
+
were set at model initialization. Other fields with value `None`
|
|
63
|
+
are ignored.
|
|
64
|
+
"""
|
|
65
|
+
excluded_fields: Set[str] = set([])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
return _dict
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of Range from a dict"""
|
|
77
|
+
if obj is None:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not isinstance(obj, dict):
|
|
81
|
+
return cls.model_validate(obj)
|
|
82
|
+
|
|
83
|
+
_obj = cls.model_validate({"min": obj.get("min"), "max": obj.get("max")})
|
|
84
|
+
return _obj
|
|
@@ -19,6 +19,7 @@ import json
|
|
|
19
19
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
+
from wandelbots_api_client.v2.models.rrt_connect_algorithm_step_size import RRTConnectAlgorithmStepSize
|
|
22
23
|
from typing import Optional, Set
|
|
23
24
|
from typing_extensions import Self
|
|
24
25
|
from pydantic_core import to_jsonable_python
|
|
@@ -37,11 +38,13 @@ class RRTConnectAlgorithm(BaseModel):
|
|
|
37
38
|
description="Maximum number of iterations for the RRT Connect algorithm. Higher values increase likelihood of success, but also computation time. ",
|
|
38
39
|
)
|
|
39
40
|
max_step_size: Optional[Union[StrictFloat, StrictInt]] = Field(
|
|
40
|
-
default=1, description="Maximum step size for tree extension in joint space."
|
|
41
|
+
default=0.1, description="Deprecated in favor of [step_size]. Maximum step size for tree extension in joint space."
|
|
41
42
|
)
|
|
42
43
|
adaptive_step_size: Optional[StrictBool] = Field(
|
|
43
|
-
default=True,
|
|
44
|
+
default=True,
|
|
45
|
+
description="Deprecated in favor of [step_size]. Adjust the maximum step size during the search based on the recent success rate of tree expansion.",
|
|
44
46
|
)
|
|
47
|
+
step_size: Optional[RRTConnectAlgorithmStepSize] = None
|
|
45
48
|
apply_smoothing: Optional[StrictBool] = Field(
|
|
46
49
|
default=True,
|
|
47
50
|
description="Apply smoothing after the search has succeeded. This will remove as many intermediate points as possible while keeping the path valid.",
|
|
@@ -55,6 +58,7 @@ class RRTConnectAlgorithm(BaseModel):
|
|
|
55
58
|
"max_iterations",
|
|
56
59
|
"max_step_size",
|
|
57
60
|
"adaptive_step_size",
|
|
61
|
+
"step_size",
|
|
58
62
|
"apply_smoothing",
|
|
59
63
|
"apply_blending",
|
|
60
64
|
]
|
|
@@ -103,6 +107,14 @@ class RRTConnectAlgorithm(BaseModel):
|
|
|
103
107
|
exclude=excluded_fields,
|
|
104
108
|
exclude_none=True,
|
|
105
109
|
)
|
|
110
|
+
# override the default output from pydantic by calling `to_dict()` of step_size
|
|
111
|
+
if self.step_size:
|
|
112
|
+
_dict["step_size"] = self.step_size.to_dict()
|
|
113
|
+
# set to None if step_size (nullable) is None
|
|
114
|
+
# and model_fields_set contains the field
|
|
115
|
+
if self.step_size is None and "step_size" in self.model_fields_set:
|
|
116
|
+
_dict["step_size"] = None
|
|
117
|
+
|
|
106
118
|
return _dict
|
|
107
119
|
|
|
108
120
|
@classmethod
|
|
@@ -118,8 +130,9 @@ class RRTConnectAlgorithm(BaseModel):
|
|
|
118
130
|
{
|
|
119
131
|
"algorithm_name": obj.get("algorithm_name"),
|
|
120
132
|
"max_iterations": obj.get("max_iterations") if obj.get("max_iterations") is not None else 10000,
|
|
121
|
-
"max_step_size": obj.get("max_step_size") if obj.get("max_step_size") is not None else 1,
|
|
133
|
+
"max_step_size": obj.get("max_step_size") if obj.get("max_step_size") is not None else 0.1,
|
|
122
134
|
"adaptive_step_size": obj.get("adaptive_step_size") if obj.get("adaptive_step_size") is not None else True,
|
|
135
|
+
"step_size": RRTConnectAlgorithmStepSize.from_dict(obj["step_size"]) if obj.get("step_size") is not None else None,
|
|
123
136
|
"apply_smoothing": obj.get("apply_smoothing") if obj.get("apply_smoothing") is not None else True,
|
|
124
137
|
"apply_blending": obj.get("apply_blending") if obj.get("apply_blending") is not None else True,
|
|
125
138
|
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.4.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import json
|
|
16
|
+
import pprint
|
|
17
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, ValidationError, field_validator
|
|
18
|
+
from typing import Any, List, Optional, Union
|
|
19
|
+
from wandelbots_api_client.v2.models.range import Range
|
|
20
|
+
from pydantic import StrictStr, Field
|
|
21
|
+
from typing import Union, List, Set, Optional, Dict
|
|
22
|
+
from typing_extensions import Literal, Self
|
|
23
|
+
|
|
24
|
+
RRTCONNECTALGORITHMSTEPSIZE_ONE_OF_SCHEMAS = ["Range", "float"]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class RRTConnectAlgorithmStepSize(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
Step size for tree extension in joint space. If a range is given, the step size is adaptively adjusted based on the recent success rate.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
# data type: float
|
|
33
|
+
oneof_schema_1_validator: Optional[Union[StrictFloat, StrictInt]] = None
|
|
34
|
+
# data type: Range
|
|
35
|
+
oneof_schema_2_validator: Optional[Range] = None
|
|
36
|
+
actual_instance: Optional[Union[Range, float]] = None
|
|
37
|
+
one_of_schemas: Set[str] = {"Range", "float"}
|
|
38
|
+
|
|
39
|
+
model_config = ConfigDict(
|
|
40
|
+
validate_assignment=True,
|
|
41
|
+
protected_namespaces=(),
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
def __init__(self, *args, **kwargs) -> None:
|
|
45
|
+
if args:
|
|
46
|
+
if len(args) > 1:
|
|
47
|
+
raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
|
|
48
|
+
if kwargs:
|
|
49
|
+
raise ValueError("If a position argument is used, keyword arguments cannot be used.")
|
|
50
|
+
super().__init__(actual_instance=args[0])
|
|
51
|
+
else:
|
|
52
|
+
super().__init__(**kwargs)
|
|
53
|
+
|
|
54
|
+
@field_validator("actual_instance")
|
|
55
|
+
def actual_instance_must_validate_oneof(cls, v):
|
|
56
|
+
if v is None:
|
|
57
|
+
return v
|
|
58
|
+
|
|
59
|
+
instance = RRTConnectAlgorithmStepSize.model_construct()
|
|
60
|
+
error_messages = []
|
|
61
|
+
match = 0
|
|
62
|
+
# validate data type: float
|
|
63
|
+
try:
|
|
64
|
+
instance.oneof_schema_1_validator = v
|
|
65
|
+
match += 1
|
|
66
|
+
except (ValidationError, ValueError) as e:
|
|
67
|
+
error_messages.append(str(e))
|
|
68
|
+
# validate data type: Range
|
|
69
|
+
if not isinstance(v, Range):
|
|
70
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `Range`")
|
|
71
|
+
else:
|
|
72
|
+
match += 1
|
|
73
|
+
if match > 1:
|
|
74
|
+
# more than 1 match
|
|
75
|
+
raise ValueError(
|
|
76
|
+
"Multiple matches found when setting `actual_instance` in RRTConnectAlgorithmStepSize with oneOf schemas: Range, float. Details: "
|
|
77
|
+
+ ", ".join(error_messages)
|
|
78
|
+
)
|
|
79
|
+
elif match == 0:
|
|
80
|
+
# no match
|
|
81
|
+
raise ValueError(
|
|
82
|
+
"No match found when setting `actual_instance` in RRTConnectAlgorithmStepSize with oneOf schemas: Range, float. Details: "
|
|
83
|
+
+ ", ".join(error_messages)
|
|
84
|
+
)
|
|
85
|
+
else:
|
|
86
|
+
return v
|
|
87
|
+
|
|
88
|
+
@classmethod
|
|
89
|
+
def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self:
|
|
90
|
+
return cls.from_json(json.dumps(obj))
|
|
91
|
+
|
|
92
|
+
@classmethod
|
|
93
|
+
def from_json(cls, json_str: Optional[str]) -> Self:
|
|
94
|
+
"""Returns the object represented by the json string"""
|
|
95
|
+
instance = cls.model_construct()
|
|
96
|
+
if json_str is None:
|
|
97
|
+
return instance
|
|
98
|
+
|
|
99
|
+
error_messages = []
|
|
100
|
+
match = 0
|
|
101
|
+
|
|
102
|
+
# deserialize data into float
|
|
103
|
+
try:
|
|
104
|
+
# validation
|
|
105
|
+
instance.oneof_schema_1_validator = json.loads(json_str)
|
|
106
|
+
# assign value to actual_instance
|
|
107
|
+
instance.actual_instance = instance.oneof_schema_1_validator
|
|
108
|
+
match += 1
|
|
109
|
+
except (ValidationError, ValueError) as e:
|
|
110
|
+
error_messages.append(str(e))
|
|
111
|
+
# deserialize data into Range
|
|
112
|
+
try:
|
|
113
|
+
instance.actual_instance = Range.from_json(json_str)
|
|
114
|
+
match += 1
|
|
115
|
+
except (ValidationError, ValueError) as e:
|
|
116
|
+
error_messages.append(str(e))
|
|
117
|
+
|
|
118
|
+
if match > 1:
|
|
119
|
+
# more than 1 match
|
|
120
|
+
raise ValueError(
|
|
121
|
+
"Multiple matches found when deserializing the JSON string into RRTConnectAlgorithmStepSize with oneOf schemas: Range, float. Details: "
|
|
122
|
+
+ ", ".join(error_messages)
|
|
123
|
+
)
|
|
124
|
+
elif match == 0:
|
|
125
|
+
# no match
|
|
126
|
+
raise ValueError(
|
|
127
|
+
"No match found when deserializing the JSON string into RRTConnectAlgorithmStepSize with oneOf schemas: Range, float. Details: "
|
|
128
|
+
+ ", ".join(error_messages)
|
|
129
|
+
)
|
|
130
|
+
else:
|
|
131
|
+
return instance
|
|
132
|
+
|
|
133
|
+
def to_json(self) -> str:
|
|
134
|
+
"""Returns the JSON representation of the actual instance"""
|
|
135
|
+
if self.actual_instance is None:
|
|
136
|
+
return "null"
|
|
137
|
+
|
|
138
|
+
if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
|
|
139
|
+
return self.actual_instance.to_json()
|
|
140
|
+
else:
|
|
141
|
+
return json.dumps(self.actual_instance)
|
|
142
|
+
|
|
143
|
+
def to_dict(self) -> Optional[Union[Dict[str, Any], Range, float]]:
|
|
144
|
+
"""Returns the dict representation of the actual instance"""
|
|
145
|
+
if self.actual_instance is None:
|
|
146
|
+
return None
|
|
147
|
+
|
|
148
|
+
if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
|
|
149
|
+
return self.actual_instance.to_dict()
|
|
150
|
+
else:
|
|
151
|
+
# primitive type
|
|
152
|
+
return self.actual_instance
|
|
153
|
+
|
|
154
|
+
def to_str(self) -> str:
|
|
155
|
+
"""Returns the string representation of the actual instance"""
|
|
156
|
+
return pprint.pformat(self.model_dump())
|
|
@@ -85,7 +85,7 @@ class ApiClient:
|
|
|
85
85
|
self.default_headers[header_name] = header_value
|
|
86
86
|
self.cookie = cookie
|
|
87
87
|
# Set default User-Agent.
|
|
88
|
-
self.user_agent = "Wandelbots-Nova-API-Python-Client/26.4.0.
|
|
88
|
+
self.user_agent = "Wandelbots-Nova-API-Python-Client/26.4.0.dev36"
|
|
89
89
|
self.client_side_validation = configuration.client_side_validation
|
|
90
90
|
|
|
91
91
|
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: 2.4.0 dev\n"
|
|
515
|
-
"SDK Package Version: 26.4.0.
|
|
515
|
+
"SDK Package Version: 26.4.0.dev36".format(env=sys.platform, pyversion=sys.version)
|
|
516
516
|
)
|
|
517
517
|
|
|
518
518
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
|
-
# filename:
|
|
3
|
-
# timestamp: 2026-04-
|
|
2
|
+
# filename: tmpui7b2d1q
|
|
3
|
+
# timestamp: 2026-04-24T17:12:42+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -308,6 +308,7 @@ from .models import (
|
|
|
308
308
|
ProjectJointPositionDirectionConstraintResponse,
|
|
309
309
|
ProjectJointPositionDirectionConstraintValidationError,
|
|
310
310
|
RRTConnectAlgorithm,
|
|
311
|
+
Range,
|
|
311
312
|
Rectangle,
|
|
312
313
|
RectangularCapsule,
|
|
313
314
|
ReleaseChannel,
|
|
@@ -682,6 +683,7 @@ __all__ = [
|
|
|
682
683
|
"ProjectJointPositionDirectionConstraintResponse",
|
|
683
684
|
"ProjectJointPositionDirectionConstraintValidationError",
|
|
684
685
|
"RRTConnectAlgorithm",
|
|
686
|
+
"Range",
|
|
685
687
|
"Rectangle",
|
|
686
688
|
"RectangularCapsule",
|
|
687
689
|
"ReleaseChannel",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: models.yaml
|
|
3
|
-
# timestamp: 2026-04-
|
|
3
|
+
# timestamp: 2026-04-24T17:12:42+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
from pydantic import AnyUrl, AwareDatetime, BaseModel, EmailStr, Field, RootModel
|
|
@@ -3459,6 +3459,15 @@ class Plan422Response(BaseModel):
|
|
|
3459
3459
|
detail: Annotated[list[PlanValidationError] | None, Field(title="Detail")] = None
|
|
3460
3460
|
|
|
3461
3461
|
|
|
3462
|
+
class Range(BaseModel):
|
|
3463
|
+
"""
|
|
3464
|
+
Inclusive range defined by minimum and maximum. [max] must be greater than [min].
|
|
3465
|
+
"""
|
|
3466
|
+
|
|
3467
|
+
min: float
|
|
3468
|
+
max: float
|
|
3469
|
+
|
|
3470
|
+
|
|
3462
3471
|
class RRTConnectAlgorithm(BaseModel):
|
|
3463
3472
|
algorithm_name: Literal["RRTConnectAlgorithm"] = "RRTConnectAlgorithm"
|
|
3464
3473
|
"""
|
|
@@ -3477,13 +3486,17 @@ class RRTConnectAlgorithm(BaseModel):
|
|
|
3477
3486
|
Higher values increase likelihood of success, but also computation time.
|
|
3478
3487
|
|
|
3479
3488
|
"""
|
|
3480
|
-
max_step_size: float | None = 1
|
|
3489
|
+
max_step_size: Annotated[float | None, Field(deprecated=True)] = 0.1
|
|
3490
|
+
"""
|
|
3491
|
+
Deprecated in favor of [step_size]. Maximum step size for tree extension in joint space.
|
|
3492
|
+
"""
|
|
3493
|
+
adaptive_step_size: Annotated[bool | None, Field(deprecated=True)] = True
|
|
3481
3494
|
"""
|
|
3482
|
-
|
|
3495
|
+
Deprecated in favor of [step_size]. Adjust the maximum step size during the search based on the recent success rate of tree expansion.
|
|
3483
3496
|
"""
|
|
3484
|
-
|
|
3497
|
+
step_size: float | Range | None = None
|
|
3485
3498
|
"""
|
|
3486
|
-
|
|
3499
|
+
Step size for tree extension in joint space. If a range is given, the step size is adaptively adjusted based on the recent success rate.
|
|
3487
3500
|
"""
|
|
3488
3501
|
apply_smoothing: bool | None = True
|
|
3489
3502
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wandelbots_api_client
|
|
3
|
-
Version: 26.4.0.
|
|
3
|
+
Version: 26.4.0.dev36
|
|
4
4
|
Summary: Wandelbots Python Client: Interact with robots in an easy and intuitive way.
|
|
5
5
|
Author: Copyright (c) 2025 Wandelbots GmbH
|
|
6
6
|
Author-email: Copyright (c) 2025 Wandelbots GmbH <contact@wandelbots.com>
|
|
@@ -31,7 +31,7 @@ Description-Content-Type: text/markdown
|
|
|
31
31
|
Interact with robots in an easy and intuitive way.
|
|
32
32
|
|
|
33
33
|
- Compatible API version: 1.5.0 dev (can be found at the home screen of your instance -> API)
|
|
34
|
-
- Package version: 26.4.0.
|
|
34
|
+
- Package version: 26.4.0.dev36
|
|
35
35
|
|
|
36
36
|
## Requirements.
|
|
37
37
|
Python >=3.11, Python < 4.0
|
{wandelbots_api_client-26.4.0.dev34.dist-info → wandelbots_api_client-26.4.0.dev36.dist-info}/RECORD
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
wandelbots_api_client/__init__.py,sha256=
|
|
1
|
+
wandelbots_api_client/__init__.py,sha256=R_swc8I_BYiACGC_f4NTj7-GERu6m6Ib7JdbPVuo5Pk,1006
|
|
2
2
|
wandelbots_api_client/api/__init__.py,sha256=piFvcUqVadKhV50ReEqZToWDDC4g0frxtAfyafQlDkY,2187
|
|
3
3
|
wandelbots_api_client/api/application_api.py,sha256=dPXET1yHZuhZSb7n6ESxpuXNtk2Q6P0TEEe59cNGG1k,69180
|
|
4
4
|
wandelbots_api_client/api/cell_api.py,sha256=h6xERp0mP1uwmyYfWvnnsYpFj2XvjwtjDpWGywgSwlU,64336
|
|
@@ -28,10 +28,10 @@ wandelbots_api_client/api/virtual_robot_api.py,sha256=g_tOgqIOdCf5_aOxA9Fuiev4GX
|
|
|
28
28
|
wandelbots_api_client/api/virtual_robot_behavior_api.py,sha256=QLNwp33PKWJ7ZYybOmBLOwXJ-eltwuHOBY_sID1-ZFY,32218
|
|
29
29
|
wandelbots_api_client/api/virtual_robot_mode_api.py,sha256=435W2pmwYPIs3mPrx3kYRfDrBk1B42u0R2SLkuUAYTA,72987
|
|
30
30
|
wandelbots_api_client/api/virtual_robot_setup_api.py,sha256=_wfk-HrS5p5qu77vpxPxMa4pW4ZYRcZdlYnSjiKeyFQ,114644
|
|
31
|
-
wandelbots_api_client/api_client.py,sha256=
|
|
31
|
+
wandelbots_api_client/api_client.py,sha256=fkunEiM8SBQutsX9GwtH5a8K_-bdi11yfFRSzGfU3KI,26427
|
|
32
32
|
wandelbots_api_client/api_response.py,sha256=WhxwYDSMm6wPixp9CegO8dJzjFxDz3JF1yCq9s0ZqKE,639
|
|
33
33
|
wandelbots_api_client/authorization.py,sha256=JERTe2xyuipN5rznFtCkfFVib1LeuUHroTRERYhEzYI,9405
|
|
34
|
-
wandelbots_api_client/configuration.py,sha256=
|
|
34
|
+
wandelbots_api_client/configuration.py,sha256=9PsaFaNu3yCaLEh7-pzvqirdLLehCu3k_uikiu7lHtE,18044
|
|
35
35
|
wandelbots_api_client/exceptions.py,sha256=H8rNOWDOUGbnG8YAobscF_-2e4eLovH-LZ2VZPCXF3g,6393
|
|
36
36
|
wandelbots_api_client/models/__init__.py,sha256=JuBNPfmhwMBeZWkAoj91dPI20Y5_66QOf1BS5O2KQAs,23912
|
|
37
37
|
wandelbots_api_client/models/abb_controller.py,sha256=Md9kP-QtddwUp3k12jv0uJKqshhXGdS7DIbDek6VfeU,4054
|
|
@@ -327,7 +327,7 @@ wandelbots_api_client/models/virtual_robot_configuration.py,sha256=Gt7kksZ2O_8jY
|
|
|
327
327
|
wandelbots_api_client/models/yaskawa_controller.py,sha256=tQfsn9RdpfEucmukhJp9-6uYSbl9dw_u1u89szXB_6A,3140
|
|
328
328
|
wandelbots_api_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
329
|
wandelbots_api_client/rest.py,sha256=76ryivv56Dys4nNOq1e0XM4NKEvLgGbNApTnJo6r7tg,7250
|
|
330
|
-
wandelbots_api_client/v2/__init__.py,sha256=
|
|
330
|
+
wandelbots_api_client/v2/__init__.py,sha256=adx1IooynoZi-cDTrM1NAZJlDJ6stNhtemxYQyYiPQE,1032
|
|
331
331
|
wandelbots_api_client/v2/api/__init__.py,sha256=P0yGp2xWLeEPi0maOq33OfqhAM3pyWPwtc5AJpdTp8Y,1967
|
|
332
332
|
wandelbots_api_client/v2/api/application_api.py,sha256=7trjnJPdJ3INn7TaTlVeu3mcZl5H_qkjn9tMcwk1v38,69559
|
|
333
333
|
wandelbots_api_client/v2/api/bus_inputs_outputs_api.py,sha256=WXRtBLvXFFRlRr_ZCgdH5z1K98IMtf5JT_mQdOfkbIs,220842
|
|
@@ -354,11 +354,11 @@ wandelbots_api_client/v2/api/version_api.py,sha256=QJ0PvTMzMog5fDVnHHNWR9k4IicLx
|
|
|
354
354
|
wandelbots_api_client/v2/api/virtual_controller_api.py,sha256=So5jQq_JYarjXqU3IiZ4beieGFXhxFfITz5bhDVq1rM,290981
|
|
355
355
|
wandelbots_api_client/v2/api/virtual_controller_behavior_api.py,sha256=jImafePbkZTxsPuRW-cz7Jahmv2A-OsyZN0P316mtSw,41046
|
|
356
356
|
wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py,sha256=OXeJpRWhAM6Sj_t6gkXxE5iOVdPv6rxQc7igyRez1M8,42027
|
|
357
|
-
wandelbots_api_client/v2/api_client.py,sha256=
|
|
357
|
+
wandelbots_api_client/v2/api_client.py,sha256=N2lpSeXWid54Uvjz0Lhlms_ey-q7M-l_CZroiTeGOJk,26465
|
|
358
358
|
wandelbots_api_client/v2/api_response.py,sha256=WhxwYDSMm6wPixp9CegO8dJzjFxDz3JF1yCq9s0ZqKE,639
|
|
359
|
-
wandelbots_api_client/v2/configuration.py,sha256=
|
|
359
|
+
wandelbots_api_client/v2/configuration.py,sha256=KcjYRMwJtfaytbzn9JkQ5vLZ5ouYsWePVMv8yNe6oKE,18047
|
|
360
360
|
wandelbots_api_client/v2/exceptions.py,sha256=katSiWurYDrKY_x3j3isaG6TOgxQDN7Vdctgf4LwH88,6393
|
|
361
|
-
wandelbots_api_client/v2/models/__init__.py,sha256=
|
|
361
|
+
wandelbots_api_client/v2/models/__init__.py,sha256=AJqc_OVfJB6isEIZwtSJy4pX7gAOpPe6b9vQ8zKvcf4,31590
|
|
362
362
|
wandelbots_api_client/v2/models/abb_controller.py,sha256=Hbk-gyY3lCyX-UjeEOKwPjztL_SprkQ9LFZRzjhgVoE,3741
|
|
363
363
|
wandelbots_api_client/v2/models/abb_controller_egm_server.py,sha256=5lzMif6EVaN2gpniTthcjk0L2uuxqYPit9HmS-As4o0,2594
|
|
364
364
|
wandelbots_api_client/v2/models/activate_license_request.py,sha256=7yJbyxtVSfqJv6YUM9BvpAuT1Usy7YN1Onb6fQv9Cnc,2524
|
|
@@ -635,6 +635,7 @@ wandelbots_api_client/v2/models/project_joint_position_direction_constraint_requ
|
|
|
635
635
|
wandelbots_api_client/v2/models/project_joint_position_direction_constraint_response.py,sha256=24xoJDxQ3qLcQK0zGUibvYx6LuyBtaOpJuiCAQMqG2w,2859
|
|
636
636
|
wandelbots_api_client/v2/models/project_joint_position_direction_constraint_validation_error.py,sha256=kYrCtkQ22_qBoykK2LHa_AX__IPZjwonu8YP2ZFh5ZY,3912
|
|
637
637
|
wandelbots_api_client/v2/models/project_joint_position_direction_constraint_validation_error_all_of_data.py,sha256=O3Lq65yK1xEYRBuhHOT3LeZ8Lz2CDVttb1lmb2KjRX8,8391
|
|
638
|
+
wandelbots_api_client/v2/models/range.py,sha256=UUPjh6DqdK4hhIMI2n61bMN3d43XD3dq6vfGxH6N3hQ,2529
|
|
638
639
|
wandelbots_api_client/v2/models/rectangle.py,sha256=HwInXALMzTkiv1j71HYzAcc1-quVAhdZU9W3-ukts5Y,3036
|
|
639
640
|
wandelbots_api_client/v2/models/rectangular_capsule.py,sha256=xR33OCxu5fwkbczLH7Cvxx1kZNo8ms4ZAvzcOrfrsWc,3644
|
|
640
641
|
wandelbots_api_client/v2/models/release_channel.py,sha256=_nusj-l5jsh7jRkMMoN9CO9NZdEOU81QQE_rmcVuG08,817
|
|
@@ -645,7 +646,8 @@ wandelbots_api_client/v2/models/robot_controller_state.py,sha256=U5LrMOVvWw_vs0f
|
|
|
645
646
|
wandelbots_api_client/v2/models/robot_system_mode.py,sha256=N-HRU6IoWtkY1zBCUvidDAd1xVFeW-o-bMg0lDx1RoA,2150
|
|
646
647
|
wandelbots_api_client/v2/models/robot_tcp.py,sha256=CZCOXmUtaxBYsKBafavMq0-DUf74MQavw9X_oRWCDTQ,4079
|
|
647
648
|
wandelbots_api_client/v2/models/robot_tcp_data.py,sha256=9T5qiYpcxHfLPnM31YA42hEnscCds15Gk4TaU7KUtG4,3987
|
|
648
|
-
wandelbots_api_client/v2/models/rrt_connect_algorithm.py,sha256=
|
|
649
|
+
wandelbots_api_client/v2/models/rrt_connect_algorithm.py,sha256=WEJUgeCcCc16jEXjnFCVStWKnU7EqTbyH9dU9dSACCs,6024
|
|
650
|
+
wandelbots_api_client/v2/models/rrt_connect_algorithm_step_size.py,sha256=zI9jihuNbLWBHYIYwD9_Xl0ytNReyYP8qnlbskw9-Zs,5641
|
|
649
651
|
wandelbots_api_client/v2/models/safety_geometry.py,sha256=pw4Oqf9fljNDCunbA72Xnw_jEhqM8sVceXC5CqKlLMg,5380
|
|
650
652
|
wandelbots_api_client/v2/models/safety_geometry_box.py,sha256=E5EnHCcMqI4EPW8dv7P_EvOrc1pQTkwus_3rAB-GNXg,3667
|
|
651
653
|
wandelbots_api_client/v2/models/safety_geometry_capsule.py,sha256=gK352FFwkuUYBPV4LBO9lRF6kKBx0SdTT0q3edDzD00,3054
|
|
@@ -705,7 +707,7 @@ wandelbots_api_client/v2/models/zod_validation_error_error_details_inner.py,sha2
|
|
|
705
707
|
wandelbots_api_client/v2/models/zod_validation_error_error_details_inner_path_inner.py,sha256=q-Q5v-Z_wx4Ptji3crU3KkrDRuSJEIJnBAws66uxsVY,5652
|
|
706
708
|
wandelbots_api_client/v2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
707
709
|
wandelbots_api_client/v2/rest.py,sha256=GBa7yDOC5KmjhCVbx3MRnRfEtJZrwhA8JXHOuwykiZk,7253
|
|
708
|
-
wandelbots_api_client/v2_pydantic/__init__.py,sha256=
|
|
710
|
+
wandelbots_api_client/v2_pydantic/__init__.py,sha256=61XnBl9muHo48vmzZDsUQVQ3e0ilfYMBgIW7mJm-ZKU,1041
|
|
709
711
|
wandelbots_api_client/v2_pydantic/api/__init__.py,sha256=P0yGp2xWLeEPi0maOq33OfqhAM3pyWPwtc5AJpdTp8Y,1967
|
|
710
712
|
wandelbots_api_client/v2_pydantic/api/application_api.py,sha256=LTGiHQqrUkI_Y5PpEOdrRWkQq7Y_wwBhe5F3g3iAa-k,69591
|
|
711
713
|
wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py,sha256=_jkiINoXu4l-43JhJ_MsfMo8kgBZ5UfJg6-EWofiRTw,220801
|
|
@@ -732,14 +734,14 @@ wandelbots_api_client/v2_pydantic/api/version_api.py,sha256=rMINIuUcxMq4aPXyH3VL
|
|
|
732
734
|
wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py,sha256=Lxde_fP3h2Dh3R0uyUFanySrbWH1jpH-gIGij7zM1Rs,290915
|
|
733
735
|
wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py,sha256=kWf5Ap8zOmIMzBFM8NIHPPZ9-ZNKzhoV4_vLU5M8hMM,41027
|
|
734
736
|
wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py,sha256=ZX0I1fYiKt1qPY4npDVDGoOpTnvHxxaUsndxwD66m0Y,42039
|
|
735
|
-
wandelbots_api_client/v2_pydantic/api_client.py,sha256=
|
|
737
|
+
wandelbots_api_client/v2_pydantic/api_client.py,sha256=7hypyUcl4b9gSDLJ6WepBnHnteA6EcktOdDxD9Gjfmw,26519
|
|
736
738
|
wandelbots_api_client/v2_pydantic/api_response.py,sha256=WhxwYDSMm6wPixp9CegO8dJzjFxDz3JF1yCq9s0ZqKE,639
|
|
737
|
-
wandelbots_api_client/v2_pydantic/configuration.py,sha256=
|
|
739
|
+
wandelbots_api_client/v2_pydantic/configuration.py,sha256=G26qTIOjeyXhW8EpTonVsBTJUDnJyHOts41aiYGIBk4,18056
|
|
738
740
|
wandelbots_api_client/v2_pydantic/exceptions.py,sha256=katSiWurYDrKY_x3j3isaG6TOgxQDN7Vdctgf4LwH88,6393
|
|
739
|
-
wandelbots_api_client/v2_pydantic/models/__init__.py,sha256=
|
|
740
|
-
wandelbots_api_client/v2_pydantic/models/models.py,sha256=
|
|
741
|
+
wandelbots_api_client/v2_pydantic/models/__init__.py,sha256=jEWgrCrbgapNknxs8E_4HoIPCsfxXV6jS6f25DAJGH8,19285
|
|
742
|
+
wandelbots_api_client/v2_pydantic/models/models.py,sha256=tJTmIQPjXlIGxvOQzVnb1jtfvQ8fpUvSyw4doSrISQ4,180549
|
|
741
743
|
wandelbots_api_client/v2_pydantic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
742
744
|
wandelbots_api_client/v2_pydantic/rest.py,sha256=Ly2_-Yd4LJcRFRHjktkDF5x-dTlt18otVtb9-bwA1x0,7262
|
|
743
|
-
wandelbots_api_client-26.4.0.
|
|
744
|
-
wandelbots_api_client-26.4.0.
|
|
745
|
-
wandelbots_api_client-26.4.0.
|
|
745
|
+
wandelbots_api_client-26.4.0.dev36.dist-info/WHEEL,sha256=s_zqWxHFEH8b58BCtf46hFCqPaISurdB9R1XJ8za6XI,80
|
|
746
|
+
wandelbots_api_client-26.4.0.dev36.dist-info/METADATA,sha256=ZHi96u3x79s9lX5gLsq8Duu_TKd2K3Iwf7pWqPX-Mg0,7693
|
|
747
|
+
wandelbots_api_client-26.4.0.dev36.dist-info/RECORD,,
|
{wandelbots_api_client-26.4.0.dev34.dist-info → wandelbots_api_client-26.4.0.dev36.dist-info}/WHEEL
RENAMED
|
File without changes
|