kscale 0.3.3__py3-none-any.whl → 0.3.5__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.
- kscale/__init__.py +1 -1
- kscale/web/cli/robot_class.py +3 -3
- kscale/web/gen/api.py +5 -1
- {kscale-0.3.3.dist-info → kscale-0.3.5.dist-info}/METADATA +1 -1
- {kscale-0.3.3.dist-info → kscale-0.3.5.dist-info}/RECORD +9 -9
- {kscale-0.3.3.dist-info → kscale-0.3.5.dist-info}/LICENSE +0 -0
- {kscale-0.3.3.dist-info → kscale-0.3.5.dist-info}/WHEEL +0 -0
- {kscale-0.3.3.dist-info → kscale-0.3.5.dist-info}/entry_points.txt +0 -0
- {kscale-0.3.3.dist-info → kscale-0.3.5.dist-info}/top_level.txt +0 -0
kscale/__init__.py
CHANGED
kscale/web/cli/robot_class.py
CHANGED
@@ -145,12 +145,12 @@ async def upload(class_name: str, urdf_file: str) -> None:
|
|
145
145
|
|
146
146
|
@urdf.command()
|
147
147
|
@click.argument("class_name")
|
148
|
-
@click.option("--
|
148
|
+
@click.option("--cache", is_flag=True, default=False)
|
149
149
|
@coro
|
150
|
-
async def download(class_name: str,
|
150
|
+
async def download(class_name: str, cache: bool) -> None:
|
151
151
|
"""Downloads a URDF file from a robot class."""
|
152
152
|
async with RobotClassClient() as client:
|
153
|
-
urdf_file = await client.
|
153
|
+
urdf_file = await client.download_and_extract_urdf(class_name, cache=cache)
|
154
154
|
click.echo(f"URDF downloaded: {click.style(urdf_file, fg='green')}")
|
155
155
|
|
156
156
|
|
kscale/web/gen/api.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# generated by datamodel-codegen:
|
4
4
|
# filename: openapi.json
|
5
|
-
# timestamp: 2025-01-
|
5
|
+
# timestamp: 2025-01-22T23:12:27+00:00
|
6
6
|
|
7
7
|
from __future__ import annotations
|
8
8
|
|
@@ -32,6 +32,8 @@ class JointMetadataInput(BaseModel):
|
|
32
32
|
id: Optional[int] = Field(None, title="Id")
|
33
33
|
kp: Optional[Union[float, str]] = Field(None, title="Kp")
|
34
34
|
kd: Optional[Union[float, str]] = Field(None, title="Kd")
|
35
|
+
armature: Optional[Union[float, str]] = Field(None, title="Armature")
|
36
|
+
friction: Optional[Union[float, str]] = Field(None, title="Friction")
|
35
37
|
offset: Optional[Union[float, str]] = Field(None, title="Offset")
|
36
38
|
flipped: Optional[bool] = Field(None, title="Flipped")
|
37
39
|
|
@@ -40,6 +42,8 @@ class JointMetadataOutput(BaseModel):
|
|
40
42
|
id: Optional[int] = Field(None, title="Id")
|
41
43
|
kp: Optional[str] = Field(None, title="Kp")
|
42
44
|
kd: Optional[str] = Field(None, title="Kd")
|
45
|
+
armature: Optional[str] = Field(None, title="Armature")
|
46
|
+
friction: Optional[str] = Field(None, title="Friction")
|
43
47
|
offset: Optional[str] = Field(None, title="Offset")
|
44
48
|
flipped: Optional[bool] = Field(None, title="Flipped")
|
45
49
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
kscale/__init__.py,sha256=
|
1
|
+
kscale/__init__.py,sha256=NN9HC3QKPXhqbAfVyGRaWYhhGbXuv0pXAfIybdiBdu0,200
|
2
2
|
kscale/cli.py,sha256=PMHLKR5UwdbbReVmqHXpJ-K9-mGHv_0I7KQkwxmFcUA,881
|
3
3
|
kscale/conf.py,sha256=dm35XSnzJp93St-ixVtYN4Nvqvb5upPGBrWkSI6Yb-4,1743
|
4
4
|
kscale/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -15,7 +15,7 @@ kscale/web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
kscale/web/utils.py,sha256=Mme-FAQ0_zbjjOQeX8wyq8F4kL4i9fH7ytri16U6qOA,1046
|
16
16
|
kscale/web/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
17
|
kscale/web/cli/robot.py,sha256=rI-A4_0uvJPeA71Apl4Z3mV5fIfWkgmzT9JRmJYxz3A,3307
|
18
|
-
kscale/web/cli/robot_class.py,sha256=
|
18
|
+
kscale/web/cli/robot_class.py,sha256=Rr8IqZGvAdqtAbA_bNXuo_HJnZURXnqrFEFzwfms3YA,17469
|
19
19
|
kscale/web/cli/token.py,sha256=1rFC8MYKtqbNsQa2KIqwW1tqpaMtFaxuNsallwejXTU,787
|
20
20
|
kscale/web/cli/user.py,sha256=aaJJCL1P5lfhK6ZC9OwOHXKA-I3MWqVZ_k7TYnx33CY,1303
|
21
21
|
kscale/web/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -25,10 +25,10 @@ kscale/web/clients/robot.py,sha256=PI8HHkU-4Re9I5rLpp6dGbekRE-rBNVfXZxR_mO2MqE,1
|
|
25
25
|
kscale/web/clients/robot_class.py,sha256=G8Nk6V7LGJE9Wpg9tyyCkIfz1fRTsxXQRgHtleiUVqo,6834
|
26
26
|
kscale/web/clients/user.py,sha256=jsa1_s6qXRM-AGBbHlPhd1NierUtynjY9tVAPNr6_Os,568
|
27
27
|
kscale/web/gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
28
|
-
kscale/web/gen/api.py,sha256=
|
29
|
-
kscale-0.3.
|
30
|
-
kscale-0.3.
|
31
|
-
kscale-0.3.
|
32
|
-
kscale-0.3.
|
33
|
-
kscale-0.3.
|
34
|
-
kscale-0.3.
|
28
|
+
kscale/web/gen/api.py,sha256=VWlt8TaMZaAhCPPIWhx1d4yE0BRfpVz0-_Cps8hjgAI,4662
|
29
|
+
kscale-0.3.5.dist-info/LICENSE,sha256=HCN2bImAzUOXldAZZI7JZ9PYq6OwMlDAP_PpX1HnuN0,1071
|
30
|
+
kscale-0.3.5.dist-info/METADATA,sha256=CQEw-lvgEGZ_p3s4ikllSXpjWBsor1G8JN4qjDNwNrU,2340
|
31
|
+
kscale-0.3.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
32
|
+
kscale-0.3.5.dist-info/entry_points.txt,sha256=N_0pCpPnwGDYVzOeuaSOrbJkS5L3lS9d8CxpJF1f8UI,62
|
33
|
+
kscale-0.3.5.dist-info/top_level.txt,sha256=C2ynjYwopg6YjgttnI2dJjasyq3EKNmYp-IfQg9Xms4,7
|
34
|
+
kscale-0.3.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|