haixuanTao
3e5a3d7d91
Fix NON_INPUT_EVENT
1 year ago
haixuanTao
acf4d0cb44
Fix typo
1 year ago
haixuanTao
aefb8f02ab
Rewrite the scheduler to avoid overhead
1 year ago
haixuanTao
90752a0bb7
Make the non input event a priority when collecting next event
1 year ago
haixuanTao
f77f400da2
Add a scheduler to the node api to manage fairness among inputs
1 year ago
haixuanTao
411436d3bb
Replace drop token mecanism on closed channel by leaving drop token active on the receiver side and closing sender side shared memory with a lower timeout
1 year ago
haixuanTao
a2d651446b
Dropping remaining drop token on exit so that the origin node does not get stuck
1 year ago
haixuanTao
45a7ee9437
Reduce `eventstream` timeout as it is linked to Python cleanup race condition that is cleaning up node first and then python arrow reference.
1 year ago
haixuanTao
7487ce17c3
Fix clippy warning
1 year ago
haixuanTao
5ccdbc593e
Moving queue size and making node flume queue bigger
1 year ago
Haixuan Xavier Tao
4c317e171f
Change macOS CI runner to `macos-13` ( #729 )
The CI currently fails because the macos-12 runners are deprecated. This
PR upgrades the runners to `macos-13` to fix the build errors.
1 year ago
Philipp Oppermann
cb6e84343f
Change macOS CI runner to `macos-13`
macos-12 is deprecated
1 year ago
Haixuan Xavier Tao
c5c1222ff8
Add yuv420 encoding to opencv-video-capture ( #725 )
YUV420 encoding has the advantage to be slightly more compressed when
comparing to a raw images.
Ex: raw size in RGB (480, 640, 3) -> size in YUV420 (720, 640)
This will enable encoding in av1.
1 year ago
Haixuan Xavier Tao
48e2efe977
feat: Add Dora-kit car Control in node-hub ( #715 )
Added a control node for chongyoucar to receive text commands, 'forward'
'left' 'right' 'backward' and 'stop' to control the car's forward
turning and backward stopping etc.
Author: Leon <echo_ai@foxmail.com>
1 year ago
haixuanTao
051404481b
Add YUV420 encoding
1 year ago
Haixuan Xavier Tao
6b941f2cfb
Add pyarrow cuda zero copy helper ( #722 )
This PR adds couple of python function to enable CUDA zero copy IPC.
This reduces the overhead when sharing CUDA tensor between nodes.
This uses pyarrow cuda IPC functionality to be able to be
cross-language.
1 year ago
haixuanTao
279c9a94ed
Adding an interactive demo
1 year ago
Leon
12b6ae3b99
feat: change name
Author: Leon <echo_ai@foxmail.com>
1 year ago
haixuanTao
6614504a07
Adding better documentation
1 year ago
haixuanTao
b6a278b785
Make example name less confusing
1 year ago
Leon
89f1138a96
feat: Added detailed information about errors
Author: Leon <echo_ai@foxmail.com>
1 year ago
Leon
c9fd9d79b7
Merge branch 'dora-rs:main' into main
1 year ago
haixuanTao
b0e6a160fe
Small renaming of buffer to ipc buffer to make ipc buffer more explicit
1 year ago
haixuanTao
6d964361dd
Add typos config to ignore DeviceNDArray word
1 year ago
Haixuan Xavier Tao
206be36ebd
Add an error when a node fails when using dora run ( #719 )
Currently, when using `dora run` a node failure does not raise any
warning nor error.
This makes errors silent.
This PR makes the error explicit.
1 year ago
haixuanTao
2d12358855
Add an example on how to use cuda buffer
1 year ago
haixuanTao
c4b1e32124
Improve naming convention
1 year ago
haixuanTao
0d007609f5
Adding pyarrow cuda helper function to support zero copy GPU
1 year ago
haixuanTao
5f76ea3321
Add an error when a node fails when using dora run by printing
send_log_message
1 year ago
Haixuan Xavier Tao
84ec3549ad
Add stdout logging ( #720 )
This makes `dora run` output each node stdout as an info stdout.
This makes it easier to do realtime debugging.
It also avoids having to have to add `flush=True` within python to see
logs.
1 year ago
Haixuan Xavier Tao
846693c814
Make list an available type for metadata ( #721 )
This enables to pass PyList and PyTuple as a metadata value.
1 year ago
haixuanTao
bd9fc7d084
Make list an available type for metadata
1 year ago
Leon
d0495a7993
fix: Accepts an array of six f64's
- six f64 array [x, y, z, rx, ry, rz]
only used x and rz
see https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html
Author: Leon <echo_ai@foxmail.com>
1 year ago
Leon
3b977fe4e4
Merge branch 'main' of github.com:LyonRust/dora
1 year ago
Leon
0502539ed1
refactor: change datas to data
1 year ago
Leon
e9404e1ac8
Merge branch 'dora-rs:main' into main
1 year ago
Leon
337b66eb6c
feat: Accepts two parameters, one is an array of three f64's and the other is an array of six f64's
- three f64 array [x, w, speed]
- six f64 array [x, y, z, rx, ry, rz] only used x, rz, and the speed is default 0.2
https://docs.ros.org/en/noetic/api/geometry_msgs/html/msg/Twist.html
Author: Leon <echo_ai@foxmail.com>
1 year ago
haixuanTao
f7619c23f1
Adding an info log on stdout for each node
1 year ago
haixuanTao
f33da2fcdc
Add an error when a node fails when using dora run
1 year ago
Haixuan Xavier Tao
37b07167f6
Make node hub CI/CD cross architecture ( #716 )
Make node hub CI/CD cross architecture to make it super easy to have
prebuilt rust package on both x86 but also arm64 and armv7
1 year ago
haixuanTao
7ba6c099e6
Use maturin to test cross compilation
1 year ago
haixuanTao
b5ad87925d
Adding cross architecture check within the node hub
1 year ago
haixuanTao
831eab2077
Make node hub CI/CD cross architecture
1 year ago
Haixuan Xavier Tao
5d6bf35354
Make node hub CI/CD cross platform ( #714 )
Make node hub cross platform for rust node to be available on multiple
platform without having to be built from source.
1 year ago
Leon
ce0629a42f
feat: Add Chongyoucar Control in node-hub
Added a control node for chongyoucar to receive text commands, 'forward' 'left' 'right' 'backward' and 'stop' to control the car's forward turning and backward stopping etc.
Author: Leon <echo_ai@foxmail.com>
1 year ago
haixuanTao
f447dec976
Add zig dependency to maturin
1 year ago
haixuanTao
277c5d933b
Remove patchelf dependencies
1 year ago
haixuanTao
45814db032
Fix fi in publish script
1 year ago
haixuanTao
734a72cfbc
updrade node hub macos CI/CD to macos 14 arm64
1 year ago
haixuanTao
2da6375e85
Set default ubuntu to 22 and set zig for cross linux compatibility
1 year ago