-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README, fix build badge, add demo readme
- Loading branch information
1 parent
8866ac3
commit 651dbc1
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[![Build Status](https://dev.azure.com/kopernikusauto/AVP/_apis/build/status/open-source/ecal-rs%20release?branchName=main)](https://dev.azure.com/kopernikusauto/AVP/_build/latest?definitionId=3&branchName=main) | ||
|
||
|
||
[![Build and Test](https://github.com/kopernikusauto/ecal-rs/actions/workflows/build.yml/badge.svg)](https://github.com/kopernikusauto/ecal-rs/actions/workflows/build.yml) | ||
# ecal-rs | ||
|
||
[![Build and Test](https://github.com/kopernikusauto/ecal-rs/actions/workflows/check.yml/badge.svg)](https://github.com/kopernikusauto/ecal-rs/actions/workflows/check.yml) | ||
|
||
# ecal-rs | ||
Rust bindings to the Continental eCAL API | ||
Rust bindings to the Continental eCAL API. | ||
|
||
A build environment is defined in the [devcontainer.json](.devcontainer/devcontainer.json) file, and can be loaded in VS Code (docs describing that process are [here](https://code.visualstudio.com/docs/devcontainers/containers)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Demo | ||
|
||
A simple demo in which two agents communicate with each other. | ||
|
||
To test it, run the demo twice (in two windows) at the same time: | ||
|
||
# `ping` running in window 1: | ||
$ RUST_LOG=info cargo run --release | ||
[2023-04-04T09:32:48Z INFO ecal] eCAL initiailized as 'kcal_ping'. | ||
[2023-04-04T09:32:49Z INFO ecal_ping_demo] Ping 1 | ||
[2023-04-04T09:32:49Z INFO ecal_ping_demo] Pong 2 | ||
[2023-04-04T09:32:50Z INFO ecal_ping_demo] Ping 2 | ||
[2023-04-04T09:32:50Z INFO ecal_ping_demo] Pong 3 | ||
|
||
# `pong` running simultaneously in window 2: | ||
$ RUST_LOG=info cargo run --release -- --pong | ||
[2023-04-04T09:32:48Z INFO ecal] eCAL initiailized as 'kcal_ping'. | ||
[2023-04-04T09:32:48Z INFO ecal_ping_demo] Ping 1 | ||
[2023-04-04T09:32:49Z INFO ecal_ping_demo] Ping 1 | ||
[2023-04-04T09:32:49Z INFO ecal_ping_demo] Ping 1 | ||
[2023-04-04T09:32:49Z INFO ecal_ping_demo] Pong 2 |