-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change project version, add CHANGELOG and README
- Loading branch information
Showing
4 changed files
with
62 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# CHANGELOG | ||
|
||
Release Versions: | ||
|
||
- [0.1.0](#010) | ||
|
||
## 0.1.0 | ||
|
||
A set of drivers, protocols and libraries for communicating between software and hardware devices. | ||
|
||
### Features | ||
|
||
**ZMQ Interface** | ||
|
||
A network interface with ZMQ subscribers and publishers, implemented as a library in both C++ and Python. The library | ||
defines the message structures using `state_representation` types and the encoding / decoding of the messages | ||
using `clproto`. |
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,2 +1,44 @@ | ||
# network-interfaces | ||
|
||
A repository of drivers, protocols and libraries for communicating between software and hardware devices. | ||
|
||
## Usage | ||
|
||
Use the C++ projects in one of the two following ways: | ||
|
||
- Include the `include` directory of the network interface library in another `CMakeLists.txt` with | ||
```cmake | ||
include_directories(path/to/network-interfaces/cpp/include) | ||
``` | ||
- Install the network interface library to `/usr/local/include` with | ||
```console | ||
cd path/to/network-interfaces/cpp && mkdir build && cd build && cmake .. && make install | ||
``` | ||
and use it in another `CMakeLists.txt` with | ||
```cmake | ||
find_library(network_interfaces REQUIRED) | ||
``` | ||
|
||
For Python, install the library simply with | ||
|
||
```console | ||
cd path/to/network-interfaces/python && pip3 install ./ | ||
``` | ||
|
||
## Development | ||
|
||
To build and run a Docker container as an SSH toolchain server for remote development with | ||
|
||
```console | ||
bash build.sh | ||
aica-docker server aica-technology/network-interfaces -u ros2 -p 8010 | ||
``` | ||
|
||
Note: This requires the installation of the `aica-docker` scripts | ||
from [here](https://github.com/aica-technology/docker-images). | ||
|
||
Additionally, to run the tests without an SSH toolchain server, build the image with the `--test` option: | ||
|
||
```console | ||
bash build.sh --test | ||
``` |
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
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