renovate[bot]
e2e9f18db6
Update dependencies
1 year ago
Haixuan Xavier Tao
38fb28f9e6
Fix alignment of atomics in shared memory communication channel ( #612 )
Fixes https://github.com/dora-rs/dora/issues/610
1 year ago
Philipp Oppermann
b20cef6c37
Fix: Use correct pointer for `align_offset` call
1 year ago
Haixuan Xavier Tao
d4e629ef24
Remove dynamic node from pending nodes before starting a dataflow ( #606 )
This PR makes a dataflow start independently from dynamic nodes.
Previously, all nodes wait for each other to be ready before starting
the dataflow, this makes it possible to have synchronised messages, and
avoid feeling up queues before the nodes is even ready to receive
message. I think in the case of dynamic node, we don't want to wait for
users to spawn the nodes to start the dataflow.
This creates the possibility to specify some nodes that can "tap" on the
dataflow as well as remove the risk of having race condition if dynamic
nodes needs to be specified in a specific order.
One recent example is RJ wanting to have multiple nodes within one
python process and this was not possible due to nodes being pending.
1 year ago
Philipp Oppermann
350f15fce4
Fix alignment of atomics in shared memory communication channel
1 year ago
Haixuan Xavier Tao
090df9fa46
Update dependencies ( #608 )
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [clap](https://togithub.com/clap-rs/clap ) | dependencies | patch |
`4.5.11` -> `4.5.13` |
| [dunce](https://lib.rs/crates/dunce )
([source](https://gitlab.com/kornelski/dunce )) | dev-dependencies |
patch | `1.0.4` -> `1.0.5` |
| [regex](https://togithub.com/rust-lang/regex ) | dependencies | patch |
`1.10.5` -> `1.10.6` |
| [ros2-client](https://atostek.com/en/products/rustdds/ )
([source](https://togithub.com/jhelovuo/ros2-client )) | dependencies |
patch | `0.7.2` -> `0.7.3` |
| [rustdds](https://atostek.com/en/products/rustdds/ )
([source](https://togithub.com/jhelovuo/RustDDS )) | dependencies | patch
| `0.10.1` -> `0.10.3` |
| [safer-ffi](https://togithub.com/getditto/safer_ffi ) | dependencies |
patch | `0.1.9` -> `0.1.12` |
| [serde_json](https://togithub.com/serde-rs/json ) | dependencies |
patch | `1.0.121` -> `1.0.122` |
---
### Release Notes
<details>
<summary>clap-rs/clap (clap)</summary>
###
[`v4.5.13`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4513---2024-07-31 )
[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.5.12...v4.5.13 )
##### Fixes
- *(derive)* Improve error message when `#[flatten]`ing an optional
`#[group(skip)]`
- *(help)* Properly wrap long subcommand descriptions in help
###
[`v4.5.12`](https://togithub.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4512---2024-07-31 )
[Compare
Source](https://togithub.com/clap-rs/clap/compare/v4.5.11...v4.5.12 )
</details>
<details>
<summary>kornelski/dunce (dunce)</summary>
###
[`v1.0.5`](https://gitlab.com/kornelski/dunce/compare/v1.0.4...v1.0.5 )
[Compare
Source](https://gitlab.com/kornelski/dunce/compare/v1.0.4...v1.0.5 )
</details>
<details>
<summary>rust-lang/regex (regex)</summary>
###
[`v1.10.6`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1106-2024-08-02 )
[Compare
Source](https://togithub.com/rust-lang/regex/compare/1.10.5...1.10.6 )
\===================
This is a new patch release with a fix for the `unstable` crate feature
that
enables `std::str::Pattern` trait integration.
Bug fixes:
- [BUG #​1219](https://togithub.com/rust-lang/regex/pull/1219 ):
Fix the `Pattern` trait implementation as a result of nightly API
breakage.
</details>
<details>
<summary>jhelovuo/ros2-client (ros2-client)</summary>
###
[`v0.7.3`](https://togithub.com/jhelovuo/ros2-client/compare/0.7.2...0.7.3 )
[Compare
Source](https://togithub.com/jhelovuo/ros2-client/compare/0.7.2...0.7.3 )
</details>
<details>
<summary>jhelovuo/RustDDS (rustdds)</summary>
###
[`v0.10.3`](https://togithub.com/jhelovuo/RustDDS/compare/0.10.2...0.10.3 )
[Compare
Source](https://togithub.com/jhelovuo/RustDDS/compare/0.10.2...0.10.3 )
###
[`v0.10.2`](https://togithub.com/jhelovuo/RustDDS/compare/0.10.1...0.10.2 )
[Compare
Source](https://togithub.com/jhelovuo/RustDDS/compare/0.10.1...0.10.2 )
</details>
<details>
<summary>getditto/safer_ffi (safer-ffi)</summary>
###
[`v0.1.12`](https://togithub.com/getditto/safer_ffi/releases/tag/v0.1.12 )
[Compare
Source](https://togithub.com/getditto/safer_ffi/compare/v0.1.11...v0.1.12 )
#### What's Changed
- Fix `Bytes`' `ReprC` impl, as `vtable` is not necessarily aligned by
[@​p-avital](https://togithub.com/p-avital ) in
[https://github.com/getditto/safer_ffi/pull/235 ](https://togithub.com/getditto/safer_ffi/pull/235 )
**Full Changelog**:
https://github.com/getditto/safer_ffi/compare/v0.1.11...v0.1.12
###
[`v0.1.11`](https://togithub.com/getditto/safer_ffi/releases/tag/v0.1.11 )
[Compare
Source](https://togithub.com/getditto/safer_ffi/compare/v0.1.10...v0.1.11 )
#### What's Changed
- Upgrade stabby to 36.1.1 by
[@​p-avital](https://togithub.com/p-avital ) in
[https://github.com/getditto/safer_ffi/pull/234 ](https://togithub.com/getditto/safer_ffi/pull/234 )
**Full Changelog**:
https://github.com/getditto/safer_ffi/compare/v0.1.10...v0.1.11
###
[`v0.1.10`](https://togithub.com/getditto/safer_ffi/releases/tag/v0.1.10 )
[Compare
Source](https://togithub.com/getditto/safer_ffi/compare/v0.1.9...v0.1.10 )
#### What's Changed
- Add ability to emit type aliases to C headers by
[@​danielhenrymantilla](https://togithub.com/danielhenrymantilla )
in
[https://github.com/getditto/safer_ffi/pull/228 ](https://togithub.com/getditto/safer_ffi/pull/228 )
- Fix FFI typedef pattern not supporting generics by
[@​danielhenrymantilla](https://togithub.com/danielhenrymantilla )
in
[https://github.com/getditto/safer_ffi/pull/229 ](https://togithub.com/getditto/safer_ffi/pull/229 )
- 🙈 Exclude examples/point from workspace by
[@​phatblat](https://togithub.com/phatblat ) in
[https://github.com/getditto/safer_ffi/pull/212 ](https://togithub.com/getditto/safer_ffi/pull/212 )
- `raw_const` addition to `#[ffi_export]`-ed `const`s for SWIG compat by
[@​danielhenrymantilla](https://togithub.com/danielhenrymantilla )
in
[https://github.com/getditto/safer_ffi/pull/230 ](https://togithub.com/getditto/safer_ffi/pull/230 )
- \[⚠️ technically breaking] Add interning to `Bytes`, reducing the need
for allocations when slices are small. by
[@​p-avital](https://togithub.com/p-avital ) in
[https://github.com/getditto/safer_ffi/pull/231 ](https://togithub.com/getditto/safer_ffi/pull/231 )
- Despite this being a technically breaking change, API-wise (`Bytes :
From<&'static [u8]>` rather than `From<&'any [u8]>`), and ABI-wise
(`Bytes`' `.vtable` pointer can now be an ill-alligned odd address
representing the bit-tagging of its now added inlined-bytes
representation), both of these cases are small enough, and `0.1.9` has
been out for enough of a short time, not to warrant a major bump.
`0.1.9` will be yanked in a couple weeks.
- Add convenience release scripts by
[@​danielhenrymantilla](https://togithub.com/danielhenrymantilla )
in
[https://github.com/getditto/safer_ffi/pull/232 ](https://togithub.com/getditto/safer_ffi/pull/232 )
**Full Changelog**:
https://github.com/getditto/safer_ffi/compare/v0.1.9...v0.1.10
</details>
<details>
<summary>serde-rs/json (serde_json)</summary>
###
[`v1.0.122`](https://togithub.com/serde-rs/json/releases/tag/v1.0.122 )
[Compare
Source](https://togithub.com/serde-rs/json/compare/v1.0.121...v1.0.122 )
- Support using `json!` in no-std crates
([#​1166](https://togithub.com/serde-rs/json/issues/1166 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on monday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the
[repository job log](https://developer.mend.io/github/dora-rs/dora ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
1 year ago
renovate[bot]
863014f3cd
Update dependencies
1 year ago
Philipp Oppermann
bd3f8fafd5
Merge pull request #604 from dora-rs/add-ci-cd-to-node-hub
Add a CI/CD for the node-hub
1 year ago
Philipp Oppermann
9e7f85f723
Merge pull request #605 from dora-rs/renovate/dependencies
Update dependencies
1 year ago
haixuanTao
26a4664d0c
Remove dynamic node from pending nodes as users might want to have the flexibility to spawn them independently from starting the dataflow. also, dynamic nodes might create race condition when several are sequential
1 year ago
renovate[bot]
4d79e3ac2d
Update dependencies
1 year ago
haixuanTao
167089012f
Limit publish CI to release event
1 year ago
haixuanTao
0e8a47e8b5
Setup pytest folder architecture
1 year ago
haixuanTao
ee95b7be04
Adding install for linting and testing
1 year ago
haixuanTao
54e1acd82f
Replace poetry install with pip install
it seems to fail for certain python package such as numpy
1 year ago
haixuanTao
9f72a0acd1
fix python to a lower version to not build from source
1 year ago
haixuanTao
dfdca94967
Add a CI/CD for the node-hub and fix isort
1 year ago
Philipp Oppermann
c6f44a7da2
Merge pull request #567 from starlitxiling/main
Ros2-bridge action attempt
1 year ago
Haixuan Xavier Tao
42f1c7eb31
Merge pull request #569 from dora-rs/nodes_hub
Nodes hub to store and reuse commonly used node
1 year ago
haixuanTao
dc0d2f2515
Refactor rerun example by using metadata from both image and bbox definition to make our input more generalistic.
Rewrite README documentation to reflect metadata changes
1 year ago
haixuanTao
2927e84d3d
Use dora metadata to reduce complexity as well as enable zero-copy image transfering
1 year ago
haixuanTao
b8d2e5560f
Fix `pylint` warning
1 year ago
haixuanTao
7bcb132075
Retrieve `open_telemetry_context` from metadata parameters.
1 year ago
haixuanTao
bc68de3bbd
Change `MetadataParameters` into a `BTreeMap` to allow user defined metadata as well as enable more flexibility in managing metadata
1 year ago
haixuanTao
00d3732a90
remove unused input and output from dynamic node
1 year ago
haixuanTao
f89b171bbc
remove editable mode as it is not supported on older pip version
1 year ago
haixuanTao
e52834b5c4
Reformat folder so that they can be used in edit mode as well as use encoding to support multiple encoding
1 year ago
haixuanTao
8878807acd
Adding disk freeing on CLI Test
fix typo
1 year ago
haixuanTao
8e30506bd3
Simplify example node
1 year ago
Enzo Le Van
c77c461ffb
Update examples/python-dataflow/README.md
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
1 year ago
Hennzau
0b0e9aeeff
Fix typos, CI and README
1 year ago
Hennzau
699f460c3b
fix pip get path + fix CI for dataflow.yml
1 year ago
Hennzau
2b40fe63b4
Separate a simple dataflow for CI (without yolo) and a yolo dataflow
1 year ago
Hennzau
05caf8fbfd
nodes_hub -> node-hub + opencv-plot and opencv-video-capture
.idea
.idea
README.md and better outputs/inputs
README.md and ultralytics-yolo
fix queue_size and dynamic
README.md
Fix CI
Fix CI
Fix CI
Fix CI
Fix CI
Fix CI
Fix CI
Fix CI
Fix CI
1 year ago
haixuanTao
b0df85c6ec
simplifying examples to use node hub
1 year ago
haixuanTao
c0ba3f221a
Adding python node hub
1 year ago
haixuanTao
92eaed1c91
Move `rerun` and `record` into nodes_hub
1 year ago
Haixuan Xavier Tao
442fda5b3d
Merge pull request #600 from dora-rs/add-install-script
Add install script
1 year ago
starlitxiling
52e7066caa
Merge pull request #1 from phil-opp/starlitxiling/main
Fix for action PR: Return data from `downcast` function
1 year ago
Philipp Oppermann
762f67f61f
Fix: Return data from downcast function
1 year ago
Philipp Oppermann
7dbda333ce
Fix downcast name
1 year ago
Haixuan Xavier Tao
16ef29ab80
Merge pull request #601 from dora-rs/delay-node-drop
Delay dropping of `DoraNode` in Python until all event data is freed
1 year ago
haixuanTao
20ae6f21a3
Change default values as well as remove windows from available target
1 year ago
Philipp Oppermann
328fd7ecf6
Fix accidental infinite self-recursion
1 year ago
Philipp Oppermann
3239f9ab4d
Merge pull request #602 from dora-rs/renovate/dependencies
Update dependencies
1 year ago
renovate[bot]
a830c4236e
Update dependencies
1 year ago
Philipp Oppermann
542afe2916
Merge pull request #578 from dora-rs/hot-fix-pip-release
Add-armv7-musleabihf-prebuilt-release
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
Philipp Oppermann
b05a6948d3
Merge pull request #596 from dora-rs/test-pip-release-on-ci
Test pip release creation as part of normal CI
1 year ago
haixuanTao
85ab181da7
Add guide in `install.sh` to update $PATH
1 year ago