dexcomm 0.1.7__cp313-cp313-win_amd64.whl → 0.1.9__cp313-cp313-win_amd64.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.
@@ -0,0 +1,175 @@
1
+ from google.protobuf.internal import containers as _containers
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import message as _message
4
+ from collections.abc import Iterable as _Iterable
5
+ from typing import ClassVar as _ClassVar, Optional as _Optional
6
+
7
+ DESCRIPTOR: _descriptor.FileDescriptor
8
+
9
+ class MotorStateWithTorque(_message.Message):
10
+ __slots__ = ("pos", "vel", "torque", "error", "timestamp_ns")
11
+ POS_FIELD_NUMBER: _ClassVar[int]
12
+ VEL_FIELD_NUMBER: _ClassVar[int]
13
+ TORQUE_FIELD_NUMBER: _ClassVar[int]
14
+ ERROR_FIELD_NUMBER: _ClassVar[int]
15
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
16
+ pos: _containers.RepeatedScalarFieldContainer[float]
17
+ vel: _containers.RepeatedScalarFieldContainer[float]
18
+ torque: _containers.RepeatedScalarFieldContainer[float]
19
+ error: _containers.RepeatedScalarFieldContainer[int]
20
+ timestamp_ns: int
21
+ def __init__(self, pos: _Optional[_Iterable[float]] = ..., vel: _Optional[_Iterable[float]] = ..., torque: _Optional[_Iterable[float]] = ..., error: _Optional[_Iterable[int]] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
22
+
23
+ class MotorStateWithCurrent(_message.Message):
24
+ __slots__ = ("pos", "vel", "cur", "error", "timestamp_ns")
25
+ POS_FIELD_NUMBER: _ClassVar[int]
26
+ VEL_FIELD_NUMBER: _ClassVar[int]
27
+ CUR_FIELD_NUMBER: _ClassVar[int]
28
+ ERROR_FIELD_NUMBER: _ClassVar[int]
29
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
30
+ pos: _containers.RepeatedScalarFieldContainer[float]
31
+ vel: _containers.RepeatedScalarFieldContainer[float]
32
+ cur: _containers.RepeatedScalarFieldContainer[float]
33
+ error: _containers.RepeatedScalarFieldContainer[int]
34
+ timestamp_ns: int
35
+ def __init__(self, pos: _Optional[_Iterable[float]] = ..., vel: _Optional[_Iterable[float]] = ..., cur: _Optional[_Iterable[float]] = ..., error: _Optional[_Iterable[int]] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
36
+
37
+ class MotorPosCommand(_message.Message):
38
+ __slots__ = ("pos", "timestamp_ns")
39
+ POS_FIELD_NUMBER: _ClassVar[int]
40
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
41
+ pos: _containers.RepeatedScalarFieldContainer[float]
42
+ timestamp_ns: int
43
+ def __init__(self, pos: _Optional[_Iterable[float]] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
44
+
45
+ class MotorVelCommand(_message.Message):
46
+ __slots__ = ("vel", "timestamp_ns")
47
+ VEL_FIELD_NUMBER: _ClassVar[int]
48
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
49
+ vel: _containers.RepeatedScalarFieldContainer[float]
50
+ timestamp_ns: int
51
+ def __init__(self, vel: _Optional[_Iterable[float]] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
52
+
53
+ class MotorPosVelCommand(_message.Message):
54
+ __slots__ = ("pos", "vel", "timestamp_ns")
55
+ POS_FIELD_NUMBER: _ClassVar[int]
56
+ VEL_FIELD_NUMBER: _ClassVar[int]
57
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
58
+ pos: _containers.RepeatedScalarFieldContainer[float]
59
+ vel: _containers.RepeatedScalarFieldContainer[float]
60
+ timestamp_ns: int
61
+ def __init__(self, pos: _Optional[_Iterable[float]] = ..., vel: _Optional[_Iterable[float]] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
62
+
63
+ class MotorPosVelCurrentCommand(_message.Message):
64
+ __slots__ = ("pos", "vel", "cur", "timestamp_ns")
65
+ POS_FIELD_NUMBER: _ClassVar[int]
66
+ VEL_FIELD_NUMBER: _ClassVar[int]
67
+ CUR_FIELD_NUMBER: _ClassVar[int]
68
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
69
+ pos: _containers.RepeatedScalarFieldContainer[float]
70
+ vel: _containers.RepeatedScalarFieldContainer[float]
71
+ cur: _containers.RepeatedScalarFieldContainer[float]
72
+ timestamp_ns: int
73
+ def __init__(self, pos: _Optional[_Iterable[float]] = ..., vel: _Optional[_Iterable[float]] = ..., cur: _Optional[_Iterable[float]] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
74
+
75
+ class EndEffectorPassThroughCommand(_message.Message):
76
+ __slots__ = ("data", "timestamp_ns")
77
+ DATA_FIELD_NUMBER: _ClassVar[int]
78
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
79
+ data: bytes
80
+ timestamp_ns: int
81
+ def __init__(self, data: _Optional[bytes] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
82
+
83
+ class BMSState(_message.Message):
84
+ __slots__ = ("voltage", "current", "temperature", "percentage", "is_charging", "error", "timestamp_ns")
85
+ VOLTAGE_FIELD_NUMBER: _ClassVar[int]
86
+ CURRENT_FIELD_NUMBER: _ClassVar[int]
87
+ TEMPERATURE_FIELD_NUMBER: _ClassVar[int]
88
+ PERCENTAGE_FIELD_NUMBER: _ClassVar[int]
89
+ IS_CHARGING_FIELD_NUMBER: _ClassVar[int]
90
+ ERROR_FIELD_NUMBER: _ClassVar[int]
91
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
92
+ voltage: float
93
+ current: float
94
+ temperature: float
95
+ percentage: int
96
+ is_charging: bool
97
+ error: int
98
+ timestamp_ns: int
99
+ def __init__(self, voltage: _Optional[float] = ..., current: _Optional[float] = ..., temperature: _Optional[float] = ..., percentage: _Optional[int] = ..., is_charging: bool = ..., error: _Optional[int] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
100
+
101
+ class WrenchState(_message.Message):
102
+ __slots__ = ("wrench", "blue_button", "green_button", "timestamp_ns")
103
+ WRENCH_FIELD_NUMBER: _ClassVar[int]
104
+ BLUE_BUTTON_FIELD_NUMBER: _ClassVar[int]
105
+ GREEN_BUTTON_FIELD_NUMBER: _ClassVar[int]
106
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
107
+ wrench: _containers.RepeatedScalarFieldContainer[float]
108
+ blue_button: bool
109
+ green_button: bool
110
+ timestamp_ns: int
111
+ def __init__(self, wrench: _Optional[_Iterable[float]] = ..., blue_button: bool = ..., green_button: bool = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
112
+
113
+ class EStopState(_message.Message):
114
+ __slots__ = ("software_estop_enabled", "left_button_pressed", "right_button_pressed", "waist_button_pressed", "wireless_button_pressed", "timestamp_ns")
115
+ SOFTWARE_ESTOP_ENABLED_FIELD_NUMBER: _ClassVar[int]
116
+ LEFT_BUTTON_PRESSED_FIELD_NUMBER: _ClassVar[int]
117
+ RIGHT_BUTTON_PRESSED_FIELD_NUMBER: _ClassVar[int]
118
+ WAIST_BUTTON_PRESSED_FIELD_NUMBER: _ClassVar[int]
119
+ WIRELESS_BUTTON_PRESSED_FIELD_NUMBER: _ClassVar[int]
120
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
121
+ software_estop_enabled: bool
122
+ left_button_pressed: bool
123
+ right_button_pressed: bool
124
+ waist_button_pressed: bool
125
+ wireless_button_pressed: bool
126
+ timestamp_ns: int
127
+ def __init__(self, software_estop_enabled: bool = ..., left_button_pressed: bool = ..., right_button_pressed: bool = ..., waist_button_pressed: bool = ..., wireless_button_pressed: bool = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
128
+
129
+ class UltrasonicState(_message.Message):
130
+ __slots__ = ("front_left", "front_right", "back_left", "back_right", "timestamp_ns")
131
+ FRONT_LEFT_FIELD_NUMBER: _ClassVar[int]
132
+ FRONT_RIGHT_FIELD_NUMBER: _ClassVar[int]
133
+ BACK_LEFT_FIELD_NUMBER: _ClassVar[int]
134
+ BACK_RIGHT_FIELD_NUMBER: _ClassVar[int]
135
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
136
+ front_left: float
137
+ front_right: float
138
+ back_left: float
139
+ back_right: float
140
+ timestamp_ns: int
141
+ def __init__(self, front_left: _Optional[float] = ..., front_right: _Optional[float] = ..., back_left: _Optional[float] = ..., back_right: _Optional[float] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
142
+
143
+ class IMUState(_message.Message):
144
+ __slots__ = ("acc_x", "acc_y", "acc_z", "gyro_x", "gyro_y", "gyro_z", "quat_w", "quat_x", "quat_y", "quat_z", "timestamp_ns")
145
+ ACC_X_FIELD_NUMBER: _ClassVar[int]
146
+ ACC_Y_FIELD_NUMBER: _ClassVar[int]
147
+ ACC_Z_FIELD_NUMBER: _ClassVar[int]
148
+ GYRO_X_FIELD_NUMBER: _ClassVar[int]
149
+ GYRO_Y_FIELD_NUMBER: _ClassVar[int]
150
+ GYRO_Z_FIELD_NUMBER: _ClassVar[int]
151
+ QUAT_W_FIELD_NUMBER: _ClassVar[int]
152
+ QUAT_X_FIELD_NUMBER: _ClassVar[int]
153
+ QUAT_Y_FIELD_NUMBER: _ClassVar[int]
154
+ QUAT_Z_FIELD_NUMBER: _ClassVar[int]
155
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
156
+ acc_x: float
157
+ acc_y: float
158
+ acc_z: float
159
+ gyro_x: float
160
+ gyro_y: float
161
+ gyro_z: float
162
+ quat_w: float
163
+ quat_x: float
164
+ quat_y: float
165
+ quat_z: float
166
+ timestamp_ns: int
167
+ def __init__(self, acc_x: _Optional[float] = ..., acc_y: _Optional[float] = ..., acc_z: _Optional[float] = ..., gyro_x: _Optional[float] = ..., gyro_y: _Optional[float] = ..., gyro_z: _Optional[float] = ..., quat_w: _Optional[float] = ..., quat_x: _Optional[float] = ..., quat_y: _Optional[float] = ..., quat_z: _Optional[float] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
168
+
169
+ class HandTouchSensorState(_message.Message):
170
+ __slots__ = ("force", "timestamp_ns")
171
+ FORCE_FIELD_NUMBER: _ClassVar[int]
172
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
173
+ force: _containers.RepeatedScalarFieldContainer[float]
174
+ timestamp_ns: int
175
+ def __init__(self, force: _Optional[_Iterable[float]] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
@@ -0,0 +1,165 @@
1
+ from google.protobuf.internal import containers as _containers
2
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
3
+ from google.protobuf import descriptor as _descriptor
4
+ from google.protobuf import message as _message
5
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
6
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
7
+
8
+ DESCRIPTOR: _descriptor.FileDescriptor
9
+
10
+ class ComponentStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
11
+ __slots__ = ()
12
+ NORMAL: _ClassVar[ComponentStatus]
13
+ NA: _ClassVar[ComponentStatus]
14
+ ERROR: _ClassVar[ComponentStatus]
15
+ NORMAL: ComponentStatus
16
+ NA: ComponentStatus
17
+ ERROR: ComponentStatus
18
+
19
+ class SetArmMode(_message.Message):
20
+ __slots__ = ("mode", "modes")
21
+ class Mode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
22
+ __slots__ = ()
23
+ POSITION: _ClassVar[SetArmMode.Mode]
24
+ DISABLE: _ClassVar[SetArmMode.Mode]
25
+ CURRENT: _ClassVar[SetArmMode.Mode]
26
+ VELOCITY: _ClassVar[SetArmMode.Mode]
27
+ ENABLE: _ClassVar[SetArmMode.Mode]
28
+ CALIBRATION: _ClassVar[SetArmMode.Mode]
29
+ POSITION: SetArmMode.Mode
30
+ DISABLE: SetArmMode.Mode
31
+ CURRENT: SetArmMode.Mode
32
+ VELOCITY: SetArmMode.Mode
33
+ ENABLE: SetArmMode.Mode
34
+ CALIBRATION: SetArmMode.Mode
35
+ MODE_FIELD_NUMBER: _ClassVar[int]
36
+ MODES_FIELD_NUMBER: _ClassVar[int]
37
+ mode: SetArmMode.Mode
38
+ modes: _containers.RepeatedScalarFieldContainer[SetArmMode.Mode]
39
+ def __init__(self, mode: _Optional[_Union[SetArmMode.Mode, str]] = ..., modes: _Optional[_Iterable[_Union[SetArmMode.Mode, str]]] = ...) -> None: ...
40
+
41
+ class SetHeadMode(_message.Message):
42
+ __slots__ = ("mode", "modes")
43
+ class Mode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
44
+ __slots__ = ()
45
+ ENABLE: _ClassVar[SetHeadMode.Mode]
46
+ DISABLE: _ClassVar[SetHeadMode.Mode]
47
+ ENABLE: SetHeadMode.Mode
48
+ DISABLE: SetHeadMode.Mode
49
+ MODE_FIELD_NUMBER: _ClassVar[int]
50
+ MODES_FIELD_NUMBER: _ClassVar[int]
51
+ mode: SetHeadMode.Mode
52
+ modes: _containers.RepeatedScalarFieldContainer[SetHeadMode.Mode]
53
+ def __init__(self, mode: _Optional[_Union[SetHeadMode.Mode, str]] = ..., modes: _Optional[_Iterable[_Union[SetHeadMode.Mode, str]]] = ...) -> None: ...
54
+
55
+ class SetEstop(_message.Message):
56
+ __slots__ = ("enable",)
57
+ ENABLE_FIELD_NUMBER: _ClassVar[int]
58
+ enable: bool
59
+ def __init__(self, enable: bool = ...) -> None: ...
60
+
61
+ class ClearError(_message.Message):
62
+ __slots__ = ("component",)
63
+ class Component(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
64
+ __slots__ = ()
65
+ LEFT_ARM: _ClassVar[ClearError.Component]
66
+ RIGHT_ARM: _ClassVar[ClearError.Component]
67
+ HEAD: _ClassVar[ClearError.Component]
68
+ CHASSIS: _ClassVar[ClearError.Component]
69
+ LEFT_ARM: ClearError.Component
70
+ RIGHT_ARM: ClearError.Component
71
+ HEAD: ClearError.Component
72
+ CHASSIS: ClearError.Component
73
+ COMPONENT_FIELD_NUMBER: _ClassVar[int]
74
+ component: ClearError.Component
75
+ def __init__(self, component: _Optional[_Union[ClearError.Component, str]] = ...) -> None: ...
76
+
77
+ class RebootComponent(_message.Message):
78
+ __slots__ = ("component",)
79
+ class Component(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
80
+ __slots__ = ()
81
+ ARM: _ClassVar[RebootComponent.Component]
82
+ TORSO: _ClassVar[RebootComponent.Component]
83
+ CHASSIS: _ClassVar[RebootComponent.Component]
84
+ ARM: RebootComponent.Component
85
+ TORSO: RebootComponent.Component
86
+ CHASSIS: RebootComponent.Component
87
+ COMPONENT_FIELD_NUMBER: _ClassVar[int]
88
+ component: RebootComponent.Component
89
+ def __init__(self, component: _Optional[_Union[RebootComponent.Component, str]] = ...) -> None: ...
90
+
91
+ class FirmwareVersion(_message.Message):
92
+ __slots__ = ("hardware_version", "software_version", "compile_time", "main_hash", "sub_hash")
93
+ HARDWARE_VERSION_FIELD_NUMBER: _ClassVar[int]
94
+ SOFTWARE_VERSION_FIELD_NUMBER: _ClassVar[int]
95
+ COMPILE_TIME_FIELD_NUMBER: _ClassVar[int]
96
+ MAIN_HASH_FIELD_NUMBER: _ClassVar[int]
97
+ SUB_HASH_FIELD_NUMBER: _ClassVar[int]
98
+ hardware_version: int
99
+ software_version: int
100
+ compile_time: int
101
+ main_hash: str
102
+ sub_hash: str
103
+ def __init__(self, hardware_version: _Optional[int] = ..., software_version: _Optional[int] = ..., compile_time: _Optional[int] = ..., main_hash: _Optional[str] = ..., sub_hash: _Optional[str] = ...) -> None: ...
104
+
105
+ class SoftwareVersion(_message.Message):
106
+ __slots__ = ("firmware_version",)
107
+ class FirmwareVersionEntry(_message.Message):
108
+ __slots__ = ("key", "value")
109
+ KEY_FIELD_NUMBER: _ClassVar[int]
110
+ VALUE_FIELD_NUMBER: _ClassVar[int]
111
+ key: str
112
+ value: FirmwareVersion
113
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[FirmwareVersion, _Mapping]] = ...) -> None: ...
114
+ FIRMWARE_VERSION_FIELD_NUMBER: _ClassVar[int]
115
+ firmware_version: _containers.MessageMap[str, FirmwareVersion]
116
+ def __init__(self, firmware_version: _Optional[_Mapping[str, FirmwareVersion]] = ...) -> None: ...
117
+
118
+ class SingleComponentState(_message.Message):
119
+ __slots__ = ("connected", "enabled", "error_state", "error_code")
120
+ CONNECTED_FIELD_NUMBER: _ClassVar[int]
121
+ ENABLED_FIELD_NUMBER: _ClassVar[int]
122
+ ERROR_STATE_FIELD_NUMBER: _ClassVar[int]
123
+ ERROR_CODE_FIELD_NUMBER: _ClassVar[int]
124
+ connected: bool
125
+ enabled: ComponentStatus
126
+ error_state: ComponentStatus
127
+ error_code: str
128
+ def __init__(self, connected: bool = ..., enabled: _Optional[_Union[ComponentStatus, str]] = ..., error_state: _Optional[_Union[ComponentStatus, str]] = ..., error_code: _Optional[str] = ...) -> None: ...
129
+
130
+ class ComponentStates(_message.Message):
131
+ __slots__ = ("states",)
132
+ class StatesEntry(_message.Message):
133
+ __slots__ = ("key", "value")
134
+ KEY_FIELD_NUMBER: _ClassVar[int]
135
+ VALUE_FIELD_NUMBER: _ClassVar[int]
136
+ key: str
137
+ value: SingleComponentState
138
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[SingleComponentState, _Mapping]] = ...) -> None: ...
139
+ STATES_FIELD_NUMBER: _ClassVar[int]
140
+ states: _containers.MessageMap[str, SingleComponentState]
141
+ def __init__(self, states: _Optional[_Mapping[str, SingleComponentState]] = ...) -> None: ...
142
+
143
+ class NTPRequest(_message.Message):
144
+ __slots__ = ("client_send_time_ns", "sample_count", "sample_index")
145
+ CLIENT_SEND_TIME_NS_FIELD_NUMBER: _ClassVar[int]
146
+ SAMPLE_COUNT_FIELD_NUMBER: _ClassVar[int]
147
+ SAMPLE_INDEX_FIELD_NUMBER: _ClassVar[int]
148
+ client_send_time_ns: int
149
+ sample_count: int
150
+ sample_index: int
151
+ def __init__(self, client_send_time_ns: _Optional[int] = ..., sample_count: _Optional[int] = ..., sample_index: _Optional[int] = ...) -> None: ...
152
+
153
+ class NTPResponse(_message.Message):
154
+ __slots__ = ("client_send_time_ns", "server_receive_time_ns", "server_send_time_ns", "sample_index", "total_samples")
155
+ CLIENT_SEND_TIME_NS_FIELD_NUMBER: _ClassVar[int]
156
+ SERVER_RECEIVE_TIME_NS_FIELD_NUMBER: _ClassVar[int]
157
+ SERVER_SEND_TIME_NS_FIELD_NUMBER: _ClassVar[int]
158
+ SAMPLE_INDEX_FIELD_NUMBER: _ClassVar[int]
159
+ TOTAL_SAMPLES_FIELD_NUMBER: _ClassVar[int]
160
+ client_send_time_ns: int
161
+ server_receive_time_ns: int
162
+ server_send_time_ns: int
163
+ sample_index: int
164
+ total_samples: int
165
+ def __init__(self, client_send_time_ns: _Optional[int] = ..., server_receive_time_ns: _Optional[int] = ..., server_send_time_ns: _Optional[int] = ..., sample_index: _Optional[int] = ..., total_samples: _Optional[int] = ...) -> None: ...
@@ -0,0 +1,60 @@
1
+ from google.protobuf.internal import containers as _containers
2
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
3
+ from google.protobuf import descriptor as _descriptor
4
+ from google.protobuf import message as _message
5
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
6
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
7
+
8
+ DESCRIPTOR: _descriptor.FileDescriptor
9
+
10
+ class RGBImage(_message.Message):
11
+ __slots__ = ("type", "height", "width", "data", "timestamp_ns", "encoding")
12
+ class ImageType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
13
+ __slots__ = ()
14
+ RGB: _ClassVar[RGBImage.ImageType]
15
+ GRAYSCALE: _ClassVar[RGBImage.ImageType]
16
+ RGB: RGBImage.ImageType
17
+ GRAYSCALE: RGBImage.ImageType
18
+ TYPE_FIELD_NUMBER: _ClassVar[int]
19
+ HEIGHT_FIELD_NUMBER: _ClassVar[int]
20
+ WIDTH_FIELD_NUMBER: _ClassVar[int]
21
+ DATA_FIELD_NUMBER: _ClassVar[int]
22
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
23
+ ENCODING_FIELD_NUMBER: _ClassVar[int]
24
+ type: RGBImage.ImageType
25
+ height: int
26
+ width: int
27
+ data: bytes
28
+ timestamp_ns: int
29
+ encoding: str
30
+ def __init__(self, type: _Optional[_Union[RGBImage.ImageType, str]] = ..., height: _Optional[int] = ..., width: _Optional[int] = ..., data: _Optional[bytes] = ..., timestamp_ns: _Optional[int] = ..., encoding: _Optional[str] = ...) -> None: ...
31
+
32
+ class DepthImage(_message.Message):
33
+ __slots__ = ("height", "width", "scale", "data", "timestamp_ns", "encoding")
34
+ HEIGHT_FIELD_NUMBER: _ClassVar[int]
35
+ WIDTH_FIELD_NUMBER: _ClassVar[int]
36
+ SCALE_FIELD_NUMBER: _ClassVar[int]
37
+ DATA_FIELD_NUMBER: _ClassVar[int]
38
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
39
+ ENCODING_FIELD_NUMBER: _ClassVar[int]
40
+ height: int
41
+ width: int
42
+ scale: float
43
+ data: bytes
44
+ timestamp_ns: int
45
+ encoding: str
46
+ def __init__(self, height: _Optional[int] = ..., width: _Optional[int] = ..., scale: _Optional[float] = ..., data: _Optional[bytes] = ..., timestamp_ns: _Optional[int] = ..., encoding: _Optional[str] = ...) -> None: ...
47
+
48
+ class Image(_message.Message):
49
+ __slots__ = ("rgb", "depth")
50
+ RGB_FIELD_NUMBER: _ClassVar[int]
51
+ DEPTH_FIELD_NUMBER: _ClassVar[int]
52
+ rgb: RGBImage
53
+ depth: DepthImage
54
+ def __init__(self, rgb: _Optional[_Union[RGBImage, _Mapping]] = ..., depth: _Optional[_Union[DepthImage, _Mapping]] = ...) -> None: ...
55
+
56
+ class ImageBatch(_message.Message):
57
+ __slots__ = ("images",)
58
+ IMAGES_FIELD_NUMBER: _ClassVar[int]
59
+ images: _containers.RepeatedCompositeFieldContainer[Image]
60
+ def __init__(self, images: _Optional[_Iterable[_Union[Image, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,27 @@
1
+ from google.protobuf.internal import containers as _containers
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import message as _message
4
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
5
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
6
+
7
+ DESCRIPTOR: _descriptor.FileDescriptor
8
+
9
+ class IMUData(_message.Message):
10
+ __slots__ = ("acc", "gyro", "quat", "mag", "timestamp_ns")
11
+ ACC_FIELD_NUMBER: _ClassVar[int]
12
+ GYRO_FIELD_NUMBER: _ClassVar[int]
13
+ QUAT_FIELD_NUMBER: _ClassVar[int]
14
+ MAG_FIELD_NUMBER: _ClassVar[int]
15
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
16
+ acc: _containers.RepeatedScalarFieldContainer[float]
17
+ gyro: _containers.RepeatedScalarFieldContainer[float]
18
+ quat: _containers.RepeatedScalarFieldContainer[float]
19
+ mag: _containers.RepeatedScalarFieldContainer[float]
20
+ timestamp_ns: int
21
+ def __init__(self, acc: _Optional[_Iterable[float]] = ..., gyro: _Optional[_Iterable[float]] = ..., quat: _Optional[_Iterable[float]] = ..., mag: _Optional[_Iterable[float]] = ..., timestamp_ns: _Optional[int] = ...) -> None: ...
22
+
23
+ class IMUBatch(_message.Message):
24
+ __slots__ = ("samples",)
25
+ SAMPLES_FIELD_NUMBER: _ClassVar[int]
26
+ samples: _containers.RepeatedCompositeFieldContainer[IMUData]
27
+ def __init__(self, samples: _Optional[_Iterable[_Union[IMUData, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,39 @@
1
+ from google.protobuf.internal import containers as _containers
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import message as _message
4
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
5
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
6
+
7
+ DESCRIPTOR: _descriptor.FileDescriptor
8
+
9
+ class LidarScan2D(_message.Message):
10
+ __slots__ = ("ranges", "angles", "qualities", "timestamp_ns", "angle_min", "angle_max", "angle_increment", "time_increment", "scan_time", "range_min", "range_max")
11
+ RANGES_FIELD_NUMBER: _ClassVar[int]
12
+ ANGLES_FIELD_NUMBER: _ClassVar[int]
13
+ QUALITIES_FIELD_NUMBER: _ClassVar[int]
14
+ TIMESTAMP_NS_FIELD_NUMBER: _ClassVar[int]
15
+ ANGLE_MIN_FIELD_NUMBER: _ClassVar[int]
16
+ ANGLE_MAX_FIELD_NUMBER: _ClassVar[int]
17
+ ANGLE_INCREMENT_FIELD_NUMBER: _ClassVar[int]
18
+ TIME_INCREMENT_FIELD_NUMBER: _ClassVar[int]
19
+ SCAN_TIME_FIELD_NUMBER: _ClassVar[int]
20
+ RANGE_MIN_FIELD_NUMBER: _ClassVar[int]
21
+ RANGE_MAX_FIELD_NUMBER: _ClassVar[int]
22
+ ranges: _containers.RepeatedScalarFieldContainer[float]
23
+ angles: _containers.RepeatedScalarFieldContainer[float]
24
+ qualities: _containers.RepeatedScalarFieldContainer[int]
25
+ timestamp_ns: int
26
+ angle_min: float
27
+ angle_max: float
28
+ angle_increment: float
29
+ time_increment: float
30
+ scan_time: float
31
+ range_min: float
32
+ range_max: float
33
+ def __init__(self, ranges: _Optional[_Iterable[float]] = ..., angles: _Optional[_Iterable[float]] = ..., qualities: _Optional[_Iterable[int]] = ..., timestamp_ns: _Optional[int] = ..., angle_min: _Optional[float] = ..., angle_max: _Optional[float] = ..., angle_increment: _Optional[float] = ..., time_increment: _Optional[float] = ..., scan_time: _Optional[float] = ..., range_min: _Optional[float] = ..., range_max: _Optional[float] = ...) -> None: ...
34
+
35
+ class LidarBatch(_message.Message):
36
+ __slots__ = ("scans",)
37
+ SCANS_FIELD_NUMBER: _ClassVar[int]
38
+ scans: _containers.RepeatedCompositeFieldContainer[LidarScan2D]
39
+ def __init__(self, scans: _Optional[_Iterable[_Union[LidarScan2D, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,54 @@
1
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import message as _message
4
+ from collections.abc import Mapping as _Mapping
5
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
6
+
7
+ DESCRIPTOR: _descriptor.FileDescriptor
8
+
9
+ class BoardType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
10
+ __slots__ = ()
11
+ BROADCAST: _ClassVar[BoardType]
12
+ SOC: _ClassVar[BoardType]
13
+ ARM: _ClassVar[BoardType]
14
+ TORSO: _ClassVar[BoardType]
15
+ CHASSIS: _ClassVar[BoardType]
16
+ BROADCAST: BoardType
17
+ SOC: BoardType
18
+ ARM: BoardType
19
+ TORSO: BoardType
20
+ CHASSIS: BoardType
21
+
22
+ class FirmwareVersion(_message.Message):
23
+ __slots__ = ("hardware_version", "software_version", "compile_time", "main_hash", "sub_hash")
24
+ HARDWARE_VERSION_FIELD_NUMBER: _ClassVar[int]
25
+ SOFTWARE_VERSION_FIELD_NUMBER: _ClassVar[int]
26
+ COMPILE_TIME_FIELD_NUMBER: _ClassVar[int]
27
+ MAIN_HASH_FIELD_NUMBER: _ClassVar[int]
28
+ SUB_HASH_FIELD_NUMBER: _ClassVar[int]
29
+ hardware_version: int
30
+ software_version: int
31
+ compile_time: int
32
+ main_hash: str
33
+ sub_hash: str
34
+ def __init__(self, hardware_version: _Optional[int] = ..., software_version: _Optional[int] = ..., compile_time: _Optional[int] = ..., main_hash: _Optional[str] = ..., sub_hash: _Optional[str] = ...) -> None: ...
35
+
36
+ class UpdateQuery(_message.Message):
37
+ __slots__ = ("board", "packet_bytes")
38
+ BOARD_FIELD_NUMBER: _ClassVar[int]
39
+ PACKET_BYTES_FIELD_NUMBER: _ClassVar[int]
40
+ board: BoardType
41
+ packet_bytes: bytes
42
+ def __init__(self, board: _Optional[_Union[BoardType, str]] = ..., packet_bytes: _Optional[bytes] = ...) -> None: ...
43
+
44
+ class UpdateReply(_message.Message):
45
+ __slots__ = ("board", "success", "old_version", "new_version")
46
+ BOARD_FIELD_NUMBER: _ClassVar[int]
47
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
48
+ OLD_VERSION_FIELD_NUMBER: _ClassVar[int]
49
+ NEW_VERSION_FIELD_NUMBER: _ClassVar[int]
50
+ board: BoardType
51
+ success: bool
52
+ old_version: FirmwareVersion
53
+ new_version: FirmwareVersion
54
+ def __init__(self, board: _Optional[_Union[BoardType, str]] = ..., success: bool = ..., old_version: _Optional[_Union[FirmwareVersion, _Mapping]] = ..., new_version: _Optional[_Union[FirmwareVersion, _Mapping]] = ...) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dexcomm
3
- Version: 0.1.7
3
+ Version: 0.1.9
4
4
  Summary: Communication library using Zenoh with ROS-like functionality
5
5
  Author-email: Dexmate <contact@dexmate.ai>
6
6
  Maintainer-email: Dexmate <contact@dexmate.ai>
@@ -33,12 +33,10 @@ License-File: LICENSE
33
33
  Requires-Dist: eclipse-zenoh>=1.5.0
34
34
  Requires-Dist: numpy>=1.20.0
35
35
  Requires-Dist: loguru>=0.6.0
36
- Requires-Dist: protobuf>=6.31.1
36
+ Requires-Dist: protobuf>=6.32.1
37
37
  Provides-Extra: image
38
38
  Requires-Dist: opencv-python>=4.5.0; extra == "image"
39
39
  Provides-Extra: fast
40
- Requires-Dist: lz4>=4.0.0; extra == "fast"
41
- Requires-Dist: zstandard>=0.18.0; extra == "fast"
42
40
  Requires-Dist: PyTurboJPEG>=1.6.0; extra == "fast"
43
41
  Provides-Extra: yaml
44
42
  Requires-Dist: PyYAML>=6.0; extra == "yaml"
@@ -0,0 +1,15 @@
1
+ dexcomm.cp313-win_amd64.pyd,sha256=zVWsWOPahdag6qONADNHSvVkkT4z1ljwlOGa8Frd1zk,1315328
2
+ dexcomm.pyi,sha256=RcmkbCx3dnXhLsZVm8b96tdU1sgrcr4LU7hz76I4_W0,3572
3
+ dexcomm/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ dexcomm/serialization/protobuf/control_msg_pb2.pyi,sha256=Q_x2JF9r5n-NGgzHjK7cQUtGly67gNeYyxW4QsN8w44,8878
5
+ dexcomm/serialization/protobuf/control_query_pb2.pyi,sha256=2sP15LttgofviPiDHFoEL2jvHFD09WMuK495luIPa0E,7749
6
+ dexcomm/serialization/protobuf/image_pb2.pyi,sha256=xfELb-TQcJ_Kl6HhoFU0adRBYy2F-spPL0k0j14LefQ,2742
7
+ dexcomm/serialization/protobuf/imu_pb2.pyi,sha256=EsXcUSQfhAvBqyo2QucZJrgUX72pZc-urGrxxcJ2_tY,1434
8
+ dexcomm/serialization/protobuf/lidar2d_pb2.pyi,sha256=77hQycxjoSxqnLwolSS4nrkqTCn_B-GA1ynhfH_6QH8,2175
9
+ dexcomm/serialization/protobuf/soc_internal_pb2.pyi,sha256=OJbjqM5VLxmByJjpT-Gm0Qsfa88sh4L3jI6B7xGtIL4,2385
10
+ dexcomm-0.1.9.dist-info/licenses/LICENSE,sha256=qbcPJZWsafz-NJrAz2J_cFCricFk2DFSsCUqs3ELtM8,31929
11
+ dexcomm.build/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
12
+ dexcomm-0.1.9.dist-info/METADATA,sha256=IvFgSWCEJ5HWI6vjmj7SBNSNyLKK4DqEvGX4SCfwP7o,10155
13
+ dexcomm-0.1.9.dist-info/WHEEL,sha256=d2WxmbmKvrk_r3HG4mLQwWrSKN0GIQyQAUifCoiSmIg,97
14
+ dexcomm-0.1.9.dist-info/top_level.txt,sha256=HxOSa-2r1LWUCgaGigQiF4n_u5VjFQpIFg9bGcggaqQ,8
15
+ dexcomm-0.1.9.dist-info/RECORD,,
Binary file
dexcomm.pyi CHANGED
@@ -8,9 +8,10 @@ from dexcomm.core.constants import UNSET
8
8
  from dexcomm.patterns import CommunicationManager, Node, PublisherManager, ServiceConfig, ServiceManager, SubscriberManager, TopicConfig
9
9
  from dexcomm.serialization import deserialize_auto, deserialize_depth, deserialize_image, deserialize_numpy, serialize_auto, serialize_depth, serialize_image, serialize_numpy
10
10
  from dexcomm.utils import RateLimiter
11
+ from pathlib import Path
11
12
 
12
- __version__ = '0.1.0'
13
- __all__ = ['ZenohConfig', 'SessionManager', 'get_session', 'get_session_manager', 'cleanup_session', 'get_active_topics', 'get_active_services', 'env_vars', 'UNSET', 'Publisher', 'Subscriber', 'Service', 'ServiceClient', 'RateLimitedPublisher', 'BufferedSubscriber', 'publish', 'subscribe', 'call_service', 'serve', 'get_latest', 'wait_for_message', 'Node', 'PublisherManager', 'SubscriberManager', 'ServiceManager', 'CommunicationManager', 'TopicConfig', 'ServiceConfig', 'serialize_auto', 'deserialize_auto', 'serialize_numpy', 'deserialize_numpy', 'serialize_image', 'deserialize_image', 'serialize_depth', 'deserialize_depth', 'serialize_protobuf', 'deserialize_protobuf', 'RateLimiter', '__version__']
13
+ LIB_PATH = Path(__file__).parent
14
+ __all__ = ['ZenohConfig', 'SessionManager', 'get_session', 'get_session_manager', 'cleanup_session', 'get_active_topics', 'get_active_services', 'env_vars', 'UNSET', 'Publisher', 'Subscriber', 'Service', 'ServiceClient', 'RateLimitedPublisher', 'BufferedSubscriber', 'publish', 'subscribe', 'call_service', 'serve', 'get_latest', 'wait_for_message', 'Node', 'PublisherManager', 'SubscriberManager', 'ServiceManager', 'CommunicationManager', 'TopicConfig', 'ServiceConfig', 'serialize_auto', 'deserialize_auto', 'serialize_numpy', 'deserialize_numpy', 'serialize_image', 'deserialize_image', 'serialize_depth', 'deserialize_depth', 'serialize_protobuf', 'deserialize_protobuf', 'RateLimiter', '__version__', 'LIB_PATH']
14
15
 
15
16
  __name__ = ...
16
17
 
@@ -52,9 +53,9 @@ import dexcomm.serialization.serialize_image
52
53
  import dexcomm.serialization.deserialize_image
53
54
  import dexcomm.serialization.serialize_depth
54
55
  import dexcomm.serialization.deserialize_depth
55
- import dexcomm.utils.RateLimiter
56
56
  import pathlib
57
57
  import pathlib.Path
58
+ import dexcomm.utils.RateLimiter
58
59
  import typing
59
60
  import threading
60
61
  import time
@@ -73,8 +74,10 @@ import enum
73
74
  import numpy
74
75
  import pickle
75
76
  import numpy.typing
76
- import dexcomm.serialization.protobuf
77
77
  import turbojpeg
78
78
  import cv2
79
79
  import zlib
80
+ import google
81
+ import google.protobuf
82
+ import google.protobuf.internal
80
83
  import statistics
@@ -1,9 +0,0 @@
1
- dexcomm.cp313-win_amd64.pyd,sha256=A-gBQHeV_B5KS5gh4wEt4QUF66o-6NP5sj-09iptPmA,1247232
2
- dexcomm.pyi,sha256=He5E_w3Sa8-0vF47QoenPF25Q2dd71qJikK3y511tpQ,3493
3
- dexcomm/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- dexcomm-0.1.7.dist-info/licenses/LICENSE,sha256=qbcPJZWsafz-NJrAz2J_cFCricFk2DFSsCUqs3ELtM8,31929
5
- dexcomm.build/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
6
- dexcomm-0.1.7.dist-info/METADATA,sha256=XL01jgFrHeVfQUxrAIrpHJovk90ZeRwYI8zI-yhluBk,10250
7
- dexcomm-0.1.7.dist-info/WHEEL,sha256=d2WxmbmKvrk_r3HG4mLQwWrSKN0GIQyQAUifCoiSmIg,97
8
- dexcomm-0.1.7.dist-info/top_level.txt,sha256=HxOSa-2r1LWUCgaGigQiF4n_u5VjFQpIFg9bGcggaqQ,8
9
- dexcomm-0.1.7.dist-info/RECORD,,