haixuanTao
31aea47cf3
Fix typo in json schema links
2 years ago
Philipp Oppermann
ef214d1689
Merge pull request #497 from dora-rs/json-schemas
Json schemas for VSCode YAML Support
2 years ago
haixuanTao
6e7826aee2
Fix typo in documentation
2 years ago
haixuanTao
73ff6a08e1
Add schemars skip on unstable features
2 years ago
haixuanTao
1b35346f24
Add documentation about additional property fix
2 years ago
haixuanTao
558fa14907
Add a readme in getting started with VSCode YAML Support
2 years ago
haixuanTao
d15bb61b1f
Adding documentation to the yaml description
2 years ago
haixuanTao
83779045e6
Add schema generator
2 years ago
haixuanTao
8a210637f9
Adding `schemars` to generate json schema for vscode yaml autocompletion
2 years ago
Haixuan Xavier Tao
d6f13d08bd
Merge pull request #493 from dora-rs/python-ide-linting
Adding python IDE typing
2 years ago
haixuanTao
b9f67a2855
Add grace duration and kill process
2 years ago
haixuanTao
4adc0889ba
Adding python IDE typing
2 years ago
Michael-J-Ward
dfe298eb1e
lint: fix clippy lints
2 years ago
Philipp Oppermann
01707fc14d
Fix: Use `peer_addr` of incoming daemon register request for listen socket
We are not interested in the local bind address of the daemon. Instead, we want to use the IP address under which the daemon is available from other machines.
This should also avoids the issue that connecting to 0.0.0.0 is not possible on Windows (we want to use 0.0.0.0 as default bind address).
2 years ago
haixuanTao
15af539729
Adding customizing `conda_env` within Python operator
This commit makes it possible to specify the conda env that we want to use in
a specific operator.
```yaml
- id: robot
operator:
python:
source: ../operators/robot.py
conda_env: robomaster
```
This will call:
```bash
conda run -n robomaster python -c "import dora; dora.start_runtime()"
```
2 years ago
Philipp Oppermann
14bb4fbfb7
Merge pull request #429 from dora-rs/out_dir
Send runs artefacts into a dedicated `out` folder
2 years ago
haixuanTao
f0db125499
Use `Uuid::v7` to have chronological Uuid
2 years ago
haixuanTao
b32a7e4924
Make `send_stdout_as` fail if there is more than one entry for a runtime node
2 years ago
haixuanTao
aa81da0142
Add possibility to send stdout for operators and add warnings when there is multiple operators
2 years ago
Philipp Oppermann
daa694ad98
Add new `send_stdout_as` key for capturing stdout of custom nodes
2 years ago
Philipp Oppermann
e701eb4182
Fix: enable sync module of tokio
2 years ago
Philipp Oppermann
cb69a033f0
Wait until `DestroyResult` is sent before exiting dora-daemon
Tokio background tasks are canceled when the program exits, so we need some additional synchronization to ensure that the `DestroyResult` is actually sent out.
2 years ago
haixuanTao
0568656ef0
Remove unused dependencies for faster compile time
2 years ago
haixuanTao
afcfec81f1
Fix path by using ; instead of :
2 years ago
haixuanTao
ea1259da20
Bump which version
2 years ago
haixuanTao
82f2794916
Only use python for windows and python3 for linux
2 years ago
haixuanTao
20c02089b6
Fix Python CI on windows
2 years ago
haixuanTao
46e56da469
Uses python 3.10 that fixes an error on windows: https://github.com/actions/runner-images/issues/2690
2 years ago
haixuanTao
5616986272
Run windows program using cmd.exe to wrapped_args) to instantiate powershell. This is required for python environment
2 years ago
haixuanTao
0a60246038
Make `run` a helper function and use OsStr to search for path
2 years ago
haixuanTao
68ecf89b61
Remove explicit statement to `python3`and resolve it instead
2 years ago
haixuanTao
7aa1d615dd
Remove envapsulation of operator when there is only one operator
2 years ago
Philipp Oppermann
ad3f0482ac
Avoid alignment errors by aligning raw data on deseralization
Ensures that all raw data has at least an alignment of 128.
2 years ago
Philipp Oppermann
6140681ab9
Rename and reexport `Data` enums
Makes the distinction between raw data and data messages clearer.
2 years ago
haixuanTao
eb515c7755
Removing lifetime to the Metadata struct
3 years ago
haixuanTao
504910c350
Use `serde_bytes` to serialize `Vec<u8>`
Seializing Vec<u8> by default iterate over each element instead of copying
the byte array.
See: https://github.com/rust-lang/rust/issues/31844
3 years ago
haixuanTao
2f0300076f
Search for binaries in path when validating a dataflow
3 years ago
Philipp Oppermann
4da34d82d9
Merge branch 'main' into event-timestamps
3 years ago
Philipp Oppermann
984ee364e4
Fill in timestamps when sending events from node to daemon
3 years ago
Haixuan Xavier Tao
2e9108e894
Merge pull request #301 from dora-rs/pass-dataflow-to-nodes
Make dataflow descriptor available to Python nodes and operators
3 years ago
Philipp Oppermann
0bf31b750e
WIP: Add `uhlc` timestamps to all events and update HLC clocks
3 years ago
Philipp Oppermann
8a439c3411
Pass dataflow descriptor to Rust nodes via API
3 years ago
Philipp Oppermann
dff0d82f52
Fix adding of `.exe` extension
The `with_extension` method returns a new path, it does not modify the existing path.
3 years ago
Philipp Oppermann
868bee5897
Wait for dataflow finish on `dora stop`
3 years ago
Philipp Oppermann
3bb665ae00
Pass dataflow result to CLI
3 years ago
haixuanTao
2c52891438
Place documentation as docstring
3 years ago
Philipp Oppermann
97bc9d0f92
Merge branch 'main' into heartbeat
3 years ago
Philipp Oppermann
520fa352da
Merge branch 'main' into node-errors-before-init
3 years ago
Philipp Oppermann
7d646509c2
Replace watchdog by asynchronous heartbeat messages
The previous watchdog requests required waiting for a reply, which could slow down the system under load and also lead to false errors on slower systems (e.g. the CI). Because of this, this commit replaces the watchdog requests with asynchronous heartbeat messages, which don't require replies. Instead, we record the last heartbeat timestamp whenever we receive a heartbeat message. We then periodically check the time since the last received heartbeat message and consider the connection closed if too much time has passed.
3 years ago
haixuanTao
664e8d48ba
Minor refactoring
3 years ago