antioch-py 2.0.7__py3-none-any.whl → 2.2.1__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.
Potentially problematic release.
This version of antioch-py might be problematic. Click here for more details.
- antioch/session/__init__.py +15 -13
- antioch/session/ark.py +22 -26
- antioch/session/objects/__init__.py +40 -0
- antioch/session/{views → objects}/animation.py +25 -52
- antioch/session/{views → objects}/articulation.py +30 -95
- antioch/session/{views → objects}/basis_curve.py +48 -54
- antioch/session/{views → objects}/camera.py +12 -39
- antioch/session/objects/collision.py +46 -0
- antioch/session/{views → objects}/geometry.py +6 -22
- antioch/session/{views → objects}/ground_plane.py +5 -20
- antioch/session/{views → objects}/imu.py +10 -30
- antioch/session/{views → objects}/joint.py +5 -20
- antioch/session/{views → objects}/light.py +14 -66
- antioch/session/{views → objects}/pir_sensor.py +20 -62
- antioch/session/objects/radar.py +62 -0
- antioch/session/{views → objects}/rigid_body.py +25 -110
- antioch/session/{views → objects}/xform.py +24 -24
- antioch/session/scene.py +116 -134
- antioch/session/session.py +34 -43
- antioch/session/task.py +2 -16
- {antioch_py-2.0.7.dist-info → antioch_py-2.2.1.dist-info}/METADATA +1 -1
- antioch_py-2.2.1.dist-info/RECORD +85 -0
- common/ark/ark.py +2 -0
- common/ark/hardware.py +1 -5
- common/ark/kinematics.py +1 -1
- common/constants.py +16 -2
- common/core/agent.py +28 -0
- common/core/auth.py +1 -3
- common/message/__init__.py +2 -0
- common/message/velocity.py +11 -0
- common/session/__init__.py +1 -24
- common/session/config.py +390 -0
- common/session/sim.py +36 -147
- antioch/session/views/__init__.py +0 -42
- antioch/session/views/collision.py +0 -75
- antioch/session/views/material.py +0 -54
- antioch/session/views/radar.py +0 -131
- antioch_py-2.0.7.dist-info/RECORD +0 -101
- common/session/views/__init__.py +0 -263
- common/session/views/animation.py +0 -73
- common/session/views/articulation.py +0 -184
- common/session/views/basis_curve.py +0 -102
- common/session/views/camera.py +0 -147
- common/session/views/collision.py +0 -59
- common/session/views/geometry.py +0 -102
- common/session/views/ground_plane.py +0 -41
- common/session/views/imu.py +0 -66
- common/session/views/joint.py +0 -81
- common/session/views/light.py +0 -96
- common/session/views/material.py +0 -25
- common/session/views/pir_sensor.py +0 -119
- common/session/views/radar.py +0 -107
- common/session/views/rigid_body.py +0 -236
- common/session/views/viewport.py +0 -21
- common/session/views/xform.py +0 -39
- {antioch_py-2.0.7.dist-info → antioch_py-2.2.1.dist-info}/WHEEL +0 -0
- {antioch_py-2.0.7.dist-info → antioch_py-2.2.1.dist-info}/entry_points.txt +0 -0
- {antioch_py-2.0.7.dist-info → antioch_py-2.2.1.dist-info}/top_level.txt +0 -0
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
from antioch.session.session import Session
|
|
2
|
-
from common.session.views.collision import (
|
|
3
|
-
GetMeshApproximation,
|
|
4
|
-
GetMeshApproximationResponse,
|
|
5
|
-
HasCollision,
|
|
6
|
-
HasCollisionResponse,
|
|
7
|
-
RemoveCollision,
|
|
8
|
-
SetCollision,
|
|
9
|
-
)
|
|
10
|
-
from common.session.views.geometry import MeshApproximation
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
def set_collision(path: str, mesh_approximation: MeshApproximation | None = None) -> None:
|
|
14
|
-
"""
|
|
15
|
-
Apply collision API to a prim, optionally with mesh approximation.
|
|
16
|
-
|
|
17
|
-
:param path: USD path to the prim.
|
|
18
|
-
:param mesh_approximation: Optional mesh approximation method for collision geometry.
|
|
19
|
-
"""
|
|
20
|
-
|
|
21
|
-
Session.get_current().query_sim_rpc(
|
|
22
|
-
endpoint="set_collision",
|
|
23
|
-
payload=SetCollision(path=path, mesh_approximation=mesh_approximation),
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
def remove_collision(path: str) -> None:
|
|
28
|
-
"""
|
|
29
|
-
Remove collision API from a prim.
|
|
30
|
-
|
|
31
|
-
:param path: USD path to the prim.
|
|
32
|
-
"""
|
|
33
|
-
|
|
34
|
-
Session.get_current().query_sim_rpc(
|
|
35
|
-
endpoint="remove_collision",
|
|
36
|
-
payload=RemoveCollision(path=path),
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
def has_collision(path: str) -> bool:
|
|
41
|
-
"""
|
|
42
|
-
Check if a prim has collision API applied.
|
|
43
|
-
|
|
44
|
-
:param path: USD path to the prim.
|
|
45
|
-
:return: True if collision API is applied.
|
|
46
|
-
"""
|
|
47
|
-
|
|
48
|
-
return (
|
|
49
|
-
Session.get_current()
|
|
50
|
-
.query_sim_rpc(
|
|
51
|
-
endpoint="has_collision",
|
|
52
|
-
payload=HasCollision(path=path),
|
|
53
|
-
response_type=HasCollisionResponse,
|
|
54
|
-
)
|
|
55
|
-
.has_collision
|
|
56
|
-
)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
def get_mesh_approximation(path: str) -> MeshApproximation | None:
|
|
60
|
-
"""
|
|
61
|
-
Get mesh collision approximation from a prim.
|
|
62
|
-
|
|
63
|
-
:param path: USD path to the prim.
|
|
64
|
-
:return: Mesh approximation method, or None if not set.
|
|
65
|
-
"""
|
|
66
|
-
|
|
67
|
-
return (
|
|
68
|
-
Session.get_current()
|
|
69
|
-
.query_sim_rpc(
|
|
70
|
-
endpoint="get_mesh_approximation_rpc",
|
|
71
|
-
payload=GetMeshApproximation(path=path),
|
|
72
|
-
response_type=GetMeshApproximationResponse,
|
|
73
|
-
)
|
|
74
|
-
.approximation
|
|
75
|
-
)
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
from antioch.session.session import Session
|
|
2
|
-
from common.session.views.material import SetNonVisualMaterial, SetNonVisualMaterialResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
def set_nonvisual_material(
|
|
6
|
-
path: str,
|
|
7
|
-
base: str,
|
|
8
|
-
coating: str = "none",
|
|
9
|
-
attribute: str = "none",
|
|
10
|
-
) -> int:
|
|
11
|
-
"""
|
|
12
|
-
Set non-visual material properties on all Material prims in a subtree.
|
|
13
|
-
|
|
14
|
-
These properties define how objects appear to RTX sensors (LiDAR and Radar).
|
|
15
|
-
|
|
16
|
-
Valid base materials:
|
|
17
|
-
Metals: aluminum, steel, oxidized_steel, iron, oxidized_iron, silver, brass,
|
|
18
|
-
bronze, oxidized_bronze_patina, tin
|
|
19
|
-
Polymers: plastic, fiberglass, carbon_fiber, vinyl, plexiglass, pvc, nylon, polyester
|
|
20
|
-
Glass: clear_glass, frosted_glass, one_way_mirror, mirror, ceramic_glass
|
|
21
|
-
Other: asphalt, concrete, leaf_grass, dead_leaf_grass, rubber, wood, bark,
|
|
22
|
-
cardboard, paper, fabric, skin, fur_hair, leather, marble, brick,
|
|
23
|
-
stone, gravel, dirt, mud, water, salt_water, snow, ice, calibration_lambertion
|
|
24
|
-
Default: none
|
|
25
|
-
|
|
26
|
-
Valid coatings: none, paint, clearcoat, paint_clearcoat
|
|
27
|
-
|
|
28
|
-
Valid attributes: none, emissive, retroreflective, single_sided, visually_transparent
|
|
29
|
-
|
|
30
|
-
Example:
|
|
31
|
-
# Make a person visible to radar/lidar with skin material
|
|
32
|
-
count = set_nonvisual_material("/World/person", base="skin")
|
|
33
|
-
|
|
34
|
-
# Make a car with aluminum body and paint coating
|
|
35
|
-
count = set_nonvisual_material("/World/car", base="aluminum", coating="paint")
|
|
36
|
-
|
|
37
|
-
:param path: USD path of the root prim to configure.
|
|
38
|
-
:param base: Base material type.
|
|
39
|
-
:param coating: Coating type.
|
|
40
|
-
:param attribute: Material attribute.
|
|
41
|
-
:return: Number of Material prims modified.
|
|
42
|
-
"""
|
|
43
|
-
|
|
44
|
-
response = Session.get_current().query_sim_rpc(
|
|
45
|
-
endpoint="set_nonvisual_material",
|
|
46
|
-
payload=SetNonVisualMaterial(
|
|
47
|
-
path=path,
|
|
48
|
-
base=base,
|
|
49
|
-
coating=coating,
|
|
50
|
-
attribute=attribute,
|
|
51
|
-
),
|
|
52
|
-
response_type=SetNonVisualMaterialResponse,
|
|
53
|
-
)
|
|
54
|
-
return response.materials_modified
|
antioch/session/views/radar.py
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
from antioch.session.session import Session, SessionContainer
|
|
2
|
-
from common.message import Pose, RadarScan
|
|
3
|
-
from common.session.views.radar import (
|
|
4
|
-
AddRadar,
|
|
5
|
-
GetRadar,
|
|
6
|
-
GetRadarResponse,
|
|
7
|
-
GetRadarScan,
|
|
8
|
-
RadarConfig,
|
|
9
|
-
SetRadarDebugMode,
|
|
10
|
-
SetRadarMaterial,
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class Radar(SessionContainer):
|
|
15
|
-
"""
|
|
16
|
-
Radar view for time-synchronized scan data.
|
|
17
|
-
|
|
18
|
-
Example:
|
|
19
|
-
scene = Scene()
|
|
20
|
-
radar = scene.get_radar(name="my_ark/my_module/my_radar")
|
|
21
|
-
scan = radar.get_scan()
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
def __init__(self, path: str):
|
|
25
|
-
"""
|
|
26
|
-
Initialize Radar view.
|
|
27
|
-
|
|
28
|
-
:param path: USD path for the radar.
|
|
29
|
-
"""
|
|
30
|
-
|
|
31
|
-
super().__init__()
|
|
32
|
-
|
|
33
|
-
self._path = self._session.query_sim_rpc(
|
|
34
|
-
endpoint="get_radar",
|
|
35
|
-
payload=GetRadar(path=path),
|
|
36
|
-
response_type=GetRadarResponse,
|
|
37
|
-
).path
|
|
38
|
-
|
|
39
|
-
@classmethod
|
|
40
|
-
def add(
|
|
41
|
-
cls,
|
|
42
|
-
path: str,
|
|
43
|
-
config: RadarConfig,
|
|
44
|
-
world_pose: Pose | None,
|
|
45
|
-
local_pose: Pose | None,
|
|
46
|
-
) -> "Radar":
|
|
47
|
-
"""
|
|
48
|
-
Add radar to the scene.
|
|
49
|
-
|
|
50
|
-
:param path: USD path for the radar.
|
|
51
|
-
:param config: Radar configuration.
|
|
52
|
-
:param world_pose: Optional world pose.
|
|
53
|
-
:param local_pose: Optional local pose.
|
|
54
|
-
:return: The radar instance.
|
|
55
|
-
"""
|
|
56
|
-
|
|
57
|
-
Session.get_current().query_sim_rpc(
|
|
58
|
-
endpoint="add_radar",
|
|
59
|
-
payload=AddRadar(
|
|
60
|
-
path=path,
|
|
61
|
-
config=config,
|
|
62
|
-
world_pose=world_pose,
|
|
63
|
-
local_pose=local_pose,
|
|
64
|
-
),
|
|
65
|
-
)
|
|
66
|
-
return cls(path)
|
|
67
|
-
|
|
68
|
-
def get_scan(self) -> RadarScan | None:
|
|
69
|
-
"""
|
|
70
|
-
Get radar scan data.
|
|
71
|
-
|
|
72
|
-
:return: Radar scan with detections, or None if scan data is not ready.
|
|
73
|
-
"""
|
|
74
|
-
|
|
75
|
-
scan = self._session.query_sim_rpc(
|
|
76
|
-
endpoint="get_radar_scan",
|
|
77
|
-
payload=GetRadarScan(path=self._path),
|
|
78
|
-
response_type=RadarScan,
|
|
79
|
-
)
|
|
80
|
-
|
|
81
|
-
return scan
|
|
82
|
-
|
|
83
|
-
def set_debug_mode(self, enabled: bool) -> None:
|
|
84
|
-
"""
|
|
85
|
-
Enable or disable debug visualization.
|
|
86
|
-
|
|
87
|
-
:param enabled: Whether to enable debug visualization.
|
|
88
|
-
"""
|
|
89
|
-
|
|
90
|
-
self._session.query_sim_rpc(
|
|
91
|
-
endpoint="set_radar_debug_mode",
|
|
92
|
-
payload=SetRadarDebugMode(path=self._path, enabled=enabled),
|
|
93
|
-
)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
def set_radar_material(
|
|
97
|
-
path: str,
|
|
98
|
-
reflectivity: float | None = None,
|
|
99
|
-
metallic: float | None = None,
|
|
100
|
-
roughness: float | None = None,
|
|
101
|
-
backscattering: float | None = None,
|
|
102
|
-
cross_section: float | None = None,
|
|
103
|
-
) -> None:
|
|
104
|
-
"""
|
|
105
|
-
Set radar-specific material properties on a prim and all prims in its subtree.
|
|
106
|
-
|
|
107
|
-
These properties define how the prim appears to radar sensors.
|
|
108
|
-
|
|
109
|
-
Example:
|
|
110
|
-
# Make a target highly reflective to radar
|
|
111
|
-
set_radar_material("/World/car", reflectivity=0.9, metallic=1.0)
|
|
112
|
-
|
|
113
|
-
:param path: USD path of the prim to configure.
|
|
114
|
-
:param reflectivity: Radar reflectivity (0-1).
|
|
115
|
-
:param metallic: Metallic property (0-1).
|
|
116
|
-
:param roughness: Surface roughness (0-1).
|
|
117
|
-
:param backscattering: Backscattering coefficient.
|
|
118
|
-
:param cross_section: Radar cross section in dBsm.
|
|
119
|
-
"""
|
|
120
|
-
|
|
121
|
-
Session.get_current().query_sim_rpc(
|
|
122
|
-
endpoint="set_radar_material",
|
|
123
|
-
payload=SetRadarMaterial(
|
|
124
|
-
path=path,
|
|
125
|
-
reflectivity=reflectivity,
|
|
126
|
-
metallic=metallic,
|
|
127
|
-
roughness=roughness,
|
|
128
|
-
backscattering=backscattering,
|
|
129
|
-
cross_section=cross_section,
|
|
130
|
-
),
|
|
131
|
-
)
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
antioch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
antioch/message.py,sha256=7YsmUA6H3Imikv6beUJilTpA8Nb5DCkeOwbRQwOLfGI,1463
|
|
3
|
-
antioch/module/__init__.py,sha256=nSbYXkicwbypnfyko2cN2JwvIzSntfVEYyP63VVPaGU,1008
|
|
4
|
-
antioch/module/clock.py,sha256=54NpvlbkFLtmiLGMXADGCkYbooUaKsDGN-xjjDqq7mw,2026
|
|
5
|
-
antioch/module/execution.py,sha256=bASbLFz3YqP7Ma5Pbga6W7ddNCQo3GzbjAlgrQXYWSw,7995
|
|
6
|
-
antioch/module/input.py,sha256=BGbJ6AOgm7gVTO6PBYs8B53q0v_YD3Jy2joM5M7kUlk,4317
|
|
7
|
-
antioch/module/module.py,sha256=6b9s_N1Tpr4Wtp8hXVxZHDzhfKgG2IHeOd8KE65TfMk,7581
|
|
8
|
-
antioch/module/node.py,sha256=1EDNzKbQINs4nKZiSdn_FEPg-3MyCKdC0b7pfucmLgk,14542
|
|
9
|
-
antioch/module/token.py,sha256=6KJbPMoaMqUrx8nfYzAgVTf8EaazT46g6KMC1zO97Pk,830
|
|
10
|
-
antioch/session/__init__.py,sha256=jZTav-Y9IyYqIpyloQuCkaPfRLKPGx-TWmwOrkteJn8,3891
|
|
11
|
-
antioch/session/ark.py,sha256=CF9zaRAZXiVLOkmZpBEaGG4-wydMZ7aUVOnXqnqYZ4U,19096
|
|
12
|
-
antioch/session/asset.py,sha256=G4wKHVxDkzLEtUap7b7jDF6Y_I4gdHiJ-b756QFBx54,2222
|
|
13
|
-
antioch/session/error.py,sha256=hEByLcsS8PPpK46prnz1GSWBx0ErGTnSkwBd29FUmWg,1685
|
|
14
|
-
antioch/session/record.py,sha256=acNeikDeWJFZLovgwbXGHTriqi5-szYjjrnt9s_cdUY,5527
|
|
15
|
-
antioch/session/scene.py,sha256=gESd-ax_xW7ZKPCUejzZMHYGPO0ouG3Ud_TFsHiMrec,60369
|
|
16
|
-
antioch/session/session.py,sha256=MxyWAC56SGC6BORzlw8Sxp4s4QBFuxPb7t0kScYDEtM,6626
|
|
17
|
-
antioch/session/task.py,sha256=ERji5YWU82TL5txBNTLQemJB7Y7xIqS5l76re7MUgvo,11831
|
|
18
|
-
antioch/session/views/__init__.py,sha256=ida-X6eUhYC0nZ6Bk43yoy2sgKyiPU9Am-N90XG0WgM,1252
|
|
19
|
-
antioch/session/views/animation.py,sha256=oID0fM3RSU1d3CVA5EiEizKJF18CfNla_1ta7YCQt40,5960
|
|
20
|
-
antioch/session/views/articulation.py,sha256=0akkhmBJhbJrNmmNwob-S2-t_21Jq9PipTesjYR6wLU,7870
|
|
21
|
-
antioch/session/views/basis_curve.py,sha256=YMz9pMgj4fLkjhr3QZz8_RBv_HnMN3ZcvLj32WseIlE,5685
|
|
22
|
-
antioch/session/views/camera.py,sha256=5S4shhmFqdJs39J00-E1pT7PobdfKWZfQfNbU6s-aNI,2613
|
|
23
|
-
antioch/session/views/collision.py,sha256=7FjbB4PBoE4LEWoLqJhHCkYp57Da7qWcrLAKCiULV9M,1962
|
|
24
|
-
antioch/session/views/geometry.py,sha256=8SyT5_tkJhtW4_VZsv-L6nXE8kRweeLzu-UP-KHABe4,2241
|
|
25
|
-
antioch/session/views/ground_plane.py,sha256=oTpGcATB5SirxD1eZUMCeD28eIeDJ6a7E1pFpj9E_xY,1762
|
|
26
|
-
antioch/session/views/imu.py,sha256=1EVLRptXSqs4YMJt_wiwXM-B95HzVQmx3MyRblTADMs,1889
|
|
27
|
-
antioch/session/views/joint.py,sha256=x_clYul4SsCIl0WQAW61w6sS0iDXompvZVEv_2YFG9c,1735
|
|
28
|
-
antioch/session/views/light.py,sha256=Q9Nn8o0PV9in8Q4eoobsbRxEPhn3xps57K7Z4QmGE8s,4698
|
|
29
|
-
antioch/session/views/material.py,sha256=IfXTj1lJwKWvpz-yj2kELtBbVPAJx_ILVViXUIKKfrI,2071
|
|
30
|
-
antioch/session/views/pir_sensor.py,sha256=ynEpRz7rwATBAs29QPEcDOuEPxB_jjKnmH05N0KA_FA,4048
|
|
31
|
-
antioch/session/views/radar.py,sha256=JAmLvhcqqjbD90Og-YeqjfU8gDk-q5IgMCazEgbapxU,3546
|
|
32
|
-
antioch/session/views/rigid_body.py,sha256=NI-2bFnOLQqClQ3pOhzkggLAhClyKVBXyTmWXgqkZEU,7760
|
|
33
|
-
antioch/session/views/xform.py,sha256=BELykGHYhdZyHkCY6uakCnmJKwhyiDrCEGy9038GY_Y,3299
|
|
34
|
-
common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
|
-
common/constants.py,sha256=xlgBKdPoiDzAnWkeEsnktMJfXjBP5FTJkM3MGClTnuY,1085
|
|
36
|
-
common/ark/__init__.py,sha256=Lu2lJ5k7-vN6ZGeX2sYhRwzXEyt9kCyXtgsyvdIaCiU,1472
|
|
37
|
-
common/ark/ark.py,sha256=rToMvtpu634ylJbEfYlTD13Cb3udF_S4SfI8xQsL1P4,2376
|
|
38
|
-
common/ark/hardware.py,sha256=4A7g_rQO9Ylj5majqJMEgBBWHE8rEjcbAj8yhPBkxiM,2420
|
|
39
|
-
common/ark/kinematics.py,sha256=G4wzFVyG_awFPJ8SKcZMZCBQkZkF5g6NQg4RhUjAGCs,753
|
|
40
|
-
common/ark/module.py,sha256=IwkoirFb4dZkfVpn3tjgChRy5S6hVPbrtR9XgJ5UIBI,1922
|
|
41
|
-
common/ark/node.py,sha256=PWESl7sDdY_Q6aA3CZMRTQ0SONlO9LkUmXhRbUhT8_g,2303
|
|
42
|
-
common/ark/scheduler.py,sha256=QGO_-ZewCvOHJ-w9BAJJQdco0-b-mbbzufpSX9b-mNo,15703
|
|
43
|
-
common/ark/sim.py,sha256=SQtZkf97QF91oLWkTUEhq62GYL3yk7-LLDDR-lXVKcA,900
|
|
44
|
-
common/assets/__init__.py,sha256=We71LsStYI5-hknGd2XHrvHg8G4k1dity887BnI5oPI,102
|
|
45
|
-
common/core/__init__.py,sha256=L8rvLHQd-mOCfDQ2WN9BZiMqU0skeTTkeQvpJ59ouqI,1110
|
|
46
|
-
common/core/agent.py,sha256=UJrZjLPLNLUIWe6-pDB3vE_hUD8JzUTwM87MRxjPYmg,7764
|
|
47
|
-
common/core/auth.py,sha256=TeJIhYm8buQLAkl3jORuGV03pP1MNOhetHunE9z2nsM,9347
|
|
48
|
-
common/core/registry.py,sha256=J2Ihhgr6aTfovm-zSiGEcyHB8iBcpFcZVw6vVYKFjNg,11399
|
|
49
|
-
common/core/task.py,sha256=eybV7yQ8nPYgQtYuse-QvoMJ87Msh6rAN_LUOTGmN94,629
|
|
50
|
-
common/message/__init__.py,sha256=O9HKA_9yJk1-bVhn7CRfY2Q_8H0nze7PjTRZB8fJIec,1747
|
|
51
|
-
common/message/annotation.py,sha256=BlzDYhioAK1ATFfgZozmaF7uOqFdSr7KBhe2m03Z2q4,1911
|
|
52
|
-
common/message/array.py,sha256=Fly7u8BE-_QRwnkmv3k6P2EI0FguEUIzF_tE-mFGT1Q,13971
|
|
53
|
-
common/message/base.py,sha256=kdBEmcHy6R9EV_QbarSwPWZE0n_Sar-gXK8g5ceT2-U,18080
|
|
54
|
-
common/message/camera.py,sha256=Xv3Y31ppg9fkjncMteHwgB3Dx7RNRWbnStoDFp-YnhM,3075
|
|
55
|
-
common/message/color.py,sha256=PsM-mD-LAitJJD4DCvMaSFGwXjFEiWgdcrqxFRj0wGI,3292
|
|
56
|
-
common/message/frame.py,sha256=J8J0EutQ3mfHvmGjna-7hhWgIyqHgkKPPjIgMMyxCUw,1674
|
|
57
|
-
common/message/image.py,sha256=aF_rU_sOSJQci6g_Wr5Sd16FUFnHm2kgurqWcPPKbaA,5296
|
|
58
|
-
common/message/imu.py,sha256=mwIu_dK64aixrnz6Hsg8v-vXVKUabLBNbfHe2KqbVPo,328
|
|
59
|
-
common/message/joint.py,sha256=V9qEILZVaWoAbKGT_V3wvSAvZzoJ7YmrcROkIdzmg5o,1051
|
|
60
|
-
common/message/log.py,sha256=VN1zCwrUtTPNiyakNjYPZuz3UDMtW19fhD1F1M8MTf8,552
|
|
61
|
-
common/message/pir.py,sha256=nSm5dymphomoOZqZAtQeUCowrIginEjVvLwW9NdGNAU,797
|
|
62
|
-
common/message/point.py,sha256=oryHZEltba1z3GFRyb099oDddmiLE5SM4TKexgtBYaE,2229
|
|
63
|
-
common/message/point_cloud.py,sha256=e06e6-bGaN8VzwkCy4MltDZocnKP7Bbr14gBlUhXu-A,2035
|
|
64
|
-
common/message/pose.py,sha256=fcb0-xuIYWaaHHGC_iET9yma1fuicFvXJsaJaLO5XVI,4703
|
|
65
|
-
common/message/quaternion.py,sha256=Y6-XR3g7VaWVOkLoK6hE26wTYjnJFjrHIv9y17GM1EY,6897
|
|
66
|
-
common/message/radar.py,sha256=18w89hpq5tahh9V_49CWKXkU78b21xrTj_bH35u1UFE,2014
|
|
67
|
-
common/message/types.py,sha256=k2wtbozsyd4HhMBoDfPFMLyCAGmTxaOvVhzIr-wx3N0,480
|
|
68
|
-
common/message/vector.py,sha256=IrREGUi2zKTUmp5PG4YNiJKEM1zRXLl0fK9QuF7I06o,20302
|
|
69
|
-
common/rome/__init__.py,sha256=hfwUw5wbT-Ph-OFwGhiqw3XEeWaZwmLAs66LOYKqfzU,210
|
|
70
|
-
common/rome/client.py,sha256=6cFzqXilZWNndRAhJctqdPjQQbJM4a0BzoyGYZapIh0,15462
|
|
71
|
-
common/rome/error.py,sha256=oW8yI81o3hQghop4omFcMkXx4IbacGye38Iyw2VKihQ,294
|
|
72
|
-
common/session/__init__.py,sha256=q0sWg6gKU2dNX0IzBAXHTpwarg1eYwCjQYWmII2SW70,1131
|
|
73
|
-
common/session/environment.py,sha256=CVW00KXWF8L0L6ocUsZ2UWt-iqAiP0usFdhZsK43fak,714
|
|
74
|
-
common/session/sim.py,sha256=0eSxUwiHWh-siombwy3qX_e-oZ7KGbwIh-GvAxiGZAM,5717
|
|
75
|
-
common/session/views/__init__.py,sha256=AVqMcuR_rA2mO7JmttYcACnHXsNyIf4xvqmDBCXft30,6525
|
|
76
|
-
common/session/views/animation.py,sha256=Dz9bFMQeLGWaOgQ9GPOMjBBZ7uB2Nynk0ovQl9EDBfA,2407
|
|
77
|
-
common/session/views/articulation.py,sha256=DwJTQk8iU3vII9aEc9_CBtUEszD1uhfCAr2NNJP9SBA,5044
|
|
78
|
-
common/session/views/basis_curve.py,sha256=56ylRppXA6_pUWJvSS_XjgI5rxBtJ0v16zU7vM8RcnQ,3115
|
|
79
|
-
common/session/views/camera.py,sha256=H9Gt0K9DhoiBKxeSyljezj6Mn1-Rp4-vkf_4our3IPE,4458
|
|
80
|
-
common/session/views/collision.py,sha256=brMzJRsYXW9MAqmPMzovSBx73MM870V3hzfkL5yroFY,1360
|
|
81
|
-
common/session/views/geometry.py,sha256=7CBTugs8Onr7tddyzz5g5f3HY7rz_9tuIxYbRWbnFmM,3453
|
|
82
|
-
common/session/views/ground_plane.py,sha256=iHi7bx3qHveh94b88oPz7Yy9cjznc194T6Bx9I6SK1Q,1174
|
|
83
|
-
common/session/views/imu.py,sha256=usMm4yeqY_emcTQGjs2hC3Rk-tfen2dp0fIWTDADpxc,1593
|
|
84
|
-
common/session/views/joint.py,sha256=eP5fLAWqvaQ13xZrNkn79DdRERZMvVrP9emJYZ_J_KA,2098
|
|
85
|
-
common/session/views/light.py,sha256=IpqkSB6qZCfbe63GAJaPHdy4rJDNki8h-Hm-1kwDwHc,2284
|
|
86
|
-
common/session/views/material.py,sha256=QtklOzGZn7nPiMzR7aq9u0nTSkCUlY-rsaPzfv1f9EQ,942
|
|
87
|
-
common/session/views/pir_sensor.py,sha256=HyrV5SU9GEWBL-s9B6AKoR6VhhvPxr7EnEzhSwyECPc,5495
|
|
88
|
-
common/session/views/radar.py,sha256=KTEwFKvEr3f2SrdAhb3iSIKRMKa0PIRXx7-T5hRiDgg,3429
|
|
89
|
-
common/session/views/rigid_body.py,sha256=19cjU2bZvaFzs8OoNsu4gzZHu97nJMUueBc6Wt0NUWk,4523
|
|
90
|
-
common/session/views/viewport.py,sha256=tPb1yCFd5nqCapkqSyWCEJ8joEk3fIIfZNr1uAbNAfM,682
|
|
91
|
-
common/session/views/xform.py,sha256=uxcmtFFGKLF-Jkln1r08CZuyLr7EI8DvdKYuyUFdieM,863
|
|
92
|
-
common/utils/__init__.py,sha256=9zRb7XayzCGRs4I94hWKJHyQ1MevlUiTzXsPNBLBX7Y,113
|
|
93
|
-
common/utils/comms.py,sha256=1lpnb9ra5I3xv-Eo0GFZ7nR4TjKseOeDNf9QMWQZbds,17283
|
|
94
|
-
common/utils/logger.py,sha256=VcZ4dduWut8xWPs-F5ye8RRrNdBehSSG3r1LAWc-IBY,3389
|
|
95
|
-
common/utils/time.py,sha256=kGDzObbaqWOep4vT1Y2W-BheunxdjYBI4V3Nfp4Ck3Q,790
|
|
96
|
-
common/utils/usd.py,sha256=to4VPtnamMDIQK-pwDIVfiuzUnNzEImj5szOar1NHiE,253
|
|
97
|
-
antioch_py-2.0.7.dist-info/METADATA,sha256=Pbd_ezyxJrXnLGCkcb1RhzJP9PuBnEVBkIUMUhAamSU,3485
|
|
98
|
-
antioch_py-2.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
99
|
-
antioch_py-2.0.7.dist-info/entry_points.txt,sha256=1bLTH5BXCOsQkS8k6L_wJ6Nj62j4aoU9Ey_PhWzsRRM,59
|
|
100
|
-
antioch_py-2.0.7.dist-info/top_level.txt,sha256=GtzNccsep3YdBt9VXQ7-ZFsFJFffr4hyZvqg0YqRqtw,15
|
|
101
|
-
antioch_py-2.0.7.dist-info/RECORD,,
|
common/session/views/__init__.py
DELETED
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
from common.message import PirStatus
|
|
2
|
-
from common.session.views.animation import (
|
|
3
|
-
AddAnimationFromBasisCurve,
|
|
4
|
-
AddAnimationFromWaypoints,
|
|
5
|
-
GetAnimation,
|
|
6
|
-
GetAnimationResponse,
|
|
7
|
-
RemoveAnimation,
|
|
8
|
-
UpdateAnimationBasisCurve,
|
|
9
|
-
UpdateAnimationWaypoints,
|
|
10
|
-
)
|
|
11
|
-
from common.session.views.articulation import (
|
|
12
|
-
AddArticulation,
|
|
13
|
-
ArticulationConfig,
|
|
14
|
-
ArticulationJointConfig,
|
|
15
|
-
ArticulationJointConfigs,
|
|
16
|
-
ArticulationJointStates,
|
|
17
|
-
ArticulationJointTargets,
|
|
18
|
-
BufferArticulationRead,
|
|
19
|
-
BufferArticulationWrite,
|
|
20
|
-
BufferArticulationWriteResponse,
|
|
21
|
-
BufferedArticulationState,
|
|
22
|
-
GetArticulation,
|
|
23
|
-
GetArticulationJointConfigs,
|
|
24
|
-
GetArticulationJointStates,
|
|
25
|
-
GetArticulationJointTargets,
|
|
26
|
-
GetArticulationResponse,
|
|
27
|
-
GetBufferedArticulationRead,
|
|
28
|
-
SetArticulationJointConfigs,
|
|
29
|
-
SetArticulationJointStates,
|
|
30
|
-
SetArticulationJointTargets,
|
|
31
|
-
)
|
|
32
|
-
from common.session.views.basis_curve import (
|
|
33
|
-
AddBasisCurveSemiCircle,
|
|
34
|
-
GetBasisCurve,
|
|
35
|
-
GetBasisCurveExtents,
|
|
36
|
-
GetBasisCurveExtentsResponse,
|
|
37
|
-
GetBasisCurvePoints,
|
|
38
|
-
GetBasisCurvePointsResponse,
|
|
39
|
-
GetBasisCurveResponse,
|
|
40
|
-
RemoveBasisCurve,
|
|
41
|
-
SetBasisCurveVisibility,
|
|
42
|
-
)
|
|
43
|
-
from common.session.views.camera import AddCamera, CameraConfig, CameraMode, DistortionModel, GetCamera, GetCameraFrame, GetCameraResponse
|
|
44
|
-
from common.session.views.collision import (
|
|
45
|
-
GetMeshApproximation,
|
|
46
|
-
GetMeshApproximationResponse,
|
|
47
|
-
HasCollision,
|
|
48
|
-
HasCollisionResponse,
|
|
49
|
-
RemoveCollision,
|
|
50
|
-
SetCollision,
|
|
51
|
-
)
|
|
52
|
-
from common.session.views.geometry import AddGeometry, GeometryConfig, GeometryType, GetGeometry, GetGeometryResponse, MeshApproximation
|
|
53
|
-
from common.session.views.ground_plane import AddGroundPlane, GetGroundPlane, GetGroundPlaneResponse, GroundPlaneConfig
|
|
54
|
-
from common.session.views.imu import AddImu, GetImu, GetImuResponse, GetImuSample, ImuConfig
|
|
55
|
-
from common.session.views.joint import AddJoint, GetJoint, GetJointResponse, JointAxis, JointConfig, JointType
|
|
56
|
-
from common.session.views.light import (
|
|
57
|
-
AddLight,
|
|
58
|
-
DisableLight,
|
|
59
|
-
EnableLight,
|
|
60
|
-
GetLight,
|
|
61
|
-
GetLightResponse,
|
|
62
|
-
LightConfig,
|
|
63
|
-
LightType,
|
|
64
|
-
SetLightColor,
|
|
65
|
-
SetLightIntensity,
|
|
66
|
-
)
|
|
67
|
-
from common.session.views.pir_sensor import (
|
|
68
|
-
AddPirSensor,
|
|
69
|
-
GetPirDetectionStatus,
|
|
70
|
-
GetPirSensor,
|
|
71
|
-
GetPirSensorResponse,
|
|
72
|
-
PirSensorConfig,
|
|
73
|
-
SetPirDebugMode,
|
|
74
|
-
SetPirMaterial,
|
|
75
|
-
)
|
|
76
|
-
from common.session.views.radar import (
|
|
77
|
-
AddRadar,
|
|
78
|
-
BufferRadarRead,
|
|
79
|
-
GetBufferedRadarRead,
|
|
80
|
-
GetRadar,
|
|
81
|
-
GetRadarResponse,
|
|
82
|
-
GetRadarScan,
|
|
83
|
-
RadarConfig,
|
|
84
|
-
)
|
|
85
|
-
from common.session.views.rigid_body import (
|
|
86
|
-
AddRigidBody,
|
|
87
|
-
ApplyForce,
|
|
88
|
-
ApplyForceAtPosition,
|
|
89
|
-
ApplyTorque,
|
|
90
|
-
BodyCenterOfMass,
|
|
91
|
-
BodyDistance,
|
|
92
|
-
BodyInertia,
|
|
93
|
-
BodyMass,
|
|
94
|
-
BodyType,
|
|
95
|
-
BodyVelocity,
|
|
96
|
-
BoundingBox,
|
|
97
|
-
DisableGravity,
|
|
98
|
-
DisablePhysics,
|
|
99
|
-
EnableGravity,
|
|
100
|
-
EnablePhysics,
|
|
101
|
-
GetBodyBoundingBox,
|
|
102
|
-
GetBodyCenterOfMass,
|
|
103
|
-
GetBodyInertia,
|
|
104
|
-
GetBodyMass,
|
|
105
|
-
GetBodyVelocity,
|
|
106
|
-
GetDistanceBetweenBodies,
|
|
107
|
-
GetRigidBody,
|
|
108
|
-
GetRigidBodyResponse,
|
|
109
|
-
RigidBodyConfig,
|
|
110
|
-
SetBodyVelocity,
|
|
111
|
-
)
|
|
112
|
-
from common.session.views.viewport import (
|
|
113
|
-
SetActiveViewportCamera,
|
|
114
|
-
SetCameraView,
|
|
115
|
-
)
|
|
116
|
-
from common.session.views.xform import (
|
|
117
|
-
AddXForm,
|
|
118
|
-
GetXForm,
|
|
119
|
-
GetXFormResponse,
|
|
120
|
-
SetXformVisibility,
|
|
121
|
-
)
|
|
122
|
-
|
|
123
|
-
__all__ = [
|
|
124
|
-
# Articulation
|
|
125
|
-
"ArticulationConfig",
|
|
126
|
-
"ArticulationJointConfig",
|
|
127
|
-
"ArticulationJointConfigs",
|
|
128
|
-
"ArticulationJointStates",
|
|
129
|
-
"ArticulationJointTargets",
|
|
130
|
-
"BufferArticulationRead",
|
|
131
|
-
"BufferArticulationWrite",
|
|
132
|
-
"BufferArticulationWriteResponse",
|
|
133
|
-
"BufferedArticulationState",
|
|
134
|
-
"AddArticulation",
|
|
135
|
-
"GetArticulationJointConfigs",
|
|
136
|
-
"GetArticulationJointStates",
|
|
137
|
-
"GetArticulationJointTargets",
|
|
138
|
-
"GetBufferedArticulationRead",
|
|
139
|
-
"GetArticulation",
|
|
140
|
-
"GetArticulationResponse",
|
|
141
|
-
"SetArticulationJointConfigs",
|
|
142
|
-
"SetArticulationJointStates",
|
|
143
|
-
"SetArticulationJointTargets",
|
|
144
|
-
# Camera
|
|
145
|
-
"AddCamera",
|
|
146
|
-
"CameraConfig",
|
|
147
|
-
"CameraMode",
|
|
148
|
-
"DistortionModel",
|
|
149
|
-
"GetCamera",
|
|
150
|
-
"GetCameraFrame",
|
|
151
|
-
"GetCameraResponse",
|
|
152
|
-
# Collision
|
|
153
|
-
"GetMeshApproximation",
|
|
154
|
-
"GetMeshApproximationResponse",
|
|
155
|
-
"HasCollision",
|
|
156
|
-
"HasCollisionResponse",
|
|
157
|
-
"RemoveCollision",
|
|
158
|
-
"SetCollision",
|
|
159
|
-
# Geometry
|
|
160
|
-
"AddGeometry",
|
|
161
|
-
"GeometryConfig",
|
|
162
|
-
"GeometryType",
|
|
163
|
-
"GetGeometry",
|
|
164
|
-
"GetGeometryResponse",
|
|
165
|
-
"MeshApproximation",
|
|
166
|
-
# Ground Plane
|
|
167
|
-
"AddGroundPlane",
|
|
168
|
-
"GetGroundPlane",
|
|
169
|
-
"GetGroundPlaneResponse",
|
|
170
|
-
"GroundPlaneConfig",
|
|
171
|
-
# IMU
|
|
172
|
-
"AddImu",
|
|
173
|
-
"GetImu",
|
|
174
|
-
"GetImuResponse",
|
|
175
|
-
"GetImuSample",
|
|
176
|
-
"ImuConfig",
|
|
177
|
-
# Joint
|
|
178
|
-
"AddJoint",
|
|
179
|
-
"GetJoint",
|
|
180
|
-
"GetJointResponse",
|
|
181
|
-
"JointAxis",
|
|
182
|
-
"JointConfig",
|
|
183
|
-
"JointType",
|
|
184
|
-
# Light
|
|
185
|
-
"AddLight",
|
|
186
|
-
"DisableLight",
|
|
187
|
-
"EnableLight",
|
|
188
|
-
"GetLight",
|
|
189
|
-
"GetLightResponse",
|
|
190
|
-
"LightConfig",
|
|
191
|
-
"LightType",
|
|
192
|
-
"SetLightColor",
|
|
193
|
-
"SetLightIntensity",
|
|
194
|
-
# PIR Sensor
|
|
195
|
-
"AddPirSensor",
|
|
196
|
-
"GetPirDetectionStatus",
|
|
197
|
-
"GetPirSensor",
|
|
198
|
-
"GetPirSensorResponse",
|
|
199
|
-
"PirSensorConfig",
|
|
200
|
-
"PirStatus",
|
|
201
|
-
"SetPirDebugMode",
|
|
202
|
-
"SetPirMaterial",
|
|
203
|
-
# Radar
|
|
204
|
-
"AddRadar",
|
|
205
|
-
"BufferRadarRead",
|
|
206
|
-
"GetBufferedRadarRead",
|
|
207
|
-
"GetRadar",
|
|
208
|
-
"GetRadarResponse",
|
|
209
|
-
"GetRadarScan",
|
|
210
|
-
"RadarConfig",
|
|
211
|
-
# Rigid Body
|
|
212
|
-
"AddRigidBody",
|
|
213
|
-
"ApplyForce",
|
|
214
|
-
"ApplyForceAtPosition",
|
|
215
|
-
"ApplyTorque",
|
|
216
|
-
"BodyCenterOfMass",
|
|
217
|
-
"BodyDistance",
|
|
218
|
-
"BodyInertia",
|
|
219
|
-
"BodyMass",
|
|
220
|
-
"BodyType",
|
|
221
|
-
"BodyVelocity",
|
|
222
|
-
"BoundingBox",
|
|
223
|
-
"DisableGravity",
|
|
224
|
-
"DisablePhysics",
|
|
225
|
-
"EnableGravity",
|
|
226
|
-
"EnablePhysics",
|
|
227
|
-
"GetBodyBoundingBox",
|
|
228
|
-
"GetBodyCenterOfMass",
|
|
229
|
-
"GetBodyInertia",
|
|
230
|
-
"GetBodyMass",
|
|
231
|
-
"GetBodyVelocity",
|
|
232
|
-
"GetDistanceBetweenBodies",
|
|
233
|
-
"GetRigidBody",
|
|
234
|
-
"GetRigidBodyResponse",
|
|
235
|
-
"RigidBodyConfig",
|
|
236
|
-
"SetBodyVelocity",
|
|
237
|
-
# Viewport
|
|
238
|
-
"SetActiveViewportCamera",
|
|
239
|
-
"SetCameraView",
|
|
240
|
-
# XForm
|
|
241
|
-
"AddXForm",
|
|
242
|
-
"GetXForm",
|
|
243
|
-
"GetXFormResponse",
|
|
244
|
-
"SetXformVisibility",
|
|
245
|
-
# Basis Curve
|
|
246
|
-
"AddBasisCurveSemiCircle",
|
|
247
|
-
"GetBasisCurve",
|
|
248
|
-
"GetBasisCurveResponse",
|
|
249
|
-
"GetBasisCurveExtents",
|
|
250
|
-
"GetBasisCurveExtentsResponse",
|
|
251
|
-
"SetBasisCurveVisibility",
|
|
252
|
-
"GetBasisCurvePoints",
|
|
253
|
-
"GetBasisCurvePointsResponse",
|
|
254
|
-
"RemoveBasisCurve",
|
|
255
|
-
# Animation
|
|
256
|
-
"AddAnimationFromWaypoints",
|
|
257
|
-
"AddAnimationFromBasisCurve",
|
|
258
|
-
"UpdateAnimationWaypoints",
|
|
259
|
-
"UpdateAnimationBasisCurve",
|
|
260
|
-
"GetAnimation",
|
|
261
|
-
"GetAnimationResponse",
|
|
262
|
-
"RemoveAnimation",
|
|
263
|
-
]
|