antioch-py 2.0.6__py3-none-any.whl → 3.0.12__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/__init__.py +101 -0
- antioch/{module/execution.py → execution.py} +1 -1
- antioch/{module/input.py → input.py} +2 -4
- antioch/{module/module.py → module.py} +17 -34
- antioch/{module/node.py → node.py} +17 -16
- {antioch_py-2.0.6.dist-info → antioch_py-3.0.12.dist-info}/METADATA +8 -11
- antioch_py-3.0.12.dist-info/RECORD +61 -0
- {antioch_py-2.0.6.dist-info → antioch_py-3.0.12.dist-info}/WHEEL +1 -1
- antioch_py-3.0.12.dist-info/licenses/LICENSE +21 -0
- common/ark/__init__.py +6 -16
- common/ark/ark.py +23 -60
- common/ark/hardware.py +13 -37
- common/ark/kinematics.py +1 -1
- common/ark/module.py +22 -0
- common/ark/node.py +46 -3
- common/ark/scheduler.py +2 -29
- common/ark/sim.py +1 -1
- {antioch/module → common/ark}/token.py +17 -0
- common/assets/rigging.usd +0 -0
- common/constants.py +83 -4
- common/core/__init__.py +37 -24
- common/core/auth.py +87 -114
- common/core/container.py +261 -0
- common/core/registry.py +131 -152
- common/core/rome.py +251 -0
- common/core/telemetry.py +176 -0
- common/core/types.py +219 -0
- common/message/__init__.py +19 -3
- common/message/annotation.py +174 -23
- common/message/array.py +25 -1
- common/message/camera.py +23 -1
- common/message/color.py +32 -6
- common/message/detection.py +40 -0
- common/message/foxglove.py +20 -0
- common/message/frame.py +71 -7
- common/message/image.py +58 -9
- common/message/imu.py +24 -4
- common/message/joint.py +69 -10
- common/message/log.py +52 -7
- common/message/pir.py +22 -5
- common/message/plot.py +57 -0
- common/message/point.py +55 -6
- common/message/point_cloud.py +55 -19
- common/message/pose.py +59 -19
- common/message/quaternion.py +105 -92
- common/message/radar.py +195 -29
- common/message/twist.py +34 -0
- common/message/types.py +40 -5
- common/message/vector.py +180 -245
- common/sim/__init__.py +49 -0
- common/sim/objects.py +460 -0
- common/sim/state.py +11 -0
- common/utils/comms.py +30 -12
- common/utils/logger.py +26 -7
- antioch/message.py +0 -87
- antioch/module/__init__.py +0 -53
- antioch/session/__init__.py +0 -150
- antioch/session/ark.py +0 -504
- antioch/session/asset.py +0 -65
- antioch/session/error.py +0 -80
- antioch/session/record.py +0 -158
- antioch/session/scene.py +0 -1521
- antioch/session/session.py +0 -220
- antioch/session/task.py +0 -323
- antioch/session/views/__init__.py +0 -40
- antioch/session/views/animation.py +0 -189
- antioch/session/views/articulation.py +0 -245
- antioch/session/views/basis_curve.py +0 -186
- antioch/session/views/camera.py +0 -92
- antioch/session/views/collision.py +0 -75
- antioch/session/views/geometry.py +0 -74
- antioch/session/views/ground_plane.py +0 -63
- antioch/session/views/imu.py +0 -73
- antioch/session/views/joint.py +0 -64
- antioch/session/views/light.py +0 -175
- antioch/session/views/pir_sensor.py +0 -140
- antioch/session/views/radar.py +0 -73
- antioch/session/views/rigid_body.py +0 -282
- antioch/session/views/xform.py +0 -119
- antioch_py-2.0.6.dist-info/RECORD +0 -99
- antioch_py-2.0.6.dist-info/entry_points.txt +0 -2
- common/core/agent.py +0 -296
- common/core/task.py +0 -36
- common/rome/__init__.py +0 -9
- common/rome/client.py +0 -430
- common/rome/error.py +0 -16
- common/session/__init__.py +0 -54
- common/session/environment.py +0 -31
- common/session/sim.py +0 -240
- 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/pir_sensor.py +0 -115
- common/session/views/radar.py +0 -82
- common/session/views/rigid_body.py +0 -236
- common/session/views/viewport.py +0 -21
- common/session/views/xform.py +0 -39
- common/utils/usd.py +0 -12
- /antioch/{module/clock.py → clock.py} +0 -0
- {antioch_py-2.0.6.dist-info → antioch_py-3.0.12.dist-info}/top_level.txt +0 -0
- /common/message/{base.py → message.py} +0 -0
antioch/message.py
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
from common.message import (
|
|
2
|
-
Array,
|
|
3
|
-
Bool,
|
|
4
|
-
CameraInfo,
|
|
5
|
-
CircleAnnotation,
|
|
6
|
-
Color,
|
|
7
|
-
DeserializationError,
|
|
8
|
-
Float,
|
|
9
|
-
FrameTransform,
|
|
10
|
-
FrameTransforms,
|
|
11
|
-
Image,
|
|
12
|
-
ImageAnnotations,
|
|
13
|
-
ImageEncoding,
|
|
14
|
-
Int,
|
|
15
|
-
JointState,
|
|
16
|
-
JointStates,
|
|
17
|
-
JointTarget,
|
|
18
|
-
JointTargets,
|
|
19
|
-
Log,
|
|
20
|
-
LogLevel,
|
|
21
|
-
Message,
|
|
22
|
-
MessageError,
|
|
23
|
-
MismatchError,
|
|
24
|
-
Point2,
|
|
25
|
-
Point3,
|
|
26
|
-
PointCloud,
|
|
27
|
-
PointsAnnotation,
|
|
28
|
-
PointsAnnotationType,
|
|
29
|
-
Pose,
|
|
30
|
-
Quaternion,
|
|
31
|
-
RadarDetection,
|
|
32
|
-
RadarScan,
|
|
33
|
-
SerializationError,
|
|
34
|
-
String,
|
|
35
|
-
TextAnnotation,
|
|
36
|
-
Vector2,
|
|
37
|
-
Vector3,
|
|
38
|
-
)
|
|
39
|
-
|
|
40
|
-
__all__ = [
|
|
41
|
-
# Base types
|
|
42
|
-
"Message",
|
|
43
|
-
"MessageError",
|
|
44
|
-
"DeserializationError",
|
|
45
|
-
"SerializationError",
|
|
46
|
-
"MismatchError",
|
|
47
|
-
# Primitive types
|
|
48
|
-
"Array",
|
|
49
|
-
"Bool",
|
|
50
|
-
"Float",
|
|
51
|
-
"Int",
|
|
52
|
-
"String",
|
|
53
|
-
# Geometry types
|
|
54
|
-
"Point2",
|
|
55
|
-
"Point3",
|
|
56
|
-
"Vector2",
|
|
57
|
-
"Vector3",
|
|
58
|
-
"Pose",
|
|
59
|
-
"Quaternion",
|
|
60
|
-
# Color
|
|
61
|
-
"Color",
|
|
62
|
-
# Camera types
|
|
63
|
-
"CameraInfo",
|
|
64
|
-
"Image",
|
|
65
|
-
"ImageEncoding",
|
|
66
|
-
# Joint types
|
|
67
|
-
"JointState",
|
|
68
|
-
"JointStates",
|
|
69
|
-
"JointTarget",
|
|
70
|
-
"JointTargets",
|
|
71
|
-
# Sensor types
|
|
72
|
-
"RadarDetection",
|
|
73
|
-
"RadarScan",
|
|
74
|
-
"PointCloud",
|
|
75
|
-
# Logging
|
|
76
|
-
"Log",
|
|
77
|
-
"LogLevel",
|
|
78
|
-
# Annotations
|
|
79
|
-
"CircleAnnotation",
|
|
80
|
-
"ImageAnnotations",
|
|
81
|
-
"PointsAnnotation",
|
|
82
|
-
"PointsAnnotationType",
|
|
83
|
-
"TextAnnotation",
|
|
84
|
-
# Frame transforms
|
|
85
|
-
"FrameTransform",
|
|
86
|
-
"FrameTransforms",
|
|
87
|
-
]
|
antioch/module/__init__.py
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
from antioch.module.clock import Clock, now_us
|
|
2
|
-
from antioch.module.execution import Execution, Input, Output
|
|
3
|
-
from antioch.module.module import Module
|
|
4
|
-
from antioch.module.token import Token, TokenType
|
|
5
|
-
from common.ark import Environment, HardwareAccessMode
|
|
6
|
-
from common.message import (
|
|
7
|
-
CameraInfo,
|
|
8
|
-
Image,
|
|
9
|
-
ImageEncoding,
|
|
10
|
-
ImuSample,
|
|
11
|
-
JointState,
|
|
12
|
-
JointStates,
|
|
13
|
-
JointTarget,
|
|
14
|
-
JointTargets,
|
|
15
|
-
Message,
|
|
16
|
-
Pose,
|
|
17
|
-
Quaternion,
|
|
18
|
-
RadarDetection,
|
|
19
|
-
RadarScan,
|
|
20
|
-
Vector3,
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
__all__ = [
|
|
24
|
-
# Core module types
|
|
25
|
-
"Module",
|
|
26
|
-
"Execution",
|
|
27
|
-
"Input",
|
|
28
|
-
"Output",
|
|
29
|
-
# Token types
|
|
30
|
-
"Token",
|
|
31
|
-
"TokenType",
|
|
32
|
-
# Timing
|
|
33
|
-
"Clock",
|
|
34
|
-
"now_us",
|
|
35
|
-
# Enums
|
|
36
|
-
"Environment",
|
|
37
|
-
"HardwareAccessMode",
|
|
38
|
-
# Message types
|
|
39
|
-
"Message",
|
|
40
|
-
"CameraInfo",
|
|
41
|
-
"Image",
|
|
42
|
-
"ImageEncoding",
|
|
43
|
-
"ImuSample",
|
|
44
|
-
"JointState",
|
|
45
|
-
"JointStates",
|
|
46
|
-
"JointTarget",
|
|
47
|
-
"JointTargets",
|
|
48
|
-
"Pose",
|
|
49
|
-
"Quaternion",
|
|
50
|
-
"RadarDetection",
|
|
51
|
-
"RadarScan",
|
|
52
|
-
"Vector3",
|
|
53
|
-
]
|
antioch/session/__init__.py
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
from antioch.session.ark import Ark
|
|
2
|
-
from antioch.session.asset import Asset
|
|
3
|
-
from antioch.session.error import (
|
|
4
|
-
SessionArkError,
|
|
5
|
-
SessionAssetError,
|
|
6
|
-
SessionAuthError,
|
|
7
|
-
SessionError,
|
|
8
|
-
SessionHardwareError,
|
|
9
|
-
SessionSimRpcClientError,
|
|
10
|
-
SessionSimRpcInternalError,
|
|
11
|
-
SessionSimRpcInterruptedError,
|
|
12
|
-
SessionSimRpcNotConnectedError,
|
|
13
|
-
SessionTaskError,
|
|
14
|
-
SessionValidationError,
|
|
15
|
-
)
|
|
16
|
-
from antioch.session.scene import Scene
|
|
17
|
-
from antioch.session.session import Session, SessionContainer
|
|
18
|
-
from antioch.session.task import Task, TaskOutcome
|
|
19
|
-
from antioch.session.views import Articulation, BasisCurve, Camera, Geometry, GroundPlane, Imu, Joint, Light, Radar, RigidBody, XForm
|
|
20
|
-
from common.ark import (
|
|
21
|
-
ArkInfo,
|
|
22
|
-
ArkMetadata,
|
|
23
|
-
ArkReference,
|
|
24
|
-
ArkVersionReference,
|
|
25
|
-
AssetReference,
|
|
26
|
-
AssetVersionReference,
|
|
27
|
-
Environment,
|
|
28
|
-
Kinematics,
|
|
29
|
-
)
|
|
30
|
-
from common.ark.hardware import CameraHardware, Hardware, HardwareType, ImuHardware, RadarHardware
|
|
31
|
-
from common.ark.kinematics import Joint as ArkJoint, Link as ArkLink
|
|
32
|
-
from common.core import (
|
|
33
|
-
Agent,
|
|
34
|
-
AgentError,
|
|
35
|
-
AgentResponse,
|
|
36
|
-
AgentStateResponse,
|
|
37
|
-
AgentValidationError,
|
|
38
|
-
ArkStateResponse,
|
|
39
|
-
AuthError,
|
|
40
|
-
AuthHandler,
|
|
41
|
-
ContainerSource,
|
|
42
|
-
ContainerState,
|
|
43
|
-
Organization,
|
|
44
|
-
)
|
|
45
|
-
from common.message import ImuSample, JointState, JointStates, JointTarget, JointTargets, Pose
|
|
46
|
-
from common.session.sim import SimulationInfo, SimulationState, SimulationTime
|
|
47
|
-
from common.session.views.articulation import ArticulationJointConfig
|
|
48
|
-
from common.session.views.camera import CameraConfig, DistortionModel
|
|
49
|
-
from common.session.views.geometry import GeometryType, MeshApproximation
|
|
50
|
-
from common.session.views.imu import ImuConfig
|
|
51
|
-
from common.session.views.joint import JointAxis, JointType
|
|
52
|
-
from common.session.views.light import LightType
|
|
53
|
-
from common.session.views.radar import RadarConfig
|
|
54
|
-
from common.session.views.rigid_body import BodyType
|
|
55
|
-
from common.session.views.viewport import SetActiveViewportCamera, SetCameraView
|
|
56
|
-
|
|
57
|
-
__all__ = [
|
|
58
|
-
# Core containers
|
|
59
|
-
"Agent",
|
|
60
|
-
"AgentError",
|
|
61
|
-
"AgentValidationError",
|
|
62
|
-
"AuthError",
|
|
63
|
-
"AuthHandler",
|
|
64
|
-
"Organization",
|
|
65
|
-
"Ark",
|
|
66
|
-
"Asset",
|
|
67
|
-
"Camera",
|
|
68
|
-
"Scene",
|
|
69
|
-
"SessionContainer",
|
|
70
|
-
"Task",
|
|
71
|
-
"TaskOutcome",
|
|
72
|
-
# View containers
|
|
73
|
-
"Articulation",
|
|
74
|
-
"Camera",
|
|
75
|
-
"Geometry",
|
|
76
|
-
"GroundPlane",
|
|
77
|
-
"Imu",
|
|
78
|
-
"Joint",
|
|
79
|
-
"Light",
|
|
80
|
-
"Radar",
|
|
81
|
-
"RigidBody",
|
|
82
|
-
"XForm",
|
|
83
|
-
"BasisCurve",
|
|
84
|
-
"SetActiveViewportCamera",
|
|
85
|
-
"SetCameraView",
|
|
86
|
-
# Session client and errors
|
|
87
|
-
"Session",
|
|
88
|
-
"SessionError",
|
|
89
|
-
"SessionArkError",
|
|
90
|
-
"SessionAssetError",
|
|
91
|
-
"SessionAuthError",
|
|
92
|
-
"SessionHardwareError",
|
|
93
|
-
"SessionSimRpcClientError",
|
|
94
|
-
"SessionSimRpcInternalError",
|
|
95
|
-
"SessionSimRpcInterruptedError",
|
|
96
|
-
"SessionSimRpcNotConnectedError",
|
|
97
|
-
"SessionTaskError",
|
|
98
|
-
"SessionValidationError",
|
|
99
|
-
# Ark types
|
|
100
|
-
"ArkInfo",
|
|
101
|
-
"ArkMetadata",
|
|
102
|
-
"ArkReference",
|
|
103
|
-
"ArkVersionReference",
|
|
104
|
-
"AssetReference",
|
|
105
|
-
"AssetVersionReference",
|
|
106
|
-
"Environment",
|
|
107
|
-
"Kinematics",
|
|
108
|
-
# Ark kinematics
|
|
109
|
-
"ArkJoint",
|
|
110
|
-
"ArkLink",
|
|
111
|
-
# Hardware types
|
|
112
|
-
"Hardware",
|
|
113
|
-
"HardwareType",
|
|
114
|
-
"CameraHardware",
|
|
115
|
-
"ImuHardware",
|
|
116
|
-
"RadarHardware",
|
|
117
|
-
# Configuration types
|
|
118
|
-
"ArticulationJointConfig",
|
|
119
|
-
"CameraConfig",
|
|
120
|
-
"ImuConfig",
|
|
121
|
-
"RadarConfig",
|
|
122
|
-
# Joint types
|
|
123
|
-
"JointState",
|
|
124
|
-
"JointStates",
|
|
125
|
-
"JointTarget",
|
|
126
|
-
"JointTargets",
|
|
127
|
-
# Geometry types
|
|
128
|
-
"Pose",
|
|
129
|
-
# Camera types
|
|
130
|
-
"DistortionModel",
|
|
131
|
-
# Sensor types
|
|
132
|
-
"ImuSample",
|
|
133
|
-
# Enums
|
|
134
|
-
"BodyType",
|
|
135
|
-
"GeometryType",
|
|
136
|
-
"JointAxis",
|
|
137
|
-
"JointType",
|
|
138
|
-
"LightType",
|
|
139
|
-
"MeshApproximation",
|
|
140
|
-
# Simulation types
|
|
141
|
-
"SimulationInfo",
|
|
142
|
-
"SimulationState",
|
|
143
|
-
"SimulationTime",
|
|
144
|
-
# Agent types
|
|
145
|
-
"AgentResponse",
|
|
146
|
-
"AgentStateResponse",
|
|
147
|
-
"ArkStateResponse",
|
|
148
|
-
"ContainerSource",
|
|
149
|
-
"ContainerState",
|
|
150
|
-
]
|