haixuanTao
dd10bbf85c
Bump `pyo3` version to `0.22`
1 year ago
Philipp Oppermann
8e8034d103
Set `repository` metadata for all our crates
1 year ago
Philipp Oppermann
6a3dcecf33
Refactor: Move message definitions to `dora-message` crate
First step towards versioning the message definitions indepedently.
1 year ago
Philipp Oppermann
9cec8df1cc
Delay dropping of `DoraNode` in Python until all event data is freed
When dropping the `DoraNode`, it waits for the remaining drop tokens. This only works if all the dora events were already dropped before. With the Python GC, this is not guaranteed as some events might still be live on the heap (the user might even use them later). In such cases, we waited until we ran into a timeout, which resulted in very long exit times (see https://github.com/dora-rs/dora/issues/598 ).
This commit fixes this issue by adding a reference-counted copy of the `DoraNode` and `EventStream` to every event given to Python. This way, we can ensure that the underlying `DoraNode` is only dropped after the last event reference has been freed.
1 year ago
haixuanTao
2b1299deba
Derive Node special method
1 year ago
EricLBuehler
233192f41e
Update deps
1 year ago
Eric Buehler
61d12274fb
Merge pull request #1 from haixuanTao/improve-eric-pyo3-derive-special-method
Add derivation fo python ros2 bridge
1 year ago
EricLBuehler
65b71810b6
Merge remote-tracking branch 'upstream/main' into proc_macro_dir
1 year ago
haixuanTao
42dcb07237
Add derivation fo rpython ros2 bridge
1 year ago
haixuanTao
c4263e6c8f
Remove bound from definition of .to_py_dict
1 year ago
haixuanTao
ae9aea24e0
update stubs definition
1 year ago
haixuanTao
b2eace277d
Transform custom PyEvent into standard python dictionary for easier debuggability.
Currently having a custom PyEvent make debugging very hard as fields are hidden within the class PyEvent that is defined within Rust Code.
Python user are getting really confused about this obscure class.
This PR transforms the class into a standard python dictionary.
1 year ago
EricLBuehler
8ff6d39a84
Use the new crate
1 year ago
Haixuan Xavier Tao
f34cbe2ffc
Merge pull request #517 from dora-rs/detached-python-process
Run dynamic node
1 year ago
haixuanTao
7d3a5de1c5
Make rust flexible logic and make sure to always use env variables DORA_NODE_CONFIG if it exists.
This remove the complexity of having to rename the node id when used within a yaml configuration.
1 year ago
EricLBuehler
19e26358b6
Rename and use multiple_pymethods trait
1 year ago
EricLBuehler
c40204d4d6
Format
1 year ago
EricLBuehler
5995ac28de
PoC in Node
1 year ago
Haixuan Xavier Tao
d7be6a49e3
Merge pull request #472 from Michael-J-Ward/pyo3-bounds
Update Pyo3 bounds
1 year ago
haixuanTao
3ad402ce45
Add dynamic node event loop and dynamic node connection
1 year ago
Michael-J-Ward
bf088fc1eb
lint: fix clippy lint
1 year ago
Michael-J-Ward
25884b658a
update pyo3 to new bounds api
1 year ago
EricLBuehler
6c62246e53
Fix typos
1 year ago
haixuantao
0f530906aa
Add dataflow_id getter in python
1 year ago
haixuanTao
ef3f087682
Adding additional ros2 bridge warnings in the documentation
1 year ago
haixuanTao
bdf90f7219
Fix positional argument typing
1 year ago
haixuanTao
9f80dbf0c4
Adding warnings in the docsctring
1 year ago
haixuanTao
597ee41428
Improving typing by adding dora prefix
1 year ago
haixuanTao
102198a25c
Add wildcard import in case an import is missing
1 year ago
haixuanTao
d044cf87be
Fixing DoraStatus return error
1 year ago
haixuanTao
97c2dabdd7
reintroduce `DoraStatus`
1 year ago
haixuanTao
e790af385e
Using `__init__.py` as without using it
1 year ago
haixuanTao
4adc0889ba
Adding python IDE typing
1 year ago
haixuanTao
7be257ec4e
Bump to 0.3.3
1 year ago
haixuanTao
75f281a8c6
Bump to version 0.3.3-rc1
1 year ago
haixuanTao
0725620eab
Simplyfing the metrics functionality by using meter provider instead of
the global meter.
2 years ago
haixuanTao
2faed0e828
Bump to v0.3.2
2 years ago
haixuanTao
0985bd4f9b
Make first positional argument optional
Bump 0.3.2-rc2
2 years ago
haixuanTao
cb74ee1aee
Bump to `0.3.2-rc1`
2 years ago
haixuanTao
afae2bdece
Bump to version 0.3.1
2 years ago
haixuanTao
dec4b0f87d
Bump to 0.3.1-rc6
2 years ago
haixuanTao
6c6d1c643e
bump to version v0.3.1-rc5 to test CD
2 years ago
Haixuan Xavier Tao
e35ed75e87
Merge pull request #398 from dora-rs/fix-window-path-error
Fix window path error
2 years ago
haixuanTao
eab690d199
Revert to 0.3.0
2 years ago
haixuanTao
c2a887edf3
Nump to version 0.3.1-rc4
2 years ago
haixuanTao
0718c35265
Fix CD errors and try to release new version
2 years ago
haixuanTao
68ecf89b61
Remove explicit statement to `python3`and resolve it instead
2 years ago
haixuanTao
58a0853380
Change cargo version
2 years ago
haixuanTao
0cd5281325
Use duration instead of f32 secs
2 years ago
haixuanTao
b1b69693b7
Adding a timeout method to not block indefinetely
2 years ago