kscale 0.0.7__py3-none-any.whl → 0.0.9__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- kscale/__init__.py +5 -1
- kscale/artifacts/__init__.py +8 -0
- kscale/artifacts/plane.obj +18 -0
- kscale/artifacts/plane.urdf +28 -0
- kscale/requirements-dev.txt +11 -0
- kscale/requirements.txt +10 -0
- kscale/store/pybullet.py +2 -2
- {kscale-0.0.7.dist-info → kscale-0.0.9.dist-info}/METADATA +1 -1
- {kscale-0.0.7.dist-info → kscale-0.0.9.dist-info}/RECORD +13 -8
- {kscale-0.0.7.dist-info → kscale-0.0.9.dist-info}/LICENSE +0 -0
- {kscale-0.0.7.dist-info → kscale-0.0.9.dist-info}/WHEEL +0 -0
- {kscale-0.0.7.dist-info → kscale-0.0.9.dist-info}/entry_points.txt +0 -0
- {kscale-0.0.7.dist-info → kscale-0.0.9.dist-info}/top_level.txt +0 -0
kscale/__init__.py
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Blender v2.66 (sub 1) OBJ File: ''
|
2
|
+
# www.blender.org
|
3
|
+
mtllib plane.mtl
|
4
|
+
o Plane
|
5
|
+
v 15.000000 -15.000000 0.000000
|
6
|
+
v 15.000000 15.000000 0.000000
|
7
|
+
v -15.000000 15.000000 0.000000
|
8
|
+
v -15.000000 -15.000000 0.000000
|
9
|
+
|
10
|
+
vt 15.000000 0.000000
|
11
|
+
vt 15.000000 15.000000
|
12
|
+
vt 0.000000 15.000000
|
13
|
+
vt 0.000000 0.000000
|
14
|
+
|
15
|
+
usemtl Material
|
16
|
+
s off
|
17
|
+
f 1/1 2/2 3/3
|
18
|
+
f 1/1 3/3 4/4
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<?xml version="0.0" ?>
|
2
|
+
<robot name="plane">
|
3
|
+
<link name="planeLink">
|
4
|
+
<contact>
|
5
|
+
<lateral_friction value="1"/>
|
6
|
+
</contact>
|
7
|
+
<inertial>
|
8
|
+
<origin rpy="0 0 0" xyz="0 0 0"/>
|
9
|
+
<mass value=".0"/>
|
10
|
+
<inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0"/>
|
11
|
+
</inertial>
|
12
|
+
<visual>
|
13
|
+
<origin rpy="0 0 0" xyz="0 0 0"/>
|
14
|
+
<geometry>
|
15
|
+
<mesh filename="plane.obj" scale="1 1 1"/>
|
16
|
+
</geometry>
|
17
|
+
<material name="white">
|
18
|
+
<color rgba="1 1 1 1"/>
|
19
|
+
</material>
|
20
|
+
</visual>
|
21
|
+
<collision>
|
22
|
+
<origin rpy="0 0 0" xyz="0 0 -5"/>
|
23
|
+
<geometry>
|
24
|
+
<box size="30 30 10"/>
|
25
|
+
</geometry>
|
26
|
+
</collision>
|
27
|
+
</link>
|
28
|
+
</robot>
|
kscale/requirements.txt
ADDED
kscale/store/pybullet.py
CHANGED
@@ -6,9 +6,9 @@ import itertools
|
|
6
6
|
import logging
|
7
7
|
import math
|
8
8
|
import time
|
9
|
-
from pathlib import Path
|
10
9
|
from typing import Sequence
|
11
10
|
|
11
|
+
from kscale.artifacts import PLANE_URDF_PATH
|
12
12
|
from kscale.store.urdf import download_urdf
|
13
13
|
|
14
14
|
logger = logging.getLogger(__name__)
|
@@ -53,7 +53,7 @@ async def main(args: Sequence[str] | None = None) -> None:
|
|
53
53
|
p.configureDebugVisualizer(p.COV_ENABLE_MOUSE_PICKING, 1)
|
54
54
|
|
55
55
|
# Loads the floor plane.
|
56
|
-
floor = p.loadURDF(str(
|
56
|
+
floor = p.loadURDF(str(PLANE_URDF_PATH))
|
57
57
|
|
58
58
|
# Load the robot URDF.
|
59
59
|
start_position = [0.0, 0.0, 1.0]
|
@@ -1,21 +1,26 @@
|
|
1
|
-
kscale/__init__.py,sha256=
|
1
|
+
kscale/__init__.py,sha256=dcfdPhyC9nhbFk5nRj-R299UnVGP9ZLrZLgIGWgE5P0,177
|
2
2
|
kscale/api.py,sha256=xBtKj8rgZ400r1Xx9LRY0AzSgIIttoXdejmhHhdVGS0,333
|
3
3
|
kscale/conf.py,sha256=9fShFaYTbnrm_eiGjmy8ZtC4Q4m6PQkWPyoF3eNyov8,1424
|
4
4
|
kscale/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
+
kscale/requirements-dev.txt,sha256=WI7-ea4IRJakmqVMN8QKhOsDGrghwtvk03aIsFaNSIw,130
|
6
|
+
kscale/requirements.txt,sha256=gxo_niYIHsmyxKxvIOegv45s_lvdnIzI2iFJ2TZzx_U,103
|
7
|
+
kscale/artifacts/__init__.py,sha256=RK8wdybtCJPgdLLJ8R8-YMi1Ph5ojqAKVJZowHONtgo,232
|
8
|
+
kscale/artifacts/plane.obj,sha256=x59-IIrWpLjhotChiqT2Ul6U8s0RcHkaEeUZb4KXL1c,348
|
9
|
+
kscale/artifacts/plane.urdf,sha256=LCiTk14AyTHjkZ1jvsb0hNaEaJUxDb8Z1JjsgpXu3YM,819
|
5
10
|
kscale/store/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
11
|
kscale/store/api.py,sha256=rydanYGg8zlc_cNuWo9YBG_WVtPKMxFgp6fpec-B8M0,671
|
7
12
|
kscale/store/cli.py,sha256=8ygg_1tZzOOHJotEIgSN9pfumcriPmA31sI_FCFQiTo,859
|
8
13
|
kscale/store/client.py,sha256=R1IDnf2J4ojAcP8nmUUHfXhcHUt4zP0-mxtVI7MIC5U,2664
|
9
|
-
kscale/store/pybullet.py,sha256=
|
14
|
+
kscale/store/pybullet.py,sha256=zoeATQStuRWgmPhku65xjfgvE3Y8ReheUIAkZnDr2C0,7614
|
10
15
|
kscale/store/urdf.py,sha256=5x8tK2BYv901S_yYWYPWEnHv-3T0ALBQMdDwb70EZFw,6395
|
11
16
|
kscale/store/utils.py,sha256=rFXGkem2oAttAf3bhWmFEhxrqYnaVvlVJsC268IMw6Y,906
|
12
17
|
kscale/store/gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
18
|
kscale/store/gen/api.py,sha256=82D41J6pg9KWdgD0lx7NggLcNS32SpnN8DqE3Md6ON0,9559
|
14
19
|
kscale/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
20
|
kscale/utils/api_base.py,sha256=Kk_WtRDdJHmOg6NtHmVxVrcfARSUkhfr29ypLch_pO0,112
|
16
|
-
kscale-0.0.
|
17
|
-
kscale-0.0.
|
18
|
-
kscale-0.0.
|
19
|
-
kscale-0.0.
|
20
|
-
kscale-0.0.
|
21
|
-
kscale-0.0.
|
21
|
+
kscale-0.0.9.dist-info/LICENSE,sha256=HCN2bImAzUOXldAZZI7JZ9PYq6OwMlDAP_PpX1HnuN0,1071
|
22
|
+
kscale-0.0.9.dist-info/METADATA,sha256=3-UEHjXp3IQo3Cdn7drrOvciylD5MnoOl2gm1V4P4Iw,2504
|
23
|
+
kscale-0.0.9.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
24
|
+
kscale-0.0.9.dist-info/entry_points.txt,sha256=PaVs1ivqB0BBdGUsiFkxGUYjGLz05VqagxwRVwi4yV4,54
|
25
|
+
kscale-0.0.9.dist-info/top_level.txt,sha256=C2ynjYwopg6YjgttnI2dJjasyq3EKNmYp-IfQg9Xms4,7
|
26
|
+
kscale-0.0.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|