dora-rs 0.3.4rc2__cp37-abi3-macosx_11_0_arm64.whl → 0.3.5rc1__cp37-abi3-macosx_11_0_arm64.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 dora-rs might be problematic. Click here for more details.
dora/__init__.py
CHANGED
dora/__init__.pyi
CHANGED
|
@@ -22,7 +22,7 @@ from dora import Node
|
|
|
22
22
|
node = Node()
|
|
23
23
|
```"""
|
|
24
24
|
|
|
25
|
-
def __init__(self) -> None:
|
|
25
|
+
def __init__(self, node_id: str=None) -> None:
|
|
26
26
|
"""The custom node API lets you integrate `dora` into your application.
|
|
27
27
|
It allows you to retrieve input and send output in any fashion you want.
|
|
28
28
|
|
|
@@ -39,11 +39,14 @@ node = Node()
|
|
|
39
39
|
|
|
40
40
|
This method returns the parsed dataflow YAML file."""
|
|
41
41
|
|
|
42
|
+
def dataflow_id(self) -> str:
|
|
43
|
+
"""Returns the dataflow id."""
|
|
44
|
+
|
|
42
45
|
def merge_external_events(self, subscription: dora.Ros2Subscription) -> None:
|
|
43
46
|
"""Merge an external event stream with dora main loop.
|
|
44
47
|
This currently only work with ROS2."""
|
|
45
48
|
|
|
46
|
-
def next(self, timeout: float=None) ->
|
|
49
|
+
def next(self, timeout: float=None) -> dict:
|
|
47
50
|
"""`.next()` gives you the next input that the node has received.
|
|
48
51
|
It blocks until the next event becomes available.
|
|
49
52
|
You can use timeout in seconds to return if no input is available.
|
|
@@ -85,15 +88,6 @@ node.send_output("string", b"string", {"open_telemetry_context": "7632e76"})
|
|
|
85
88
|
def __next__(self) -> typing.Any:
|
|
86
89
|
"""Implement next(self)."""
|
|
87
90
|
|
|
88
|
-
@typing.final
|
|
89
|
-
class PyEvent:
|
|
90
|
-
"""Dora Event"""
|
|
91
|
-
|
|
92
|
-
def inner(self):...
|
|
93
|
-
|
|
94
|
-
def __getitem__(self, key: typing.Any) -> typing.Any:
|
|
95
|
-
"""Return self[key]."""
|
|
96
|
-
|
|
97
91
|
@typing.final
|
|
98
92
|
class Ros2Context:
|
|
99
93
|
"""ROS2 Context holding all messages definition for receiving and sending messages to ROS2.
|
|
@@ -271,7 +265,7 @@ at any point without it being considered a breaking change."""
|
|
|
271
265
|
def publish(self, data: pyarrow.Array) -> None:
|
|
272
266
|
"""Publish a message into ROS2 topic.
|
|
273
267
|
|
|
274
|
-
Remember that the data format should respect the structure of the ROS2 message
|
|
268
|
+
Remember that the data format should respect the structure of the ROS2 message using an arrow Structure.
|
|
275
269
|
|
|
276
270
|
ex:
|
|
277
271
|
```python
|
dora/dora.abi3.so
CHANGED
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
dora_rs-0.3.5rc1.dist-info/METADATA,sha256=m00pWYgT-Grhj7zbhDpjcy1ZBEhNDzI2DU41HW-orPM,590
|
|
2
|
+
dora_rs-0.3.5rc1.dist-info/WHEEL,sha256=Vn7Y8op-PHMoWV3FQ2Wiehn4YzF8gP__jAx7rF9_dhA,102
|
|
3
|
+
dora/__init__.pyi,sha256=MZfafEGo1F_Al2RLrD36_cGRfFgOYY8Qa1_14bFYcf0,8342
|
|
4
|
+
dora/__init__.py,sha256=cmZ5rB848800jqu5QCP0kvipTpNHwhvknzVVrfWR5-Q,710
|
|
5
|
+
dora/dora.abi3.so,sha256=sK72JxAhopalXGWJ15n2VNDFEI4JPG7GPUmo-o8ilmk,20872176
|
|
6
|
+
dora_rs-0.3.5rc1.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
dora_rs-0.3.4rc2.dist-info/METADATA,sha256=QtQ3-N3SRSflth27u5IZWnoexcJv3DV9BzaBPYRxazM,590
|
|
2
|
-
dora_rs-0.3.4rc2.dist-info/WHEEL,sha256=mr5kArZT1sHmSyQKqoXcetQKMw5B1J8SlpkwcrQCMKs,102
|
|
3
|
-
dora/__init__.pyi,sha256=-Kcqo8fkO-iF9dL7YtOSUOPtLOtDoXPNLR6j0yvjkJ4,8425
|
|
4
|
-
dora/__init__.py,sha256=ahNFD4VpQ0OBOKmgfqz9ZFUvmroLHDVwYzpz2se9a0g,723
|
|
5
|
-
dora/dora.abi3.so,sha256=zaGQZ77p7jfcS7qO99ne91HAbaTHV3K5kmAPlrNFRFI,20351584
|
|
6
|
-
dora_rs-0.3.4rc2.dist-info/RECORD,,
|